summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2010-09-01ENGR00126313-2 MX50: Add ePxP V4L2 output driverRobby Cai
Add ePxP V4L2 output driver, which calls ePxP DMAEngine internally. Support rotation, overlay, alpha-blending, colorkey, etc. Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-18ENGR00126327-2 - Max17135 EPD PMIC: Support Pass 2 and VCOM settingDanny Nold
Add support for platform-level selection of PMIC pass version. 1 and 2 supported currently. Also support platform-level selection of VCOM voltage value. Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-18ENGR00126213 - EPDC fb: Add ioctl to control powerdown delayDanny Nold
Ability added to control the delay between all updates being complete and the EPDC powering down. This provides user space control over how frequently the EPDC is undertaking a time-consuming enable/disable process. Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-17ENGR00126343 v4l2 output: jitters come out when show frame too quickJason Chen
It's easy to reproduce by run below cmd: ./mxc_v4l2_output.out -iw 320 -ih 240 -ow 1024 -oh 768 -fr 80 -d 3 qvga.yuv For performance, we did not check display in IC interrupt handle before. Output must sync to display. In this patch: 1. make stream begin with one buffer. 2. change timer_work name to icbypass_work. 3. add display sync to timer interrupt handler. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-17ENGR00126228 eMMC: Configure boot_partition_enableRichard Zhu
Enable the configurations of the boot enable on the eMMC cards. Add the interface that used to configure the boot_bus_width In order to make sure that the re-read the ext-csd of card can be completed successfully, add the method to wait for the finish of the busy state. NOTE: The following are the valid inputs when configure the boot bus width of the eMMC cards. +--------------------------------------------------------------------+ | Bit7 Bit6 Bit5 | Bit4 Bit3 | Bit2 | Bit1 Bit0 | |----------------|----------------------------------|----------------| | X | BOOT_MODE | RESET_BOOT_BUS_WIDTH | BOOT_BUS_WIDTH | +--------------------------------------------------------------------+ Bit [4:3] : BOOT_MODE (non-volatile) 0x0 : Use single data rate + backward compatible timings in boot operation (default) 0x1 : Use single data rate + high speed timings in boot operation mode 0x2 : Use dual data rate in boot operation 0x3 : Reserved Bit [2]: RESET_BOOT_BUS_WIDTH (non-volatile) 0x0 : Reset bus width to x1, single data rate and backward compatible timings after boot operation (default) 0x1 : Retain boot bus width and boot mode after boot operation Bit[1:0] : BOOT_BUS_WIDTH (non-volatile) 0x0 : x1 (sdr) or x4 (ddr) bus width in boot operation mode (default) 0x1 : x4 (sdr/ddr) bus width in boot operation mode 0x2 : x8 (sdr/ddr) bus width in boot operation mode 0x3 : Reserved The following are the valid inputs when configure the boot partitions of the eMMC cards. +------------------------------------------------------------+ | Bit7 | Bit6 | Bit5 Bit4 Bit3 | Bit2 Bit1 Bit0 | |------|----------|-----------------------|------------------| | X | BOOT_ACK | BOOT_PARTITION_ENABLE | PARTITION_ACCESS | +------------------------------------------------------------+ Bit7: Reserved Bit6: always set to vaule '1' when boot_part is enabled Bit[5:3]: 0x0 : Device not boot enabled (default) 0x1 : Boot partition 1 enabled for boot 0x2 : Boot partition 2 enabled for boot 0x7 : User area enabled for boot Bit[2:0]: 0x0 : No access to boot partition (default) 0x1 : R/W boot partition 1 0x2 : R/W boot partition 2 So only the '0, 1, 2; 8, 9, 10; 16, 17, 18; 56, 57, 58' are valid parameters when configure the boot_partiton. Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-04ENGR00125760-1 FEC: add mac field at platform dataFrank Li
Add mac field at platform data Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-07-26ENGR00125412-2 ipuv3 fb: fg should not bigger than bgJason Chen
Add check in mxcfb_check_var(), if fg size is bigger than bg, then make it same size as bg. Change the include/linux/ipu.h Signed-off-by: Jason Chen <b02280@freescale.com>
2010-07-23ENGR00125411 eMMC: Boot Partition switch func used in MFG toolRichard Zhu
User can get eMMC partitions info from user space layer in linux OS enviroment. User can do switch operations between the eMMC boot partitions and the user partition. User can access the eMMC boot partitions from user space layer in linux OS enviroment. NOTE:This func had been verified on TOSHIBA eMMC44 card only. Signed-off-by: Richard Zhu <r65037@freescale.com> Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-07-16ENGR00125052-1 Common codes changes when enable the eMMC44 DDRRichard Zhu
The modifications of linux kernel common codes when enable the eMMC44 DDR mode Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-07-15ENGR00125175 Add pxp_dma.h into include/linux/KBuildRobby Cai
Add pxp_dma.h into KBuild Signed-off-by: Robby Cai <R63905@freescale.com>
2010-07-12ENGR00124814-1 fb: Add i.MX EPDC fb driverDanny Nold
Added basic EPDC driver, including support for PXP conversions (rotation, auto-waveform selection, CSC). Self-clock gating also supported. Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-07-13ENGR00125034 [MX50] Add PxP DMA-Engine and PxP client driverRobby Cai
Use Common DMA-Engine framework to implement ePXP driver Use a dma client driver to access ePxP staff. Signed-off-by: Danny Nold <dannynold@freescale.com> Signed-off-by: Robby Cai <R63905@freescale.com>
2010-07-12ENGR00124812-1: Support Maxim E-Ink PMICDanny Nold
Added new regulator driver to control voltage supplies for E-Ink panel. Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-07-12ENGR00124942 MX51: YUV422 output for 720P datamark gutman
Ignore UGDE using for non YUYV output formats Signed-off-by: Mark Gutman <r58412@freescale.com>
2010-07-12ENGR00124963 USB: add vbus enable/disableHu hui
support imx53 evk board OTG and Host1 vbus active and inactive to low the power consume, fix fsl_otg.c build failt, add vbus power control function pointer in struct fsl_usb2_platform_data. Signed-off-by: Hu hui <b29976@freescale.com>
2010-06-25ENGR00124569 IPUv3:Change for support VDI in IPU libLiu Ying
1) Support select VDI input channel buffer ioctrl. 2) Add VDI input channels' EOF interrupt. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-06-15ENGR00119736 MX51: YUV422 output for 720P datamark gutman
The support for YUV422 different combinations are added The YUV422 is supported for DI1 interface for 720P frames with 16bits bus only: di1_primary video=mxcdi1fb:YUYV16,720P60 To define required YUV422 format use one of: YUYV16 YVYU16 UYVY16 VYUY16 Signed-off-by: Mark Gutman <r58412@freescale.com>
2010-06-11ahci: Add platform driverAnton Vorontsov
This can be used for AHCI-compatible interfaces implemented inside System-On-Chip solutions, or AHCI devices connected via localbus. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-06-11[libata] add DMA setup FIS auto-activate featureShaohua Li
Hopefully results in fewer on-the-wire FIS's and no breakage. We'll see! Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-06-08ENGR00124023 v4l2 output:modify the operation of ic-bypass modeJason Chen
/unit_test//unit_tests/mxc_v4l2_output.out -iw 1920 -ih 1080 -ow 1920 -oh 1080 -d 3 -l 600 -fr 80 /dev/shm/1920_1080_E18_c2.yuv Error information: It report the following error: video4linux video16: unable to update buffer 0 address rc=-13 Fix above issue by modify the operation of ic-bypass mode. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-05-17ENGR00123512 ipu: fix ipu lib compile errorJason Chen
Fix ipu lib compile error after 4-stripes resize patch pushed. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-05-16ENGR00123294 MX53: 4 stripes algorithm for support resizing for big screenmark gutman
The updated algorithm allows output frame size up to 2048x2048 Signed-off-by: Mark Gutman <Mark.Gutman@freescale.com>
2010-05-14phylib: Move workqueue initialization to a proper placeAnton Vorontsov
commit 541cd3ee00a4fe975b22fac6a3bc846bacef37f7 ("phylib: Fix deadlock on resume") caused TI DaVinci EMAC ethernet driver to oops upon resume: PM: resume of devices complete after 237.098 msecs Restarting tasks ... done. kernel BUG at kernel/workqueue.c:354! Unable to handle kernel NULL pointer dereference at virtual address 00000000 [...] Backtrace: [<c002c598>] (__bug+0x0/0x2c) from [<c0052a54>] (queue_delayed_work_on+0x74/0xf8) [<c00529e0>] (queue_delayed_work_on+0x0/0xf8) from [<c0052b30>] (queue_delayed_work+0x2c/0x30) The oops pops up because TI DaVinci EMAC driver detaches PHY on suspend and attaches it back on resume. Attaching makes phylib call phy_start_machine() that initializes a workqueue. On the other hand, PHY's resume routine will call phy_start_machine() again, and that will cause the oops since we just destroyed the already scheduled workqueue. This patch fixes the issue by moving workqueue initialization to phy_device_create(). p.s. We don't see this oops with ucc_geth and gianfar drivers because they perform a fine-grained suspend, i.e. they just stop the PHYs without detaching. Reported-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Tested-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-14phylib: Properly reinitialize PHYs after hibernationAnton Vorontsov
Since hibernation assumes power loss, we should fully reinitialize PHYs (including platform fixups), as if PHYs were just attached. This patch factors phy_init_hw() out of phy_attach_direct(), then converts mdio_bus to dev_pm_ops and adds an appropriate restore() callback. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-12ENGR00123280 MX5x SRTC: Add ioctls for time set notificationAnish Trivedi
Implement RTC_READ_TIME_47BIT and RTC_WAIT_FOR_TIME_SET ioctls. Updates based on review comments. Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-05-12ENGR00122216-2 Support LDB driverLiu Ying
This patch adds LDB driver support. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-05-12ENGR00123078-1 MX28: Add L2 Switch resources definitionNiu Xule
L2 Switch resources definition for MX28 Signed-off-by: Niu Xule <b23300@freescale.com>
2010-05-05ENGR00122964 Second pass at unified i.MX23/i.MX28 NAND Flash driverPatrick Turley
Deleted the old drivers. Broke the driver into separate files, for readability and to isolate hardware dependencies. Fixed bad block problems in the boot area for the i.MX23. At this writing, UBI can't handle MTDs larger than 2GiB. If the general use partition is larger than 2GiB, the driver will create sub-partitions, none of which are larger than 2GiB. Updated the default configs for the i.MX23 and i.MX28. Other, miscellaneous changes. Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-04-27ENGR00122629 Unified i.MX23/i.MX28 NAND Flash DriverPatrick Turley
This driver unifies the i.MX23 and i.MX28 NAND Flash drivers into a single driver that supports both SoC's. Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-04-01ENGR00122124 iMX23 enable USB otg pin detectFrank Li
iMX23 evk RevC using gpio as usb id. usb_id pin is conflict with mmcsd detection pin Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-03-31ENGR00121497-2 MX28 USB 100mA current drawFrank Li
Add USB 100mA limitation feature for mx28 to mach usb 2.0 current requirment Signed-off-by: Frank Li <Frank.li@freescale.com>
2010-03-16ENGR00117742-1 add usb support for mx28Albert Chen
add usb support for mx28 include usb host and usb device Signed-off-by: Albert Chen <r65187@freescale.com>
2010-03-16ENGR00117744-2 i.MX28 EVK ENET(Single) supportJason
FEC driver support for i.MX28 Signed-off-by:Jason Liu <r64343@freescale.com>
2010-02-10ENGR00119169 V4L2 capture:enable CSI after PRP channels are setupLiu Ying
To preview with V4L2 overlay and capture at the same time may fail. This patch implements workaround for this issue by enabling CSI after PRP channels are setup. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-02-08ENGR00120615-1 Add IPU_CSC_UPDATE case for ipu ioctlSammy He
Add IPU_CSC_UPDATE case for ipu ioctl. Signed-off-by: Sammy He <r62914@freescale.com>
2010-02-04ENGR00120393-1 imx: Add iram allocator functionsRob Herring
Add iram allocation functions using GENERIC_ALLOCATOR. The allocation size is 4KB multiples to guarantee alignment. Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-01-26ENGR00120428 v4l2 output: jitter after blank/unblank fbJason Chen
blank/unblank fb during v4l2 playback, unblank will cause current buffer of display channel to be 1. This patch make the sequence of select display buffer correct. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-01-25ENGR00120370 v4l2 output: fix display fail for blank fb during video playrel_imx_2.6.31_10.02.00Jason Chen
1. Blank BG during video play on FG: ./mxc_v4l2_output.out -iw 320 -ih 240 -ow 1024 -oh 768 -d 3 qvga.yuv echo 1 > /sys/class/graphics/fb0/blank echo 0 > /sys/class/graphics/fb0/blank 2. The same input and output (ic_bypass): ./mxc_v4l2_output.out -iw 320 -ih 240 -ow 320 -oh 240 -d 3 qvga.yuv echo 1 > /sys/class/graphics/fb0/blank echo 0 > /sys/class/graphics/fb0/blank Signed-off-by: Jason Chen <b02280@freescale.com>
2009-12-18ENGR00119070 IPUv3 FB:Support DP local alpha in pixelLiu Ying
Modify MXCFB_SET_LOC_ALPHA ioctrl to support DP local alpha with alpha value contained in pixel. Signed-off-by: Liu Ying <b17645@freescale.com>
2009-12-17ENGR00119136 ipuv3: support 720p for ipu libJason Chen
To support 720p output for ipu lib. Signed-off-by: Jason Chen <b02280@freescale.com>
2009-12-03ENGR00117147-1 USB clock gating and PHY low power mode.Jun Li
If there is no usb devices connectted or all connectted usb devices are in suspend state, usb host can suspend its whole bus, then put the PHY into low power mode and close all usb clocks. (The patch is splitted 2 patches, this is common code part.) Signed-off-by: Li Jun <r65092@freescale.com>
2009-11-30ENGR00118729 MX51 SCC: Change SMN_STATUS_SMN_ERROR offset to 0x4000Anish Trivedi
Changed bit definition from 0x8000 to 0x4000 Signed-off-by: Anish Trivedi <anish@freescale.com>
2009-11-24ENGR00116313 ipuv3: DP gamma supportJason Chen
Support DP gamma by setting piecewise linear approximation, application need set coefficient const[k] and slope[k]. The algorithm to calculate these coefficient pls refer to unit test. Signed-off-by: Jason Chen <b02280@freescale.com>
2009-11-17ENGR00116517 [MX233_BSP] Port ThreadX SDK NAND Flash device identificationPatrick Turley
Added the device identification and timing database. Adjusted the GPMI NAND Flash driver to use this information. Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2009-11-02regulator: Allow consumer supplies to be set up with dev_name()Mark Brown
Follow the approach suggested by Russell King and implemented by him in the clkdev API and allow consumer device supply mapings to be set up using the dev_name() for the consumer instead of the struct device. In order to avoid making existing machines instabuggy and creating merge issues the use of struct device is still supported for the time being. This resolves problems working with buses such as I2C which make the struct device available late providing that the final device name is known, which is the case for most embedded systems with fixed setups. Consumers must still use the struct device when calling regulator_get(). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2009-11-01ENGR00117843 Missing i.MX headers for kernel headers_installLily Zhang
Add i.MX specific files into include/linux/Kbuild Signed-off-by: Lily Zhang <r58066@freescale.com>
2009-10-26ENGR00116798:MX51: Add support to handle potential hang on SCC HW failute.Raj Rajasekaran
-Added kernel error message to handle hang due to SCC HW failure. -Eliminated unwanted sleeps. -Kernel error message to handle the case when SCC key fuses are not blown. Signed-off-by: Raj Rajasekaran <b10872@freescale.com>
2009-10-26ENGR00115576 ipuv3: support for 720P upsizingMark Gutman
A new feature is added to support to upsizing by horizontal stripes via IC PP channels double using. Signed-off-by: Mark Gutman <r58412@freescale.com>
2009-10-26ENGR00116558: MX233: USB pin detectRob Herring
MX233: Restructure the STMP378xxx USB Host and Gadget device structures to be similar to MXC structures. Enable fsl_otg_arc driver to work on MX233 platform. Remove FSL_USB2_DONT_REMAP requirement. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Conflicts: arch/arm/mach-stmp3xxx/Kconfig arch/arm/mach-stmp3xxx/Makefile arch/arm/mach-stmp3xxx/devices.c arch/arm/mach-stmp3xxx/include/mach/stmp3xxx.h arch/arm/mach-stmp3xxx/stmp378x_devb.c
2009-10-26ENGR00115875 add USB gadget low power mode feature.Albert Chen
USB will enter low power mode if no vbus power supply. Only finished this feature in Mx37. 1. When enter low power mode, driver will close usb related clocks as possible as could. set usb IP to stop. Set PHY to low power suspend by setting PHCD bit of portsc. 2. This patch doesn't support low power mode in OTG mode yet. Signed-off-by: Albert Chen <r65187@freescale.com>