summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2012-07-20Revert "ENGR00125411 eMMC: Boot Partition switch func used in MFG tool"Jason Liu
This reverts commit 9f26eaa231cf2a19064c5589a3515bdd60af596a.
2012-07-20Revert "ENGR00126228 eMMC: Configure boot_partition_enable"Jason Liu
This reverts commit b35268ca923a8785ab311170b0a84210b3c7863e.
2012-07-20fix build errorJason Liu
Signed-off-by: Jason Liu <jason.hui@linaro.org>
2012-07-20ENGR00169661:Remove the discharge for VBUS and DPTony LIU
header file - remove the definition of discharge dp Signed-off-by: Tony LIU <junjie.liu@freescale.com>
2012-07-20ENGR00163669-1 mxc fb: remove FB_EVENT_PREMODE_CHANGE for mxc fb driversWayne Zou
remove FB_EVENT_PREMODE_CHANGE for mxc ldb/tve drivers add dispdrv setup interface for ldb/tve drivers re-structure the dispdrv framework for display devices Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-20ENGR00163497-1 Add a "io_init" function to fsl camera platform dataEven Xu
Add a new member named "io_init" to fsl camera platform data, this Function can initialize IO of camera sensor before it works. Signed-off-by: Even Xu <b21019@freescale.com>
2012-07-20ENGR00161951-1 [mx6q]performance monitor driverTony Lin
add plt_init & plt_exit functions to structure, so that the driver would have chance to do platform specific init and exit Signed-off-by: Tony Lin <tony.lin@freescale.com>
2012-07-20ENGR00162583-3 usb header: avoid class driver access register after usb is offPeter Chen
- An well-behavior class driver should disable their endpoints after being notified disconnect with host, we use all endpoints are stopped (ep->stopped) to indicates the class driver will not visit device driver any more. the ep-stopped will be initialized as 1 for non-control endpoint it will be 0 after fsl_ep_enable, and be 1 after fsl_ep_disable. Where is a non-sleep wait routine at disconnect event for waiting all endpoints are stopped - Some controller's (like i.mx6q) DP will change from J to SE0 slowly after the cable disconnects with host, in that case there will be a wakeup interrupt after driver enables the wakeup interrupt. For i.mx6q, there is a discharge routine for DP after the disconnection. - Should not wait vbus to low during first otg switch, as the wait will be timeout when the usb cable is connecting to host. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2012-07-20ENGR00162010-2 [Thermal]Add calibration to thermalAnson Huang
1. Read calibration from fuse to adjust formula for thermal driver; 2. For the parts that didn't contain valid calibration data, cooling device will be disabled; Signed-off-by: Anson Huang <b20788@freescale.com>
2012-07-20ENGR00143921-1 - EPDC/MAX17135: Add controls for V3P3 regulatorDanny Nold
- Added V3P3 regulator to max17135 - Added calls to enable/disable V3P3 regulator from EPDC driver - Improved Kconfig detail for max17135 MFD and HWMON entries Signed-off-by: Danny Nold <dannynold@freescale.com>
2012-07-20ENGR00161444 V4L2: Fix v4l2 capture build errorFrank Li
Fix v4l2 build error. revert mxc_v4l2.h to 01c98ebc63d Signed-off-by: Frank Li <Frank.Li@freescale.com>
2012-07-20ENGR00159982 - FEC: low power mode when FEC is no use.Fugang Duan
- Set phy AR8031 to save power mode when no cable connect. - Close enet clock gate when FEC is no use. Signed-off-by: Fugang Duan <B38611@freescale.com>
2012-07-20ENGR00160878-1 mxc v4l2 output: new mxc v4l2 output driver based on videobufJason Chen
This new v4l2 output driver is based on videobuf, using dma contig alloc method. It creates video dev node for each display framebuffer begin from /dev/video16 by default. If need post-processing, this driver will do it by ipu pp driver which support: - resizing - CSC - rotate - deinterlacing If no need post-processing, the IPU IC will be bypassed as old driver, the buf will be set to fb buffer directly by crack fb smem_start. The user should do setting before streamon like below: 1. set output crop 2. set ctrl like rotate/vflip/hflip/deinterlacing motion 3. set fmt 4. reqbuf The new features compare to old driver: - support multi-instance - support user point buffer - runtime suspend/resume For suspend/resume, still has chance to meet issue on mx6q, will fix later. This patch for head file. Signed-off-by: Jason Chen <b02280@freescale.com>
2012-07-20ENGR00160875-1 ipuv3 dev: low performance if enable rotationJason Chen
1. no dma alloc for rot buf every time which will cost time. 2. fix split mode condition. 3. export some functions. This patch for common head file. Signed-off-by: Jason Chen <b02280@freescale.com>
2012-07-20ENGR00161314-3 mx6q usb-host: add hsic supportPeter Chen
Header file Signed-off-by: Peter Chen <peter.chen@freescale.com>
2012-07-20ENGR00161014 ASoC: don't clobber platform DMA driver opsAlan Tull
Previously, only one static struct for ops existed for all platform DMA drivers to share. Half of the ops are shared functions which don't have stubs in the ALSA core. The other half are initialized to point directly to ops in the platform driver. This creates problems where each time soc_new_pcm is called, the new platform driver's ops would overwrite a subset of the ops. Signed-off-by: Alan Tull <alan.tull@freescale.com>
2012-07-20ENGR00160797-2 Add Anatop regulator driverNancy Chen
Add Anatop regulator driver. Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2012-07-20ENGR00160860-2 hdmi audio driverAlan Tull
Audio driver for i.Mx built-in HDMI Transmitter. * Uses HDMI Transmitter's built-in DMA. * Adds IEC958-style digital audio header info to the raw audio. * Gets pixel clock from the IPU driver and calculates clock regenerator values (cts and N). * Move ipu_id, and disp_id from the HDMI's platform data to the HDMI mfd's platform data. Saves them in the hdmi mfd. * Add mfd functionality to update the clock regenerator values when the hdmi changes the pixel clock rate or when requested from the audio driver with a new audio sample rate. Signed-off-by: Alan Tull <alan.tull@freescale.com>
2012-07-20ENGR00159530-1 mc34708: add new pmic core driver based on MFDRobin Gong
add new mc34708's core driver based on MFD Signed-off-by: Robin Gong <B38343@freescale.com>
2012-07-20ENGR00160709-1 Move board specific code out of FEC driverMahesh Mahadevan
Move the board specific code out of the FEC driver to the platform layer Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
2012-07-20ENGR00139265-2 mxc alsa soc spdif driverAlan Tull
* Add spdif block clock divider settings and spdif_clk_set_rate function to mxc_spdif_platform_data. Signed-off-by: Alan Tull <alan.tull@freescale.com>
2012-07-20ENGR00160061 - MXC HDMI: Optimize HDMI clock managementDanny Nold
- Ensure HDMI clocks are disabled when leaving HDMI core probe function. - Create HDMI core api to allow HDMI sub-drivers to init, enable, and disable the HDMI IRQ. Required to optimally manage HDMI clocks, allow IAHB to be disabled, and still have video and audio sub-drivers able to receive interrupts. - Update code to adjust for decoupled ISFR and IAHB clocks. - Disable IAHB clocks whenever HDMI not plugged in. Signed-off-by: Danny Nold <dannynold@freescale.com>
2012-07-20ENGR00158456-1 ipuv3 dev: return error for split mode with rotationJason Chen
Currently we do not support split mode with rotation. Signed-off-by: Jason Chen <b02280@freescale.com>
2012-07-20ENGR00156976 - PxP: fix imx-lib build breakDanny Nold
Change from u8 declaration in pxp_dma.h to __u8 Signed-off-by: Danny Nold <dannynold@freescale.com>
2012-07-20ENGR00156420 - EPDC/PxP: Add support for color mapDanny Nold
- Add support for 8-bit grayscale colormaps to be used during EPDC update processing - Add support in PxP for programming of colormaps Signed-off-by: Danny Nold <dannynold@freescale.com>
2012-07-20ENGR00156673-1 ipuv3: move mach related definition to mach dirJason Chen
for include/linux/ipu.h. Signed-off-by: Jason Chen <b02280@freescale.com>
2012-07-20ENGR00155135-1 ipuv3 dev: add processing driver supportJason Chen
IPU's IC/IRT/VDI modules provide resizing/CSC/combination/de-interlacing support, this patch make all these features into one processing driver. A struct ipu_task is the interface between user and this driver, user just need fill his task struct and queue it through ioctl, then wait ipu hardware finish its job (now only support BLOCKING operation, not support NO_BLOCK operation). Pls refer to inlcude/linux/ipu.h for structure information and unit test for usage. This patch is for header file change. Signed-off-by: Jason Chen <b02280@freescale.com>
2012-07-20ENGR00154436-2 - MXC HDMI: Support complete feature setDanny Nold
- Cleaned up video mode configuration in HDMI driver - Add support for configurable ipu-to-hdmi mappings - Add hotplug support. - Adapt interrupt handling to account for sharing interrupt with HDMI audio - Remove audio configuration - Change code to only use CEA HDMI modes - Add support for AVI InfoFrame - Add aspect ratio to EDID mode data - Add rounding support to IPU pix clk setup - Add powerdown/powerup flow - Support FB notifications - Remove build warnings Signed-off-by: Danny Nold <dannynold@freescale.com>
2012-07-20ENGR00155845-1 mfd for hdmiAlan Tull
This is a mfd for the internal HDMI Transmitter on i.Mx. It handles resources that are shared by the seperate video and audio drivers. Signed-off-by: Alan Tull <alan.tull@freescale.com>
2012-07-20ENGR00155627-1 [MX6]Add thermal cooling devieAnson Huang
1.Common code of thermal_sys has some bug,could not set the mode via sysfs using echo enable/disabled command; 2.Since the anatop thermal formula still not accurate, in order to help test and adjust the trip point of anatop thermal zone, we add the set trip point temp value into the sysfs interface. Signed-off-by: Anson Huang <b20788@freescale.com>
2012-07-20ENGR00153895 [MX6Q]SD: SD3 clock is not off, when no SD card is in useTony Lin
the patch brings in clock management, not only card removal will gate off corresponding SD clock, but also a timeout after last request will gate off the SD clock. Signed-off-by: Tony Lin <tony.lin@freescale.com>
2012-07-20ENGR00154108-1 fsl_devices.h: make ldb support two ipu in separate modeJason Chen
make ldb support two ipu in separate mode Signed-off-by: Jason Chen <b02280@freescale.com>
2012-07-20ENGR00153740-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>
2012-07-20ENGR00139238-1 include: add p1003_ts_platform_data to fsl_device.hFrank Li
Add p1003_ts_platform_data to fsl_device.h Signed-off-by: Frank Li <Frank.Li@freescale.com>
2012-07-20ENGR00153217-1 fsl_devices.h: change fsl_mxc_lcd_platform_dataJason Chen
change fsl_mxc_lcd_platform_data. Signed-off-by: Jason Chen <b02280@freescale.com>
2012-07-20ENGR00152359-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>
2012-07-20ENGR00139235-1 include: fsl_device add clock name in platform dataTerry Lv
Add clock name, max_volt, min_volt field Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00152547-02 [MX6Q]add SDHC3.0 support on uSDHC controllerTony Lin
add CMD used on SDHC3.0 card add specific parameters for SDHC3.0 card tuning Signed-off-by: Tony Lin <tony.lin@freescale.com>
2012-07-20ENGR00152845-7 header file: support mult ipu and dispdrv.Jason Chen
Head files changes for mult ipu and dispdrv. Signed-off-by: Jason Chen <jason.chen@freescale.com>
2012-07-20ENGR00152845-5 fb: add PREMODE_CHANGE event support.Jason Chen
change fb.h to support PREMODE_CHANGE event. Signed-off-by: Jason Chen <jason.chen@freescale.com>
2012-07-20ENGR00139461-2 mxc alsa soc spdif driverAlan Tull
S/PDIF tx and rx using ASoC layer. Signed-off-by: Alan Tull <alan.tull@freescale.com>
2012-07-20ENGR00142551-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)
2012-07-20ENGR00142551-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)
2012-07-20ENGR00142950-2 - MAX17135 EPD PMIC: Ported to 2.6.38 kernelDanny Nold
- Ported MAX17135 MFD core driver to 2.6.38 - Ported MAX17135 HWMON temperature sensor driver to 2.6.38 - Ported MAX17135 regulator driver to 2.6.38 Signed-off-by: Danny Nold <dannynold@freescale.com>
2012-07-20ENGR00142950-1 - EPDC fb: Add support for 2.6.38Danny Nold
- Bring EPDC driver up-to-date - Add mxcfb_epdc_kernel.h - Change structure definitions from mxc_ to imx_ where needed to match platform structure names Signed-off-by: Danny Nold <dannynold@freescale.com>
2012-07-20ENGR00141552 ipuv3: fix display pin's power leakJason Chen
If you disable display, the display port's pin may keep high voltage which may cause power leakage. Fix this issue by make all pin go into low level after display disable. Signed-off-by: Jason Chen <b02280@freescale.com>
2012-07-20ENGR00141152-1 header file: make default display optionJason Chen
After this patch, default display for below platforms: mx51 bbg: DVI-XGA on DI0 mx53 ard: LVDS-XGA on DI0 mx53 evk: CLAA-WVGA on DI0 mx53 loco: VGA-XGA on DI1 mx53 smd: LVDS-XGA on DI1 The default options will work if you do not enter other video cmdline options. For platform need enable other drivers, it will enable it automatically. For example, under default option, mx53 loco will enable tve-vga driver automatically; before this patch, it need add 'vga' to cmdline to enable it. And 'di1_primary' option also will be enabled automatically if need. If you want to overwrite the default option, please refer to below: enable vga: 'vga' disable vga: 'vga=off' enable tve: 'tve' disable tve: 'tve=off' enable ddc: 'ddc' disable ddc: 'ddc=off' enable hdmi: 'hdmi' disable hdmi: 'hdmi=off' choose di0 as primary: 'di0_primary' choose di1 as primary: 'di1_primary' Signed-off-by: Jason Chen <b02280@freescale.com>
2012-07-20ENGR00137340-1 ASOC: add headphone detection support for imx-sgtl5000.cZhang Jiejing
add a asoc headphone detection, it's a generic way using by asoc area. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2012-07-20ENGR00142089-2 MX51/MX53 Upgrade SCC2 and SAHARA drivers to 2.6.38Anish Trivedi
Removed SCC2 IRQ definitions from header file since IRQs will be obtained from resource array during probe function. Signed-off-by: Anish Trivedi <anish@freescale.com>
2012-07-20ENGR00141987-2 add the definition of pwm platform dataYuxi Sun
Add the definition of pwm platform data Signed-off-by: Sun Yuxi <b36102@freescale.com>