Age | Commit message (Collapse) | Author |
|
In some situations, we need vbus level which lower than vbus valid
as wakeup source, eg, at the OTG certification test, the valid bus
level for b device is from 4.0v to 6.0v.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Added drivers for fxas2100x, fxos8700 and mpl3115.
Signed-off-by: Haoran Wang <b50027@freescale.com>
|
|
Disable lcdif framebuffer to make sure epdc fb as fb0
Change buffer number for epdc fb to be 3, which aligned with android hal
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
The commit c01cdab21b1e3cc045f40f29ca0d9292d238ffda introduced a different
configuration for rotation case in PxP driver, that is, it requires the rotated
width and height value. Thus EPDC driver, the user of PxP driver should also
adjust accordingly.
Signed-off-by: Robby Cai <r63905@freescale.com>
(cherry picked from commit 390aa79dfd960ebb9b245c8ab9aa2c951a94cb78)
|
|
USB: gadget: mtp: Fix hang in ioctl(MTP_RECEIVE_FILE) for
WritePartialObject
In receive_file_work, we now queue reads with length rounded up to
max packet size rather than mtp_rx_req_len.
Otherwise the read request will never complete.
Bug: 12195339
Cherry-picked from 0373636d110d37aedfc5d71ea56af61f6bb3b65e
Mike Lockwood <lockwood@google.com>
Signed-off-by: Haoran Wang <b50027@freescale.com>
|
|
The output image area bounds check should be moved to
where the 'l', 't', 'w' and 'h' are finalized to avoid
the drect area beyond the maximum fb display area which
may cause overflow issue when calculating the PXP PS LRC
or ULC.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit cf63a1f27173b9eb94992926cb1a22895d6ced5e)
|
|
The FEC modules used on i.MX28 and newer have a register to tune the MDIO
output hold time that should be at least 10 ns. Up to now this value was not
explicitly set and so resulted in less hold time if the fec clock was
faster than 100 MHz.
This was noticed on an i.MX28 machine that uses an input clock of ~150
Mhz which resulted in unreliable communication with a Marvell switch.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
When the driver is removed (e.g. using unbind through sysfs), the
clocks get disabled twice, once on fec_enet_close and once on
fec_drv_remove. Since the clocks are enabled only once, this leads
to a warning:
WARNING: CPU: 0 PID: 402 at drivers/clk/clk.c:992 clk_core_disable+0x64/0x68()
Remove the call to fec_enet_clk_enable in fec_drv_remove to balance
the clock enable/disable calls again. This has been introduce by
e8fcfcd5684a ("net: fec: optimize the clock management to save power").
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
This patch initialises the fep->netdev pointer. This pointer was not
initialised at all, but is used in fec_enet_timeout_work and in some
error paths.
Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
The output channel support two planes YUV formats.
So the output UV buffer should also be configured
in this case.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit 39a6cdaaccc9a0878fbce639d5f3ec2e195e48b6)
|
|
Add 'NV21' format support in pxp-v3 driver to fix
some display issue in some test cases.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit ff96db37e1a5292eda8f6ad6d56bd625c350686c)
|
|
The output channel support two planes YUV formats.
So the output UV buffer should also be configured
in this case.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit 6b360c61ed3371827417ed534b425ec243ea4313)
|
|
Add 'NV21' format support in pxp-v2 driver to fix
some display issue in some test cases.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit 23f59ebcc967be026f2a6417ab03c345b8c926f8)
|
|
Currently we find that if a usdhc is choosed to boot system, then ROM
code will set the burst length enable bit of this usdhc as 0.
This will make performance drop a lot if this usdhc's burst length is
16. So this patch set back the burst_length_enable bit as 1, which is
the default value, and means burst length is enabled for INCR.
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
(cherry picked from commit 1e48e8cb56019a120a82bc112177eab4c85b9f21)
|
|
Correct the GPL license to v2, not V2. Otherwise
this driver is GPL-incompatible, and can't be make
as module.
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
(cherry picked from commit 9641a38dd3fcd8ca0126c7158e37507958b49c5c)
|
|
Add switch event for hdmi audio in sii902x
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
|
|
- remove the unused codes
- replace the C99 // comment style
- no functional change
Signed-off-by: Robby Cai <r63905@freescale.com>
(cherry picked from commit 7aa1a01b293786ef03a33e15882487b4d663af42)
|
|
remove the unused codes
There's no functional change.
Signed-off-by: Robby Cai <r63905@freescale.com>
(cherry picked from commit 24babf0e772877b82f137d2c4d04c507414a95d6)
|
|
This will cause meaningless CPU overhead by polling the card at backgroud
if the CD is broken.
Most board does not intend to use this function, so remove it.
Platform driver could add it for test if needed.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit 9418183f29da8478d7103944f97a24946b7849d4)
|
|
WiFi driver could call wifi_card_detect function to re-detect card,
this is required by some special WiFi cards like broadcom WiFi.
To use this function, a new property is introduced to indicate a wifi host.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit bb95c03f7c576cdf20367875c19764ebb3eea4b2)
|
|
The sync information which are used to config lcd timings
should be the same as the value in the dts file to avoid
incorrect information which maybe passed by user app through
fb ioctl.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit bfcefaca9e333c84b6be84652853a769e6468f78)
|
|
Add 'RGB15' format support for AS, PS and OUT channels
for some multimedia applications.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit 44b77612112d57ab54aabbb5d81e2df688646edd)
|
|
Porting some changes from pxp-v2 driver to fix some bugs
which have already been fixed in v2 driver.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit 22ae3b63eca3913ce0fb524e383cd2ca1d36a23e)
|
|
currently we set burst length from 8 to 16 in our usdhc driver, but
we find if the burst length is 16, the SD3.0 performance on
i.MX6Q-sabreauto and i.MX6QP-sabreauto board will drop a lot.
for TOSHIBA 16GB SDR104 card,
if burst length is 16, the peformance on these two boards is:
read: 19.4MB/s, write: 13.2MB/s
when burst length is 8, the performance on these two boards is:
read: 63MB/s, write: 25.4MB/s
other boards like i.MX6sl-evk, i.MX6sx-sdb and i.MX7D-12x12-arm2
has no this issue.
The root cause still not find on these two boards. So this patch
just change the burst length to 16 for i.MX7d, all i.MX6 series
will remain 8.
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
(cherry picked from commit bcb043082c14a65098a167624448715bbffa4a70)
|
|
Rather than using the streaming API, use the coherent allocator to
provide this memory, thereby eliminating cache flushing of it each
time we map and unmap it. This results in a 7.5% increase in
transfer speed with a UHS-1 card operating in 3.3v mode at a clock
of 49.5MHz.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Markus Pargmann <mpa@pengutronix.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
(cherry picked from commit d1e49f77d7c7b75fdc022e1d46c1549bbc91c5b7)
(cherry picked from commit 71b9094aa4598818f4d866c823e2815052e4a9e0)
|
|
parent on
On Freescale i.MX7D platform, all clocks operations, including enable/disable,
rate change and re-parent, requires its parent clock on.
Current clock core can not support it well.
This patch introduce a new flag CLK_SET_PARENT_ON to handle this special case
in clock core that enable its parent clock firstly for each operation and disable
it later after operation complete.
The most special case is for set_parent() operation which requires both parent,
old one and new one, to be enabled at the same time during the operation.
Acked-by: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com>
Signed-off-by: Dong Aisheng <b29396@freescale.com>
|
|
Fix the warning by dynamically allocating the buffer for 'pxp_conf'.
drivers/dma/pxp/pxp_device.c: In function 'pxp_ioc_config_chan':
drivers/dma/pxp/pxp_device.c:487:1: warning: the frame size of 1264 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Signed-off-by: Robby Cai <r63905@freescale.com>
|
|
Add a new entry for MX25L51245G QSPI NOR chip.
Signed-off-by: Han Xu <b45815@freescale.com>
|
|
When uart port (non-console port) in dma mode and use uart as remote wakeup
source, after resume back, the AWAKE bit is not cleared most of interrupts
are disabled. And then let system suspend state, system resume back immediately
without any wake up action. So we need to clear the AWAKE bit after resume
back in DMA mode.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
- refine the print info format, to make alignment with
m4 side.
Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
|
|
- enable sema4 on imx7d, and verified on imx7d mcc
pingpong tests.
Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
|
|
Add power lost check implementation for i.MX7D.
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <jun.li@freescale.com>
|
|
Support NAND on i.MX7D
Signed-off-by: Han Xu <b45815@freescale.com>
|
|
Random hang may occur if module clock gating is enabled for TX module,
The software workaround is to disable clock gating for the TX module
Date: Apr 01, 2015
Signed-off-by: Xianzhong <b07117@freescale.com>
(cherry picked from commit 3bc16575406c239c0ad37cad73d2d8aa1d223c79)
|
|
Remove early suspend/late resume in touch driver since it is been
removed in 3.14 kernel
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
Use transfer complete interrupt for the tail data instead of PIO read.
Some slave devices may not send data timely while checking rxfifo status, that means
some tail data may loss. TC interrupt ensure no any data lossing.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
Before, hardcode buswidth as 1byte while config dma channel. Correct it to
dynamically config per buswidth setting. This patch cherry-pick from v3.10.y
ccf74d50f7f85b6606d06a0245a72d22601ac9d8
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
The issue is caused by csi begin to work when ov5640 still
in unstable state.
Adjust ov5640 power up sequence:
-Enable ov5640 power when device probe.
-Remove ov5640 clock and power function from s_parm.
-Remove s_stream function.
-Remove regulator poweron/off from s_power function
and only keep clk_enable/disable function in s_power.
s_power will been called when v4l2 capture driver
open/close.
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
Add s_power subdev api in vl42 capture open and close function.
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
-Remove variable waiting_for_fb, add manually trigger interrupter
to support plugin interrupt is missed on some platform such as imx7D SDB.
-Remove stop probe code if device_reset failed to support
imx7D SDB.
-Remove interrupt bit check in ISR.
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
In a corner case: system suspend with usb device connected on OTG port, then
remove usb device and connect OTG port to PC, and then resume the system,
OTG cannot be enumrated by PC. Reason is there is no BSV irq generated after
resume, so b_sess_vld cannot be updated and otg fsm state keeps in b_idle state
with vbus on, this patch force a update of b_sess_vld flag according to OTGSC
BSV status.
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <jun.li@freescale.com>
|
|
add the pm mechanism for imx6qp pcie
- enlarge the delay after pme_turn_off is set, then l23
can be enterred.
- HW rework to use the dedicated gpio pin(gpio1_14) as
the perst and change the sequence of the perst.
- use the recommended deemp and swing configurations.
Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
|
|
add several quirk to distinguish different version of qspi module.
Signed-off-by: Han Xu <b45815@freescale.com>
|
|
Some code change for i.MX7D QSPI module.
1. Add specific devtype for i.MX7D.
2. Move get devtype data to early stage.
3. Fill the TXFIFO to 16 bytes to fix the HW related limitation.
Signed-off-by: Han Xu <b45815@freescale.com>
|
|
i.MX6qp contains ldb clock tree fixup.
This patch checks if we have the fixup or not according to the compatible
string and separates the clock tree handling logics.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
This patch adds PRE/PRG support for IPUv3 fb.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Conflicts:
drivers/video/mxc/mxc_ipuv3_fb.c
|
|
This patch adds PRE support.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
This patch adds PRG support.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
This patchs contains IPUv3 common driver change for adding PRE/PRG support.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
Since TSO has no frag list, the frag number is zero. Remove the frag number
check to fix kernel dump issue when SW TSO feature enable.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|