summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2012-05-24ENGR00210728 testMultiCameraRelease failed in CameraTestimx-android-r13.3guoyin.chen
Two camera instance will be opened at the same time, and only one will be kept stream on. The previous camera's close will stream off the second camera's dequeue function. Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2012-05-22ENGR00210378 mmc: disable DDR mode to make eMMC suspend more stable.Zhang Jiejing
We meet eMMC stable issue during suspend. After disable DDR mode, it will very stable, disable DDR mode for release. Signed-off-by: Chen Xingyu <xingyu.chen@freescale.com> Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2012-05-21ENGR00180497 FB: Fix a bug: 'fb_set_par error, -22' when video playback on lvdsWayne Zou
Change bg_id/fg_id variable to char array variable, and avoid change the constant string in .rodata section. [MX6Q SMD]fb: 'fb_set_par error, -22' prompted when mplay a video to lvds /mnt/nfs/util/mplayer /mnt/nfs/test_stream/video/Mpeg4_SP1_1280x720_30fps.mp4 Before video playback finish, fb error message shows: mxc_sdc_fb mxc_sdc_fb.0: setup error, dispdrv:ldb. detected fb_set_par error, error code: -22 Can't reset original fb_var_screeninfo: Invalid argument Exiting... (End of file) Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-05-21ENGR00182346-2 serial: unregister the console when the console is releasedHuang Shijie
The old code does not unregister the console mxc_early_uart_console when it is disabled. This may causes the global console `console_drivers` still pointes an invalid console mxc_early_uart_console. A hung will be observed in this situation. Signed-off-by: Huang Shijie <b32955@freescale.com>
2012-05-21ENGR00182346-1 serial/imx : disable the clock when the uart is not usedHuang Shijie
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>
2012-05-18ENGR00209686-2:sdio:suspend/resume issueB38613
1.add MMC_PM_WAKE_SDIO_IRQ capability, it should be used together with MMC_PM_KEEP_POWER although not support SDIO wakeup in function. 2.add MMC_CAP_NONREMOVABLE to describe imx6's three sdhc devices's removable feature.Now emmc is permanent,sdio and sd is removable instead of all default were permanent before. According to this feature, detimine whether reinit card or not in resume. Signed-off-by: B38613 <B38613@freescale.com> (cherry picked from commit cf4ccf3716f1adfaeaf1a106dd4e3afa61a9f8b2)
2012-05-18ENGR00182769 HDMI: No sound when playing audio in 480p modeSandor Yu
It is cause by HDMI audio driver can't get right pixel clock from IPU driver if pixel clock source from HSP clock not from DI clock. HDMI driver get pixel clock by call clk_get_rate() function, but the function return actually clock, in some videomode the actually pixel clock is not right equal the pixel clock in CEA spec. Get pixel clock from video mode struct instead of CCM register. 480P HDMI audio can work. Signed-off-by: Sandor Yu <R01008@freescale.com>
2012-05-18ENGR00209510 Suspend:It can't enter deep suspend mode in dual display modeguoyin.chen
audio will be blocked if pixel clock of hdmi display be gated in eary suspend Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2012-05-17ENGR00209710 MX6 IPUv3 fb:Show display dev name propertyLiu Ying
1) Show display device name property: HDMI monitor - hdmi DVI monitor - dvi VGA monitor - vga dumb LCD panel - lcd LVDS panel - ldb MIPI LCD panel - mipi_dsi TVout - tve 2) Make fsl_disp_property device attribution be static. 3) Support overlay fb fsl_disp_property and fsl_disp_dev_property device attributions. 4) Remove fsl_disp_property and fsl_disp_dev_property device attributions when removing the driver. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 7845b72054d5707ee074b36d2dbee029688af20c)
2012-05-16ENGR00209462 Thermal: print tempreture for debug uasgeLin Fuzhen
Add debugmask to control the cooling device tempreture being printed or not To enable the thermal tempreture printing by below command echo 0xf > /sys/module/thermal/parameters/debug_mask Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
2012-05-14ENGR00181680-2 No audio when play 3 streams after 3~10 seconds sometimesb02247
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>
2012-05-08ENGR00179636-04 - FEC : allocate the enough DMA size for BD.Fugang Duan
- 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>
2012-05-08ENGR00181514 - FEC : fix kernel dump warning with suspend/resume.Fugang Duan
- Fix clock enable/disable match operation to avoid kernel dump warning "clock enable/disable mismatch". Signed-off-by: Fugang Duan <B38611@freescale.com>
2012-05-08ENGR00179636-02 - FEC : Enet RX FIFO overruns issue.Fugang Duan
- 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>
2012-05-08ENGR00179636-01 - FEC : Enet RX FIFO overruns issue.Fugang Duan
- 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>
2012-05-08ENGR00181323 update pixel clock name in HDMI Audio driverSandor Yu
update pixel clock name in HDMI Audio driver Signed-off-by: Sandor Yu <R01008@freescale.com>
2012-05-08ENGR00182115 SDHCI: Disable SDHC LED related operationLin Fuzhen
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>
2012-05-08ENGR00182106 720p and 1080p recording are too bright.YangYonggang
The sensor configure was not correct. Changed the ov5640 sensor config to fix the bug. Signed-off-by: YangYonggang <b31664@freescale.com>
2012-05-03ENGR00181387-1 suspend: add suspend counter driverZhang Jiejing
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>
2012-05-02ENGR00180530 ov5640 mipi: Add gain calculation and stream on/off in settingYuxi Sun
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>
2012-05-02ENGR00180775 IPUv3:Change pixel clock disabling sequenceLiu Ying
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)
2012-05-02Merge remote branch 'fsl-linux-sdk/imx_3.0.15_12.04.01' into imx_3.0.15_androidXinyu Chen
Conflicts: sound/soc/imx/Makefile
2012-04-30ENGR00180103-3 V4L2: HDMI display error when dual display with LVDS panelWayne Zou
Restore fb_var_screeninfo when finishing video playback Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-04-30ENGR00180103-2 V4L2: remove GFP_DMA flag when alloc dma memoryWayne Zou
Remove GFP_DMA flag when alloc dma memory. Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-04-30ENGR00180103-1 V4L2: use copy_from/to_user() for user space pointerWayne Zou
V4L2: use copy_from/to_user() for user space pointer Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-04-29ENGR00181165 gpu-viv: use high precision method for delayXianzhong
Reduce gpu kernel delay to improve driver performance Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Lily Zhang
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-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-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-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-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-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-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-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-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-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>
2012-04-13net: wireless: bcmdhd: Allow 80211_HT capabilityDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-04-13ENGR00179513-3 V4L2: Add VDOA tiled format supportWayne Zou
Support for VDOA tiled format IPU_PIX_FMT_TILED_NV12 up to 1080p progressive streams, and IPU_PIX_FMT_TILED_NV12F tiled format up to xga interlaced streams currently. Signed-off-by: Wayne Zou <b36644@freescale.com>