summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-07-27ENGR00153740-4 imx-sdma: use mcu_2_shp script for ASRCDong Aisheng
The asrc_2_mcu script is not supported well by this driver. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2011-07-27ENGR00153740-1 asrc: update to use new SDMA APIDong Aisheng
Only support one pair of buffer for rx and tx per time. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2011-07-27ENGR00153761 imx6q ipuv3: improve display qualityJason Chen
to avoid ipu starvation issue. 1. enable IPU AXI cache in uboot 2. set Qos to 7 for IPU to highest priority in uboot. 3. set AXI id to 0 for high priority IDMA channel in linux. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-07-27ENGR00153757 mxc_hdmi: fix build error of mxc_hdmi.cJason Chen
Fix build error of below: `mxc_hdmi_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o` Signed-off-by: Jason Chen <b02280@freescale.com>
2011-07-26ENGR00153670-4 - MXC HDMI: Add support for basic HDMI operationDanny Nold
- Add MXC HDMI to kconfig and makefile - Add initial mxc_hdmi.c file to provide basic HDMI functionality: - Basic HDMI output functional - Support for reading EDID via I2C and registering video modes with IPU - Support for output from IPU1 DI0 - These features not yet added: - Hotplug support - Dual display with LVDS - Power management - Support for FB notifications - Changes to IPU to allow HDMI to use source clocks that it needs Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-07-26ENGR00153680 vpu: Fix the issue of not increasing open_countSammy He
Fix the issue of missing to increase open_count when vpu_open. This is due to the patch of removing mx31 and mx37 code. Signed-off-by: Sammy He <r62914@freescale.com>
2011-07-25ENGR00153578 tve-vga: set vga output gain to improve qualityJason Chen
set vga output gain to improve quality. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-07-22ENGR00153275-1 ahci L2638 add the standalone ahci temperature monitorRichard Zhu
based on the 2.6.38 kernel mainline, refer to linux lm-sensors architeture, add the standalone ahci temperature monitor driver on fsl i.mx53 platforms. Less than half sencond is used in one temperature read operation. usage: Use the following cmd to cat the i.mx53 soc temperature after boot up i.mx53 system in user space. for example: ...$ cat /sys/class/hwmon/hwmon1/device/temp1_input 61000 or run the following cmd after configure the lm-sensors ...$ sensors imx-ahci-hwmon-isa-0000 Adapter: ISA adapter temp1: +58.0 C Signed-off-by: Richard Zhu <r65037@freescale.com>
2011-07-20ENGR00139238-2 Touch: add p1003 and egalaxFrank Li
Add p1003 and egalax touch driver Signed-off-by: Frank Li <Frank.Li@freescale.com>
2011-07-20ENGR00153373-1 OCOTP: Add missed header fileFrank Li
Add missed ocopt header file Signed-off-by: Frank Li <Frank.Li@freescale.com>
2011-07-20ENGR00139274-4 [UART]Enable suspend/resume featureAnson Huang
1. Enable wake up of uart; Signed-off-by: Anson Huang <b20788@freescale.com>
2011-07-19ENGR00139274-2 [MX6]Enable suspend/resumeAnson Huang
Enable suspend/resume for MX6, using debug UART as wake up source due to hardware design limitation. Signed-off-by: Anson Huang <b20788@freescale.com>
2011-07-19ENGR00152287-3 SDMA: Fix sdma cache bufferable issueZeng Zhaoming
MX6Q desclare dma memory bufferable, which cause sdma load context failed in 60% possibility. To fix it, we need to add dsb to flush write buffer before start dma transfer. Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2011-07-19ENGR00152287-2 SDMA: Add SDMA support for MX6QZeng Zhaoming
Add sdma support for mx6q. add mx6 dependency for sdma, and add sdma mx6 firmware. Note: firmware not release by owner, this version only for test. Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2011-07-18ENGR00153208-2 Add SNVS RTC driverAnish Trivedi
This adds an RTC driver for the Low Power (LP) section of SNVS. It hooks into the /dev/rtc interface. It only uses the RTC hw in non-secure mode. Signed-off-by: Anish Trivedi <anish@freescale.com>
2011-07-18ENGR00153217-2 mxc_dispdrv: add sii902x hdmi driver supportJason Chen
Add sii902x display driver to mxc_dispdrv. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-07-18ENGR00153216-2 mxc_dispdrv: add dvi display driver supportJason Chen
change dvi display driver to mxc_dispdrv. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-07-18ENGR00153221 [MX6Q uSDHC]workaround for TC intr coming ealier than DMA intrTony Lin
if TC interrupt bit is set but DMA interrupt bit is clear, read status register again in case DMA interrupt will come in next time cycle Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-07-18ENGR00153160 fix card interrupt issue on uSDHC and eSDHCTony Lin
uSDHC: card interrupt storm if we do not clear card interrupt status by sw. eSDHC: card interrupt will be lost if we do not set D3CD bit. apply the workarounds in sdhci-esdhc-imx.c to avoid adding new QUIRKs. Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-07-18ENGR00152359-3 sii902x hdmi: add AVI and AIF support for common changesJason Chen
1.add AVI and AIF support. 2.add edid 4-block reading support.(not test) For RGB input fmt support, pls input cmdline like: video=mxcdixfb:RGB24,1024x768M@60 For YUV input fmt support, pls input cmdline like: video=mxcdixfb:VYU444,1024x768M@60 Signed-off-by: Jason Chen <b02280@freescale.com>
2011-07-18ENGR00152359-2 ipuv3: add VYU444 fmtJason Chen
1.add VYU444 fmt to support Sii902x hdmi yuv format 2.make pixel clock from internal ipu clock more accurate Signed-off-by: Jason Chen <b02280@freescale.com>
2011-07-15ENGR00139234-1 watchdog: build watchdog in ARCH_MX6Frank Li
Add ARCH_MX6 dependency Signed-off-by: Frank Li <Frank.Li@freescale.com>
2011-07-14ENGR00153127 ENET: Enet not works in 1G modeZeng Zhaoming
Mx6 not works when connnect to a 1G switch. This is caused by phy_dev->supported != PHY_GBIT_FEATURES, more bits will set to phy_dev->supported when negotiation complete. Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2011-07-14ENGR00139235-3: IIM(OCOPT): Enable IIM driver for iMX6QTerry Lv
Add a new driver for On-Chip OTP controller. The driver will register all the register names of all the banks to /sys/. You can use the following commands to manipulate the OTP banks: read: #cat HW_OCOTP_MAC0 write: #echo 0x11223344 > HW_OCOTP_MAC0 Signed-off-by: Terry Lv <r65388@freescale.com>
2011-07-14ENGR00152371-1 mx6q: Add vpu driver supportSammy He
Add vpu driver support for mx6q. Signed-off-by: Sammy He <r62914@freescale.com>
2011-07-13ENGR00152547-04 [MX6Q]add SDHC3.0 support on uSDHC controllerTony Lin
modify host controller driver to meet SD3.0 spec. including voltage switch, and tuning control. add a function pointer for bus driver to do tuning preparation, in case some host controller like uSDHC does not tune automatically. it needs change delay line before tuning. Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-07-13ENGR00152547-03 [MX6Q]add SDHC3.0 support on uSDHC controllerTony Lin
add voltage switch function due to SDHC3.0 spec requirement add tuning function due to SDHC3.0 spec requirement extend some functions to support SDR50 & SDR104 speed mode Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-07-13ENGR00152845-9 v4l2 output: changes based on ipu changes.Jason Chen
v4l2 output changes based on ipu change. Signed-off-by: Jason Chen <jason.chen@freescale.com>
2011-07-13ENGR00152845-8 mxc_dispdrv: add support for mxc_dispdrv.Jason Chen
add dispdrv support. add dispdrv sub-driver ldb/lcdif/tve support. change ipuv3 fb driver for new ipu and dispdrv framework. Signed-off-by: Jason Chen <jason.chen@freescale.com>
2011-07-13ENGR00152845-6 fb: add PREMODE_CHANGE event support.Jason Chen
change fbmem.c to support PREMODE_CHANGE event. Signed-off-by: Jason Chen <jason.chen@freescale.com>
2011-07-13ENGR00152845-4 ipuv3: add multiple instance supportJason Chen
add multiple instance support. Signed-off-by: Jason Chen <jason.chen@freescale.com>
2011-07-11ENGR00152915-2 mx6q-usb: Add lock for low power mode operationPeter Chen
To avoid interrupting when usb enters/leaves low power mode Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-07-07ENGR00152681 - EPDC fb: Updates may be shifted right by 1 columnDanny Nold
- Fixed PxP input left coordinate value. Was previously being incorrectly computed such that the value would be incorrect when using 16bpp RGB and an X coordinate that is offset from 4-pixel alignment by 1 (e.g. x=1, x=5). The resulting effect was that updates meeting this criteria would be drawn to the EPD panel shifted to the right by 1 pixel. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-07-07ENGR00152493-2 mx6q: add usb functionPeter Chen
The changes for driver part - Merging some newest changes at 2.6.38 - Add high speed disconnect check at usb core Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-07-06ENGR00152528-2 ENET: add enet support for mx6q.Zeng Zhaoming
Enabled all speed mode, 10M/100M/1G. add "fec_mac" kernel parameter to set mac address. Since clock and board rework issue, some hard code stays to make it work. Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2011-07-04ENGR00152479 Early uart: Correct Copyright declarationZeng Zhaoming
Early uart has more than one contributors. Remove "all right reserve" declare in source code. Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2011-07-01ENGR00152291-2 [MX6]Add anatop thermal driverAnson Huang
Currently only support basic temperature reading, after the tester write the calibration value into fuse, we will need to improve the accuracy of this thermal sensor, also, the cooling device will be added later. Signed-off-by: Anson Huang <b20788@freescale.com>
2011-06-28ENGR00139229-4 SDHC: Add SDHC support for i.MX6Zeng Zhaoming
Add sdhc support to make it easy mount rootfs from SD card. Merge from imx6_bringup branch. Signed-off-by: Anish Trivedi <anish@freescale.com> Signed-off-by: Dong Aisheng <b29396@freescale.com> Signed-off-by: Richard Zhu <r65037@freescale.com> Merged-by: Zeng Zhaoming <b32542@freescale.com>
2011-06-28ENGR00139229-3 tty:early-uart: add early-uart support for i.mx platformsZeng Zhaoming
Add early uart support for i.MX platforms Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Zeng Zhaoming <b32542@freescale.com> Reviewed-by: Robby Cai <r63905@freescale.com>
2011-06-23ENGR00151896 - EPDC fb: Fix bug preventing suspend when powerdown disabledDanny Nold
- With FB_POWERDOWN_DISABLE is set as the powerdown delay (disabling the EPDC driver from powering down), the EPDC driver was having problems going into suspend. Any request to blank the EPDC driver would result in a timeout and an error status. And subsequent attempts to send updates to the driver would fail, as the driver's power state was incorrect. This patch prompts the EPDC driver to be disabled when the blanking state is changed to FB_BLANK_POWERDOWN and FB_POWERDOWN_DISABLE is set. Resultingly, the correct driver power state is maintained and suspend/resume works correctly. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-21ENGR00151822 - EPDC fb: Prevent endless collision by managing FULL mode updatesDanny Nold
When using SNAPSHOT update scheme, submitting FULL mode updates can easily lead to an endlessly looping sequence of collisions if any updates are active when the new FULL mode update is submitted. Thus, we must first flush any updates out before submitting a new FULL mode update. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-22ENGR00151494-1 vpu: remove the code for vpu of mx32/mx37 platformsSammy He
The vpu code in driver for mx32/mx37 is out of date already, and we won't support the platforms, so clean the code for removing it. Signed-off-by: Sammy He <r62914@freescale.com>
2011-06-16ENGR00151639 - EPDC fb: Memory for PxP workaround buffers may be reducedDanny Nold
- This patch changes the way that buffers are allocated and used for the case where PxP alignment limitations are not met (a copy from the update source buffer into a temporary buffer before initiating the PxP processing task is required). Previously, a buffer was allocated on a per-update basis, resulting in a large number of copy buffers. Now, we allocate just one copy buffer that can be reused any time the PxP alignment workaround is required. This is okay because it is assured that only one PxP transaction can be prepared at a time. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-09ENGR00142098 - EPDC fb: Fix slow mode transitions when powerdown delay disabledDanny Nold
- When the powerdown delay is set to FB_POWERDOWN_DISABLE, the mxc_epdc_fb_flush_updates() function does not execute correctly, always resulting in a time out while waiting to receive a completion that signals that all updates have completed. This causes long delays when changing the FB mode, since a mode change will always result in a call to mxc_epdc_fb_flush_updates(). Fixed this bug by creating a new mxc_epdc_fb_data variable to track whether all active updates have completed. mxc_epdc_fb_flush_updates() now keys off of this variable to determine whether to wait for all active updates to complete. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00144358 - EPDC fb: Fix race condition in how EPDC status is captured in ISTDanny Nold
- Capture EPDC status registers up front in IST, rather than when-needed during IST, to prevent potential race conditions where the status changes mid-IST. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00144136 - EPDC fb: Add TCE underrun workaround timeoutDanny Nold
- When synching update submission to EPDC end of frame (when tce_prevent is defined), we should wait using wait_for_completion_timeout to prevent hang/deadlock in case we don't receive completion. - Added call in IST to disable end of frame interrupt upon receiving the interrupt. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-05-31ENGR00144306-1 VPU: remove VPU IRAM config and add iram info to plat data.Sammy He
One kernel image is requested, however, we need to enable iram for performance improvement on mx53, and disable it on mx51 due to known issue. So use platform data to pass vpu iram disable/enable flag. And considering requested iram size also can be different per requirement, iram size is also set in platform data. Signed-off-by: Sammy He <r62914@freescale.com>
2011-05-24ENGR00142551-3 MXC V4L2:Change IPU interface for triple bufferLiu Ying
This patch changes IPU interface for MXC V4L2 to align with IPUv3 triple buffer support. When V4L2 is used, we'll change to use double buffer for display channel via internal framebuffer interface. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit db97e4d616f105bec1cfadf33e842fc624ecf0d5)
2011-05-24ENGR00142551-2 IPUv3 FB:Support HW triple bufferLiu Ying
This patch supports HW triple buffer for IPUv3 framebuffer. 1) Remove buf ready check in EOF irq handler, as we think the swap logic will not fail for HW triple buffer case. 2) When V4L2 output/overlay are used, switch to double buffer mode. 3) Changes IPU interface for IPUv1 framebuffer to pass building. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> Signed-off-by: Jason Chen <b02280@freescale.com> (cherry picked from commit 4ada3031e13207902f8c90b33c082759889cb22a)
2011-05-24ENGR00142551-1 IPUv3:Support triple bufferLiu Ying
This patch supports IPUv3 triple buffer. Only channel 23, 27 and 28 are tested. Test was done on MX51 BBG and MX53 SMD. IPUv1 interface is changed accordingly to pass building. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 73ef4408712acfee2d132f73555085a61be7b17c)