summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-28ENGR00181191 MX6: set ipu2_clk parent from pll2_pfd_400MWayne Zou
On mx6dl, set ipu2_clk's parent from pll2_pfd_400M. On mx6q, ipu2_clk's parent from mmdc_ch0_axi_clk, and it is 264MHz by default. Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-04-28ENGR00181188 Added miss file hdmi_cpm.S for patch ENGR00181130Sandor Yu
Added miss file hdmi_cpm.S for patch ENGR00181130 Signed-off-by: Sandor Yu <R01008@freescale.com>
2012-04-28ENGR00181130 Optimizate HDMI audio mmap to fix HDMI audio alsa underrunSandor Yu
HDMI audio DMA FIFO size is setting to 126, and use INCR4 mode to fix FIFO overflow issue. Added Neon code for PCM data IEC head and data copy. Signed-off-by: Sandor Yu <R01008@freescale.com>
2012-04-28ENGR00181107 add dma_alloc_writethrough functionSandor Yu
add dma_alloc_writethrough function to dma_mapping.c Signed-off-by: Sandor Yu <R01008@freescale.com>
2012-04-27ENGR00180424: Changed iomux ID pinGuillermo
Changed iomux MX6Q ID pin to MX6Q_PAD_ENET_RX_ER__ANATOP_USBOTG_ID Signed-off-by: Guillermo <b12356@freescale.com>
2012-04-27ENGR00180076: prompt "mmc0: error -110 during resume" with atheros wifi cardjustin.jiang
* only happend on sabre-auto board,atheros sdio wifi card can't be used after suspend/resume * Fix by keeping sdio power at suspend. Signed-off-by: justin.jiang <b31011@freescale.com>
2012-04-27ENGR00175084 IPU-FB: change dma memory alloc gfp flags to GFP_KERNELWayne Zou
We only needs the dma buffer, don't care if it is from DMA Zone on i.mx SOC. To fix the following bug: mxc_ipudev_test: page allocation failure: order:13, mode:0x1 [<80042e08>] (unwind_backtrace+0x0/0xfc) from [<800b4dd8>] (warn_alloc_failed+0x9c/0x118) [<800b4dd8>] (warn_alloc_failed+0x9c/0x118) from [<800b5ac4>] (__alloc_pages_nodemask+0x494/0x6ec) [<800b5ac4>] (__alloc_pages_nodemask+0x494/0x6ec) from [<80046154>] (__dma_alloc+0xd4/0x2fc) [<80046154>] (__dma_alloc+0xd4/0x2fc) from [<800463a0>] (dma_alloc_writecombine+0x24/0x2c) [<800463a0>] (dma_alloc_writecombine+0x24/0x2c) from [<8024be34>] (mxcfb_set_par+0x3e4/0x4c0) [<8024be34>] (mxcfb_set_par+0x3e4/0x4c0) from [<80235f08>] (fb_set_var+0x168/0x2a4) [<80235f08>] (fb_set_var+0x168/0x2a4) from [<802363f8>](do_fb_ioctl+0x3b4/0x5f0) [<802363f8>] (do_fb_ioctl+0x3b4/0x5f0) from[<800f58d0>](do_vfs_ioctl+0x80/0x5e4) [<800f58d0>] (do_vfs_ioctl+0x80/0x5e4) from [<800f5e6c>] (sys_ioctl+0x38/0x60) [<800f5e6c>] (sys_ioctl+0x38/0x60) from [<8003d500>] (ret_fast_syscall+0x0/0x30) mxc_sdc_fb mxc_sdc_fb.0: Unable to allocate framebuffer memory detected fb_set_par error, error code: -12 Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-04-26ENGR00180236-2: spdif clk usecount is 1 when not in useAdrian Alonso
* Move spdif_core_clk enable from spdif_probe to spdif_startup function in order to avoid initializing the core clock when module is not in use. * At spdif_shutdown disable spdif core_clk. Signed-off-by: Adrian Alonso <aalonso@freescale.com>
2012-04-26ENGR00180236: mxc_spdif add spdif_clk error checkAdrian Alonso
* Add get_clk clock error check abort driver probe if wrong clock. Signed-off-by: Adrian Alonso <aalonso@freescale.com>
2012-04-26ENGR00180882- MX6DL Add bus frequency scaling support.Ranjani Vaidyanathan
Added support for changing DDR frequency on MX6DL. During system IDLE, DDR freq can drop down to 24MHz if none of the devices that need high AHB frequency are active. Changed the DDR code to handle both MX6Q and MX6DL DDR and IOMUX settings. Fixed bug associated incorrect IRAM memory allocation used to store DDR and IOMUX data. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2012-04-26ENGR00180185: MX6-Add support for low power audio playbackRanjani Vaidyanathan
The DDR frequency needs to be at 50MHz for low power audio playback. So added a new low power mode for audio. Set the AHB to 25MHz, AXI to 50MHz and DDR to 50MHz in this mode. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2012-04-26ENGR00180640 camera: enable dual camera configuration in menuconfigYuxi Sun
enable dual camera configuration in menuconfig, and set ov5642 as the first registered camera Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-04-26ENGR00178223-3 gpio-led: Add LED-GPIO control and trigger for sabresdLin Fuzhen
Add led-gpio control and trigger for sabresd Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
2012-04-26ENGR00178223-2 gpio-led: Add LED-GPIO control and trigger for sabresdLin Fuzhen
Add led-gpio control and trigger for sabresd Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
2012-04-26ENGR00178223-1 gpio-led: Add LED-GPIO control and trigger for sabresdLin Fuzhen
Add led-gpio control and trigger for sabresd Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
2012-04-26ENGR00180865-4 defconfig: Add imx ion allocator supportXinyu Chen
Enable ION and imx ION driver Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2012-04-26ENGR00180865-3 mx6: Add imx ion allocator device supportXinyu Chen
Remove the pmem device define. Add ion allocator device support and memory reservation. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2012-04-26ENGR00180865-2 ion: Add imx ion allocator driver supportXinyu Chen
Enable ion in drivers Kconfig Add imx ion allocator device driver Add ION_IOC_PHYS ioctl for user to get phys addr of buffers Correct the remap pfn pgprot to writecombine Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2012-04-26ENGR00180865-1 misc: remove android pmem driver, it's obsolete.Xinyu Chen
PMEM driver is already dropped and removed by Google. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2012-04-26ENGR00180869 MX6DL:Correct LDB and HDMI IPU/IPU DI settingLiu Ying
This patch corrects LDB and HDMI IPU/IPU DI setting for Android kernel. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-04-26ENGR00178597 [MX6DL/S] Multi-instance test in GC880 cause system hangLarry Li
In our code 3d sharder clock uses 3d core clock CCGR field as its enable bit. That works for MX6Q. But MX6DL uses 3d sharder clock as 2d core clock, while disable 2d core clock, it will disable 3d core by mistake. To fix it, remove the enable bit setting of 3d shader clock in clock.c file. Signed-off-by: Larry Li <b20787@freescale.com>
2012-04-25ENGR00180768 sd:detect some sd2.0 cards to sd1.0B38613
when SD_SPEC=2, no matter Physical Layer Spec v3.0 is supported or not, should both be recognized as SD2.0card. Signed-off-by: Zhou Jianzheng <B38613@freescale.com>
2012-04-25ENGR00180642 gpu-viv: fix 4.6.7 android build issueXianzhong
This issue is introduced by special gpu patch from Vivante Signed-off-by: Xianzhong <b07117@freescale.com>
2012-04-25ENGR00180624 Merge vivante 4.6.7p1 kernel part codeLoren Huang
Merge vivante 4.6.7p1 kernel part code Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-04-24ENGR00180639 sabresd: remove GPU pmem device supportXinyu Chen
We do not use GPU pmem anymore, as all the graphic memory allocation are go through gpu drivers, includes surface buffers, camera buffers. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2012-04-24ENGR00180617 cts: disallow other group's write permission in /sys filesXinyu Chen
Android compatible test verifys all the files in /sys dir. It will report failure when found there's any files has S_IWOTH permission. These changed sysfs are originally changed or add by freescale. So it's not a common kernel code issue. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2012-04-24ENGR00180297 WM8962: stereo record on AMICGary Zhang
Implement stereo recording feature on analog mic Signed-off-by: Gary Zhang <b13634@freescale.com>
2012-04-20ENGR00180412 MX6 SATA: Enable PHY in the SATA initilizationRichard Zhu
iENGR00179574: MX6- Add bus frequency scaling support disable SATA PHY defaultly Enable PHY in the SATA initilization, make sure the SATA work well. Signed-off-by: Richard Zhu <r65037@freescale.com>
2012-04-20ENGR00180229-2 VDOA: disable vdoa clock when no usedWayne Zou
Disable vdoa clock when no used Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-04-20ENGR00180229-1 V4L2: Fix a bug when doing tiled format deinterlacedWayne Zou
Initialize paddr_n when doing vdoa+vdi deinterlaced, when doing tiled format deinterlaced. Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-04-20Merge remote branch 'fsl-linux-sdk/imx_3.0.15_12.04.01' into imx_3.0.15_androidXinyu Chen
Conflicts: arch/arm/kernel/traps.c arch/arm/mach-mx6/board-mx6q_sabresd.c arch/arm/mach-mx6/cpu.c arch/arm/mach-mx6/system.c
2012-04-20Merge branch 'android-3.0' into imx_3.0.15_androidXinyu Chen
Conflicts: drivers/cpufreq/cpufreq_interactive.c
2012-04-20Revert "usb: gadget: adb: Only enable the gadget when adbd is ready"Xinyu Chen
This reverts commit 17ce6ff9516dab940486898ad855ba410e364dc9.
2012-04-20ENGR00172292 usb otg: enable dtds postpone free on mx6Xinyu Chen
We found this bug occurs again on mx6 when running CTS with ADB over USB. The system will hang without any log, and screen a little mess. It's proved to be a known USB IP issue: USB controller may access a wrong address for the dTD and then hang. Re enable this workaround to avoid any system unstability. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2012-04-20Revert "misc: remove android pmem driver, it's obsolete."Xinyu Chen
This reverts commit d1e94136fc4fe8ea608f4e9d21befa00c86e1e29.
2012-04-19ENGR00180230 MX6 PCIE: enlarge the eye diagram and force to GEN1Richard Zhu
* Adjust the parameters, enlarge the eye diagram. * Force to the PCIE GEN1 speed. Signed-off-by: Richard Zhu <r65037@freescale.com>
2012-04-19ENGR00180096 change NAND clock source to pll2_pfd_400MAllen Xu
change clock source explicitly by calling set_parent() function Signed-off-by: Allen Xu <allen.xu@freescale.com>
2012-04-18ENGR00179411 fix the pop noise in audio outputb02247
change the PAD config for audio Signed-off-by: b02247 <b02247@freescale.com>
2012-04-17ENGR00179800 V4L2: Add VDOA tiled format post-processing supportWayne Zou
Add VDOA tiled format post-processing support Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-04-17ENGR00179725 WM8962: remove 64KHz sample rate supportGary Zhang
because wm8962 codec does not support 64KHz sample rate, no longer declare to support 64KHz: Signed-off-by: Gary Zhang <b13634@freescale.com>
2012-04-17ENGR00179804 change NAND clock source from pll2_pfd_352M to pll2_pfd_400MAllen Xu
Due to pll2_pfd_352M would be used for LVDS, change NAND clock source to pll2_pfd_400M. Signed-off-by: Allen Xu <allen.xu@freescale.com>
2012-04-17ENGR00179685 MX6 clock:Cleanup LDB DI parent clockLiu Ying
According to ticket TKT071080, 0b011 for ldb_dix_clk_sel field in CCM_CS2CDR is changed from pll3_pfd_540M to mmdc_ch1 when we change from MX6Q TO1.0 to MX6Q TO1.1. However, MX6DL uses mmdc_ch1 as LDB DI parent clock. This patch corrects the LDB DI parent clock setting. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-04-16ENGR00179747: MX6DL-Fix boot failureRanjani Vaidyanathan
Fix the boot failure caused by: 8f0c21e06d4f7d0c7c078d6261ccd75f2a45c3ab MX6- Add bus frequency scaling support There is no SATA on MX6DL. Accessing SATA PHYs early in the boot process causes the system to crash. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2012-04-16ENGR00179647 MX6 clock:Correct LDB DI pclk for MX6Q TO1.1Liu Ying
This patch corrects LDB DI clock's parent clock to be pll2_pfd_352M for both MX6Q TO1.1 and MX6Q TO1.0 according to ticket TKT071080(0b011 for ldb_dix_clk_sel field in CCM_CS2CDR is changed from pll3_pfd_540M to mmdc_ch1 when we change from MX6Q TO1.0 to MX6Q TO1.1). Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit c340ccfbc3d1ec6bc3d642ea2009c8e25247e4bc)
2012-04-16ENGR00179696 MX6Q/UART : fix the wrong DMA tranfer direction.Huang Shijie
The current SDMA use the new DMA tranfer direction. But the UART still uses the old. This cause the RX failed. So use the new DMA transfer direction for UART. Signed-off-by: Huang Shijie <b32955@freescale.com>
2012-04-16ENGR00179679 Fix usb gadget suspend issue connected to usb chargerTony LIU
- the root cause of this issue is during resume process, USB clock is not turned on for this USB charger case so that the second suspend is processed without USB clock, it cause system hang - in udc resume process, at this situation, we should exit low power mode to enable the b session valid intrrupt to close the usb clock when detach from usb charger Signed-off-by: Tony LIU <junjie.liu@freescale.com>
2012-04-16IMX/DMA : set the DMA direction in the sdma_control()Huang Shijie
Set the right DMA direction in the sdma_control(), else we will get the wrong log when enable the DYNAMIC_DEBUG. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
2012-04-16ENGR00179647 MX6 clock:Correct LDB DI pclk for MX6Q TO1.1Liu Ying
This patch corrects LDB DI clock's parent clock to be pll2_pfd_352M for both MX6Q TO1.1 and MX6Q TO1.0 according to ticket TKT071080(0b011 for ldb_dix_clk_sel field in CCM_CS2CDR is changed from pll3_pfd_540M to mmdc_ch1 when we change from MX6Q TO1.0 to MX6Q TO1.1). Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-04-13ENGR00179575 only set color depth if TV supports deep colorAlan Tull
If TV's EDID indicates that deep color is not supported, then write color depth field of HDMI_VP_PR_CD register to zero. Signed-off-by: Alan Tull <r80115@freescale.com>
2012-04-13ENGR00179601 Synopsys approved hdmi fifo workaround - rev 3Alan Tull
This patch includes some of the clk enable/disable changes from rev2 Check the version of the HDMI IP to determine whether the fifo threshold needs to be high. The i.Mx6dl version of the HDMI doesn't need the workaround. All other parts of the workaround are used for both parts for code simplicity. ---------------------------------------------------------- For i.Mxq, set the Threshold of audio fifo as: FIFO depth - 2 (fixed and independent of the number of channels actually used). Use unspecified length ahb bursts (using fixed INCRx will make the audio dma fail). Additionally and in order to get it working on all conditions it will be necessary to run the following sw steps at startup of video and audio (or when video changes or audio changes): 1-Configure AUD_N1 and AUD_CTS1 registers with final value and let the AUD_N2, AUD_N3, AUD_CTS2 and AUD_CTS3 to 0s. 2-Configure start and end addresses of audio DMA registers. 3-Start DMA operation 4-Configure the AUD_CTS2 and AUD_CTS3 with the final value. 5-Configure the AUD_N2 and AUD_N3 with final value. Signed-off-by: Alan Tull <r80115@freescale.com>