summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-12ENGR00236020-2 wm8962: hp/speaker switching afer resumeGary Zhang
implement headphone and speaker automatically switch even if headphone is plugin/out during suspend Signed-off-by: Gary Zhang <b13634@freescale.com>
2012-12-12ENGR00236020-1 ALSA: add calling of trigger in machine driverGary Zhang
soc_pcm_trigger() calls trigger functions of cpu_dai, codec_dai and platform, but the trigger function of machine is not called. add calling of trigger in machine driver in soc_pcm_trigger() Signed-off-by: Gary Zhang <b13634@freescale.com>
2012-12-12ENGR00235817 mx6: use SNVS LPGPR register to store boot mode value.Zhang Jiejing
After using POR reset, the content in SRC will be reset. See RM: 63.5.1.2.3 IPP_RESET_B(POR) Because POR reset will reset most of register in IC, so use SNVS_LP General Purpose Register (LPGPR) to store the boot mode value. Below copy from SNVS_BlockGuide.pdf: The SNVS_LP General Purpose Register provides a 32 bit read write register, which can be used by any application for retaining 32 bit data during a power-down mode This Patch will use [7,8] bits of this register. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2012-12-12ENGR00236499 ASRC: fix build warningChen Liangjun
Remove unused function "asrc_get_output_buffer_size()" to fix build warning. Signed-off-by: Chen Liangjun <b36089@freescale.com>
2012-12-12ENGR00236196: mxc_vout: add YV12 format support in enum fmt field.Sheng Nan
Since YV12 format is supported in mxc_v4l2_capture, it should be also supported in mxc_vout. Signed-off-by: Sheng Nan <b38800@freescale.com>
2012-12-12ENGR00235665: mxc_v4l2_capture: add YV12 format support in camera driverSheng Nan
Android CTS verifier have a must requirement for YV12 format. Since IPUv3 common driver has supported IPU_PIX_FMT_YVU420P pixel format, add the support of YV12 format in mxc_v4l2_capture. Signed-off-by: Sheng Nan <b38800@freescale.com>
2012-12-12ENGR00236031 MX6 USB :Change default USB H1 and OTG driver load ordermake shi
In current linux BSP USB H1 driver default load before otg driver load, which cause USBx not match the ehci controller number. like bellow: root@freescale /sys/devices/platform/fsl-ehci.0$ ls driver modalias pools power subsystem uevent usb2 root@freescale /sys/devices/platform/fsl-ehci.1$ ls driver modalias pools power subsystem uevent usb1 Signed-off-by: make shi <b15407@freescale.com>
2012-12-12ENGR00232530 Refine VPU suspend/resume according to open_countHongzhang Yang
1. Refine VPU suspend/resume according to open_count to completely fix bug: ENGR00230203 [Android_MX6DL_SD] Gallery: System hang after resume from suspend during video playback. 20% open_count == 0 case can be simplified because VPU is released (all instances are freed), so - clock is already off - context is no longer needed - power is already off on MX6 VPU reset is removed from resume because power is ensured to be off before entering resume on MX6 by calling regulator API. 2. Fix bug: VPU always busy after suspend/resume Error log (VPU refused to suspend due to VPU busy): pm_op(): platform_pm_suspend+0x0/0x54 returns -11 PM: Device mxc_vpu failed to suspend: error -11 PM: Some devices failed to suspend Root cause: - Suspend happened during vpu_Init(), somewhere after VPU lib started to download FW (when PC == 0), but before run FW. (BIT_BUSY_FLAG=1, BIT_CODE_RUN=1). - In such case, VPU resume downloaded FW and run VPU to idle because suspend was triggered after VPU was opened (active). - vpu_Init run VPU again with BIT_BUSY_FLAG=1. So VPU was trapped in idle loop but BIT_BUSY_FLAG was never cleared. VPU lib regarded VPU as always busy. Solution (in VPU resume): - run VPU FW only if VPU was opened and PC before suspend is not 0 - restore host register is required - download FW is required, because program memory is lost after power off. Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
2012-12-12ENGR00235370-4 pmic: Fix the bug of pmic I2CZhang Xiaodong
Fix the bug of wm831x pmic I2C Signed-off-by: Zhang Xiaodong <B39117@freescale.com> Acked-by: Lily Zhang
2012-12-11ENGR00236620: Add fastboot and recovery methods for iMX5Nitin Garg
Add fastboot and recovery methods with Android reboot commands. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
2012-12-11ENGR00235370-3 mx6: hdmidongle: Add new board HDMI dongle.Zhang Xiaodong
Add machine layer file for HDMI dongle Modify kconfig and makefile for HDMI dongle Add new machine type in arch/arm/tools/mach-types Signed-off-by: Zhang Xiaodong <B39117@freescale.com>
2012-12-07Merge branch 'imx_3.0.35_android' of ↵Zhang Xiaodong
ssh://sw-git01-tx30.am.freescale.net/git/sw_git/repos/linux-2.6-imx into imx_3.0.35_android
2012-12-07ENGR00235370-2 wifi: Add rtl8192ce wifi driverZhang Xiaodong
Add realtek 8192 wifi driver for HDMI dongle Signed-off-by: Zhang Xiaodong <B39117@freescale.com> Acked-by: Lily Zhang
2012-12-07ENGR00236141 csi:Add stride alignment setting from userspacejb4.1.2_1.0.0-betaguoyin.chen
In android, IPU fills the I420 buffer. And GPU shows the buffer to display. mx6's GPU has 32 Y-stride alignment for I420. The stride alignment will be passed through by bytesperline. This update is only for csi->smfc->mem channel. Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2012-12-05ENGR00235624 Quad/DualLite ARD: MTD partition non alignedAlejandro Sierra
MTD partition for SPI-NOR was not aligned to 8K. Replace its offset from MTDPART_OFS_APPEND to MTDPART_OFS_NXTBLK. Signed-off-by: Alejandro Sierra <b18039@freescale.com>
2012-12-06ENGR00235630 MX6 USB :fix USB does not work when plug in device during suspendmake shi
USB does not work when plug in a usb device during system suspend. Under this case, USB driver will be in low power mode, but WIE bit not be set if usb wake up is not enabled.So there are only ID change interrupt no USB wakeup interrupt after system resume.In current bsp, after system resume ID change status not be clear,and ID change interrupt will continue happen, which cause the system busy. No checking WIR bit if ID change interrupt happen when USB in low power mode to fix this issue. Signed-off-by: make shi <b15407@freescale.com>
2012-12-06ENGR00234722 USB: fix Kernel dump issue after USB driver loadablemake shi
- It is better to disable otgsc and wake up interrupt to avoid an abnormal interrupt happen during USB driver being removed. - If the USB host is already at low power mode, only need turn on the clock, no need turn off the clock. - Need discharge dp and dm during USB driver being removed ,in order to avoid a wakeup interrupt happen. And if the USB otg is in host mode, we should clear discharge dp and dm in fsl_otg_set_host() during system boot up. Signed-off-by: make shi <b15407@freescale.com>
2012-12-05ENGR00235626 FEC: Enable phy pause frame featureFugang Duan
Since some ethernet MAC flow control is relied on phy pause status, both link partners exchange information via auto neg to determine if both parties are capable of flow control. Advertise phy pause frame to avoid pause frame is not responsed by the other net node. Signed-off-by: Fugang Duan <B38611@freescale.com>
2012-12-05ENGR00235630 MX6 USB :fix USB does not work when plug in device during suspendmake shi
USB does not work when plug in a usb device during system suspend. Under this case, USB driver will be in low power mode, but WIE bit not be set if usb wake up is not enabled.So there are only ID change interrupt no USB wakeup interrupt after system resume.In current bsp, after system resume ID change status not be clear,and ID change interrupt will continue happen, which cause the system busy. No checking WIR bit if ID change interrupt happen when USB in low power mode to fix this issue. Signed-off-by: make shi <b15407@freescale.com>
2012-12-05ENGR00234722 USB: fix Kernel dump issue after USB driver loadablemake shi
- It is better to disable otgsc and wake up interrupt to avoid an abnormal interrupt happen during USB driver being removed. - If the USB host is already at low power mode, only need turn on the clock, no need turn off the clock. - Need discharge dp and dm during USB driver being removed ,in order to avoid a wakeup interrupt happen. And if the USB otg is in host mode, we should clear discharge dp and dm in fsl_otg_set_host() during system boot up. Signed-off-by: make shi <b15407@freescale.com>
2012-12-04ENGR00235370-1 wifi: Add bcm4330 wifi driverZhang Xiaodong
Add bcm4330 wifi driver for HDMI dongle Signed-off-by: Zhang Xiaodong <B39117@freescale.com> Acked-by: Lily Zhang
2012-12-04ENGR00235631 mx5x: fix build error for mx53 androidXinyu Chen
One issue is bring in by merge. The other is bring in by BSP's cpufreq commit. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2012-12-03ENGR00235214 - iMX5x Kernel Change for Jelly BeanOliver Brown
Update config file and copyright comments. Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
2012-11-30Merge remote-tracking branch 'fsl-linux-sdk/imx_3.0.35_1.1.0' into ↵Xinyu Chen
imx_3.0.35_android Conflicts: arch/arm/mach-mx6/board-mx6q_sabrelite.c arch/arm/mach-mx6/board-mx6q_sabresd.c arch/arm/plat-mxc/cpufreq.c
2012-11-29ENGR00235268: change caam_ipg_clk's CG to CG6Terry Lv
Another patch changed caam_ipg_clk's CG to CG4 and this commit will revert this change. Signed-off-by: Terry Lv <r65388@freescale.com>
2012-11-29ENGR00235081 Quad DL: Fix chip select for SPI-NOR and flagsAlejandro Sierra
Fix chip select for SPI-NOR and remove flags for no writeable partition for weim nor and SPI-NOR Signed-off-by: Alejandro Sierra <b18039@freescale.com>
2012-11-29ENGR00234466 UART: Fix disablement of CTS signalAlejandro Sierra
On Uart driver, CTS signal were never disabled on the imx_set_mctrl function since the register was written inside of the conditional. if (mctrl & TIOCM_RTS) { temp |= UCR2_CTS; writel(temp, sport->port.membase + UCR2); } Signed-off-by: Alejandro Sierra <b18039@freescale.com>
2012-11-29ENGR00234111 wm8962: switch automatically between speaker and hpGary Zhang
when detect hp inserted, disable speaker; when hp is plugout, enable speaker. Signed-off-by: Gary Zhang <b13634@freescale.com>
2012-11-28ENGR00235214 - iMX5x Kernel Change for Jelly BeanOliver Brown
Update config file and copyright comments. Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
2012-11-28ENGR00235193 - GPS Support for i.MX53Jeff Kudrick
The UART2 pin mux settings are aligned to the mux settings from i.MX53 ICS where GPS was operational. Signed-off-by: Jeff Kudrick <jeff.kudrick@freescale.com>
2012-11-28ENGR00234236 1588: fix kernel build warningFugang Duan
Warning: no return statement in function returning non-void. fec_ptp_ioctl return zero when 1588 is not enable. Signed-off-by: Fugang Duan <B38611@freescale.com>
2012-11-28ENGR00235090 FEC: Workaround for FEC RX hang with stress testFugang Duan
When do Ethernet UDP stress overnight test with abundance of data transmission, RX path may hang-on. Dump the RX BD, found all BD "Empty" bit is cleared, which means CPU read BD status is not right and waiting here. Change BD memroy attribute from Normal to strongly ordered: changes the memory attribute of C=0, B=0 instead of C=0, B=1. Apply the change, the issue cannot be reproduced. Signed-off-by: Fugang Duan <B38611@freescale.com>
2012-11-28ENGR00234933 mmc: sdhci: invalid cd_gpio for always_present host controllerRyan QIAN
Issue: By default, cd_gpio is 0 for always presented host controller, which is a valid gpio. Then it will result to free_irq for 0 in esdhc_pltfm_exit for these always_present host controllers. Fix: Invalid cd_gpio if the controller is indicated to be always present. Acked-by: Dong Aisheng <b29396@freescale.com> Signed-off-by: Ryan QIAN <b32804@freescale.com>
2012-11-28ENGR00234781 input: add novatek touch screen driver.Zhang Jiejing
This patch add device drvier for novatek touch screen driver. This touch screen chip will be support because it have more populary screen size. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2012-11-28ENGR00234685-2 mx6q_sabreauto: change Sabreauto board to LDO-ENABLED modeRobin Gong
Per hardware design, we can't set LDO bypass mode on Sabreauto board,otherwise, system will can't reset,if cpu freq run in 400Mhz. Signed-off-by: Robin Gong <b38343@freescale.com>
2012-11-28ENGR00234685-1 cpufreq:fix one bug in cpufreq driver if I2C transfer errorRobin Gong
Currently, if we used LDO bypass, will set pfuze register by I2C bus to modify voltage according to different cpu frequency, if I2C transfer error, we should restore to old cpu frequency, not only in cpufreq driver but also cpufreq core. Signed-off-by: Robin Gong <b38343@freescale.com>
2012-11-28ENGR00233569 SDMA: Add support for SDMA M2M copyGe Lei
Our SDMA code did not support SDMA M2M copy function before, we add SDMA M2M copy function in this patch, you can use 'sg' to use this function, you can refer to 'linux-test/module_test/mxc_sdma_memcopy_test.c' for how to use this function. Signed-off-by: Ge Lei <b42127@freescale.com>
2012-11-28ENGR00234387 mx6sl: csi/v4l2: add V4L2_MEMORY_USERPTR supportRobby Cai
Add V4L2_MEMORY_USERPTR support for csi v4l2 capture Support V4L2_MEMORY_USERPTR and V4L2_MEMORY_MMAP now Signed-off-by: Robby Cai <R63905@freescale.com>
2012-11-28ENGR00234519 mmc: support eMMC v4.5 memory cardsRyan QIAN
Bypass eMMC version checking, so that eMMC v4.5 can work on current kernel as eMMC v4.4 cards, no specific v4.5 feature supported. Only basic read/write operations are supported, also ddr mode is supported. Acked-by: Dong Aisheng <b29396@freescale.com> Signed-off-by: Ryan QIAN <b32804@freescale.com>
2012-11-28ENGR00234362 Camera: ov5640_mipi: wait for sensor stable before streamonSheng Nan
ov5642 add some delay to wait for sensor stable after S_PARM. And ov5640_mipi should keep the same behavior. So the upper layer can trust the first frame comes out of ov5640_mipi. - delay added according to the recommended time from ov company Signed-off-by: Sheng Nan <b38800@freescale.com>
2012-11-28ENGR00234531 fix MFGTOOL issue after USB module loadable doneTony LIU
- must add a new config item to enable USB CONFIG_USB_FSL_ARC_OTG=y Signed-off-by: Tony LIU <junjie.liu@freescale.com>
2012-11-28ENGR00234401: CAAM: Fix incorrect invalidate call for output ringSteve Cornelius
The job ring driver exhibited a hang condition in the top of caam_jr_dequeue() where a BUG_ON statement looks for a condition where the output ring is said to have valid entries by the ring logic, but the ring entries apparently have NULL descriptor pointers. In the initial ARM port of this driver, the cache flush call of the output ring content occured before the output ring read index register read occurred, exposing a condition where the driver sensed valid output entries, yet the entries written by the ring hardware were not invalidated, and therefore were not visible to the processor, appearing as false NULL entries. This patch relocates the invalidate call to immediately follow the check of the output read index, where it is required. Signed-off-by: Vicki Milhoan <vicki.milhoan@freescale.com> Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
2012-11-28ENGR00234411-2 CPUFREQ: fix one code bug on regulator restore when failRobin Gong
Didn't care about pu_regulator is enabled or not when regulator restore if some regulator set failed. Signed-off-by: Robin Gong <b38343@freescale.com>
2012-11-28ENGR00234411-1 Sabreauto: fix error print COULD NOT SET GP VOLTAGE.Robin Gong
Didn't take more care about non-pfuze board, and there is two place in BSP will call "mx6_cpu_regulator_init". It means regulator_get will be called twice on every vddcore/vddsoc regulator. Then one value need set twice ,because from regulator core view, there is two regulators share the same regulator. The non- validate one will return error and print "COULD NOT SET GP VOLTAGE!!!!." on Sabreauto board. The same as Sabrelite and ARM2 board. Meanwhile, Sabreauto need be configured LDO bypass default. Signed-off-by: Robin Gong <b38343@freescale.com>
2012-11-28ENGR00233494 EPDC: Driver only supports 16 LUTsMichael Minnick
This bug was introduced by ENGR00229290 which fixed the problem of greater than 16 LUTs used when 5-bit waveform loaded. The bug is that now the driver is also restricted to using 16 LUTs in 4-bit mode. The fix is to correct the test of the EPDC_FORMAT register used to determine if a 5-bit waveform is loaded. Also removed the while loop in favor of a bitwise OR used to determine if a chosen LUT has yet to be acknowledged by the interrupt handler. Signed-off-by: Michael Minnick <michael.minnick@freescale.com>
2012-11-28ENGR00234354-2: board-mx6q_sabreauto aline weim-nor partition layoutAdrian Alonso
* Aline weim-nor partition layout with u-boot expected offtsets "bootloader" /dev/mtd0 "bootenv" /dev/mtd1 "kernel" /dev/mtd2 "rootfs" /dev/mtd3 Signed-off-by: Adrian Alonso <aalonso@freescale.com>
2012-11-28ENGR00234354-1: board-mx6q_sabreauto aline spi-nor partition layoutAdrian Alonso
* Aline spi-nor partition layout * set correct chip-select value Signed-off-by: Adrian Alonso <aalonso@freescale.com>
2012-11-26mm: fix off-by-two in __zone_watermark_ok()Michal Hocko
Commit 88f5acf88ae6 ("mm: page allocator: adjust the per-cpu counter threshold when memory is low") changed the form how free_pages is calculated but it forgot that we used to do free_pages - ((1 << order) - 1) so we ended up with off-by-two when calculating free_pages. Reported-by: Wang Sheng-Hui <shhuiw@gmail.com> Signed-off-by: Michal Hocko <mhocko@suse.cz> Acked-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-11-21ENGR00222170: Add mx6sl_evk_android_config for mx6sl evk boardJack Lee
- add CONFIG_MACH_MX6SL_EVK to imx6s_android_defconfig Signed-off-by: Jack Lee <jacklee@freescale.com>
2012-11-20ENGR00231277 Change the mma8451 and mag3110's config to algin with SDP boardguoyin.chen
SDP boards layout have board's width aligne with LVDS's height Update the mma8451 and mag3110's config to algin with SDP board Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>