Age | Commit message (Collapse) | Author |
|
Aligned latest i.MX6 ICS 3.0.15 kernel to pick up latest media changes for
Camera support.
Signed-off-by: Jeff Kudrick <jeff.kudrick@freescale.com>
|
|
Aligned latest i.MX6 ICS 3.0.15 kernel changes for media processing and
Camera support.
Signed-off-by: Jeff Kudrick <jeff.kudrick@freescale.com>
|
|
Work around the issue that software reset will get card detection
circuit stop working.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
MMA8451 is very noisy even when idle as it has no hysteresis on
the input. Increased the input Fuzz to 128.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
This is a fix for the fishing master app stopping on a single
touch event. The fishing master app has another issue that it
dies on 2 touch events, which is an app implementation issue.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
This patch is just the re-revert of the commit:ENGR00182048
Disable the clock when the uart port is not used.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
These methods are invoked if the iMX uart is used in conjuction with kgdb during
early boot. In order to access the UART without the interrupts, the kernel uses
the basic polling methods for IO with the device. With these methods
implemented, it is now possible to enable kgdb during early boot over serial.
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
CC: Sascha Hauer <s.hauer@pengutronix.de>
CC: Fabio Estevam <festevam@gmail.com>
CC: Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
CC: linux-serial@vger.kernel.org
CC: Alan Cox <alan@linux.intel.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Factor out the uart save/restore functionality instead of
having the same code several times in the driver.
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
CC: Saleem Abdulrasool <compnerd@compnerd.org>
CC: Sascha Hauer <s.hauer@pengutronix.de>
CC: Fabio Estevam <festevam@gmail.com>
CC: Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
CC: linux-serial@vger.kernel.org
CC: Alan Cox <alan@linux.intel.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
This reverts commit a7d9c8864ab801920f6a630767656f6777a95de2.
This commit will break i.mx6dl boot up on SD board and hang at:
Bus freq driver loaded...
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
Disable the clock when the uart port is not used.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
Since the port->lock has already been hold when enter rx_interrupt,
and thus hold it on during handle_sysrq. We need check whether the
current console_write is for the sysrq message output or not and use
the correct lock mechanism.
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
In the cd_irq, we are resetting the SDHC controller but not
resetting the card. As per specification, if host driver resets the
controller, it should reset the card too. Removed the host reset
from cd_irq and enable multi-block transfer using ACMD23 instead of
ACMD12.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Remove the p1003 platform data as we do not need
it now.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
The touchscreen controller may have stale data, so read the
stale data from the controller on device wake.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Shutdown the DCDC5V supply on system shutdown to avoid LVDS
being ON after shutdown. Also disable the Audio AMP to avoid
noise after shutdown.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Shutdown the PWM on system shutdown to avoid LVDS backlight
being ON after shutdown.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
This is the initial Linux-3.0 kernel porting to iMX53 SMD
platform.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
This reverts commit b3399f3c4a3eb9a7699f2e76f6f195e36ff9eaba.
|
|
This reverts commit 2897d6961e17d1f2bed19c5101b4ecf0472637f7.
|
|
sdma: bd is bufferable dma buffer, interrupt handler can not get correct
data after sdma script updated. Which will cause there is no interrupt
after failed period number times in the interrupt handler.
This is a workaround.
Signed-off-by: b02247 <b02247@freescale.com>
|
|
sdma: bd is bufferable dma buffer, interrupt handler can not get correct
data after sdma script updated. Which will cause there is no interrupt
after failed period number times in the interrupt handler.
This is a workaround.
Signed-off-by: b02247 <b02247@freescale.com>
|
|
board's reset will not reset the modem power on gpio
reset the 3g modem at kernel boot up to make sure
3g modem at reset state in system up
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
We found some wired crash in the SLUB managed list, but it's too wired to fix.
Althrough we found almost all ARM platform using SLAB,
maybe it's because it's not very stable on ARM platform,
so we change to SLAB too.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
This reverts commit c0730e07456705269f3c9a4b0e625f7fd9ca375e.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
This reverts commit b49928de9c47839a681eae67513f37bc936372ea.
Conflicts:
arch/arm/mach-mx6/clock.c
arch/arm/mach-mx6/cpu_op-mx6.c
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
Stepan found:
CPU0 CPUn
_cpu_up()
__cpu_up()
boostrap()
notify_cpu_starting()
set_cpu_online()
while (!cpu_active())
cpu_relax()
<PREEMPT-out>
smp_call_function(.wait=1)
/* we find cpu_online() is true */
arch_send_call_function_ipi_mask()
/* wait-forever-more */
<PREEMPT-in>
local_irq_enable()
cpu_notify(CPU_ONLINE)
sched_cpu_active()
set_cpu_active()
Now the purpose of cpu_active is mostly with bringing down a cpu, where
we mark it !active to avoid the load-balancer from moving tasks to it
while we tear down the cpu. This is required because we only update the
sched_domain tree after we brought the cpu-down. And this is needed so
that some tasks can still run while we bring it down, we just don't want
new tasks to appear.
On cpu-up however the sched_domain tree doesn't yet include the new cpu,
so its invisible to the load-balancer, regardless of the active state.
So instead of setting the active state after we boot the new cpu (and
consequently having to wait for it before enabling interrupts) set the
cpu active before we set it online and avoid the whole mess.
Reported-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1323965362.18942.71.camel@twins
Signed-off-by: Ingo Molnar <mingo@elte.hu>
|
|
We can stall RCU processing on SMP platforms if a CPU sits in its idle
loop for a long time. This happens because we don't call irq_enter()
and irq_exit() around generic_smp_call_function_interrupt() and
friends. Add the necessary calls, and remove the one from within
ipi_timer(), so that they're all in a common place.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
|
- Increase RX BD size to 384 entrys from 16 entrys, and allocate
the enough DMA memory for buffer description.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
- Fix clock enable/disable match operation to avoid kernel
dump warning "clock enable/disable mismatch".
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
- Increase RX BD size to 384 entrys from 16 entrys, which
can reduce the overruns number in busy system.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
- Add NAPI methods.
NAPI can improve the performance of high-speed networking,
which can reduce the cpu loading of interrupt generate and
drop packets.
- Enet RX FIFO overruns number has been reduced by NAPI method.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
In ARIK, to prevent noise cause by false triggered burst, we reduce
the incr type to 4. and the change may cause bus_error because a
burst may unexpectly stop and thus an AHB bus error happens.
Reset HDMI Audio FIFO state to prevent AHB bus error.
Signed-off-by: Chen Liangjun <b36089@freescale.com>
|
|
Configure information for threshold and incr:
CHIP + CHANNEL THRESHOLD INCRTYPE
ARIK + 2 126 4
ARIK + 4,6,8 124 4
RIGEL + 2,4,6,8 128 8
Signed-off-by: Chen Liangjun <b36089@freescale.com>
|
|
update pixel clock name in HDMI Audio driver
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
For clk_enable implented on i.MX platform introduce spin lock, but in
SDHCI driver, it will call the clk_enable in interrupt contex if enable
LED class for SDHCI, it may cause the system crash.
Delete the SDHCI_USE_LED_CLASS flag and add it to Kconfig, which can be
restore if clock framework hasn't this limitation.
Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
|
|
Enable deferred resume for mmc block device,
only resume the sdhc bus when the first request
come after system resume from suspend.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
The real power key defined will mark the KEY_POWER down event
in the device events record as it's gpio is always low.
This impact the workarounded power key VOL-, and it's first
down event will be dropped.
So just remove the real power key define.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
The sensor configure was not correct. Changed the ov5640 sensor
config to fix the bug.
Signed-off-by: YangYonggang <b31664@freescale.com>
|
|
enable suspend counter driver by default.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
Add a misc driver to print suspend counter.
This driver not touch any common/core code,
only receive the broadcasts and print some logs.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
Using steam on/off to prevent sensor from no frame come out sometimes,
and gain calculation is used to help conquer green color when take picture
at QSXGA.
Also add QCIF resolution for 15/30 fps in this patch.
Signed-off-by: Yuxi Sun <b36102@freescale.com>
|
|
L2 cache clean is not necessary any more, already tested it on
Arik ARM2, Arik Sabre-SD and Rigel Sabre-SD board.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
For the standby mode, we force SOC enter STOP mode
and drop the VDDARM_IN and VDDSOC_IN to 0.9V, we need
to disable L1 and L2 cache and invalidate L1 cache when
system resume, as the L1 cache memory's power is dropped
during standby, need to do the invalidation before re-enable
it.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
This patch postpones pixel clock and its parent clock(if
the parent clock usecount is 1) disabling time point
until DC/DP/DI enable bits are cleared in IPU_CONF
register to prevent LVDS display channel starvation for
some special LVDS display video mode.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit cf82fa58406db4d3cb31f44b3fa48496a94a01ad)
|
|
Conflicts:
sound/soc/imx/Makefile
|
|
mx6x HDMI audio add IEC head optimization with C code
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
Restore fb_var_screeninfo when finishing video playback
Signed-off-by: Wayne Zou <b36644@freescale.com>
|
|
Remove GFP_DMA flag when alloc dma memory.
Signed-off-by: Wayne Zou <b36644@freescale.com>
|
|
V4L2: use copy_from/to_user() for user space pointer
Signed-off-by: Wayne Zou <b36644@freescale.com>
|
|
Reduce gpu kernel delay to improve driver performance
Signed-off-by: Xianzhong <b07117@freescale.com>
Acked-by: Lily Zhang
|