summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2011-06-01ENGR00140893-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-06-01ENGR00140543 ISL29023:Add device head file to KbuildLiu Ying
This patch adds device head file to Kbuild to pass unit test build. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-06-01ENGR00140401 SET_BLOCKLEN shouldn't be sent when eanble DDRRichard Zhu
Customer provided this patch, the SET_BLOCKLEN shouldn't be sent when enable the DDR mode required by customer's iNand. Tested by customer on it's own board. BTW, this patch is not needed on 2.6.38 kernel, should be discarded after upgrade the kernel version. Signed-off-by: Richard Zhu <r65037@freescale.com>
2011-06-01ENGR00140086-1 - EPDC fb: Alternate buffer virtaul address handled incorrectlyDanny Nold
- Removed virtual address parameter (virt_addr) for alternate buffer feature, as it is no longer used. NOTE: This file was accidentally omitted from first commit for this CR. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00139383-1 Add ISL29023 light sensor supportLiu Ying
This patch adds ISL29023 light sensor support. Users may control the light sensor work at different modes/ranges/resolutions or read the lux value via sysfs. A power state node is also created in sysfs. If the light sensor works at ALS once mode, users need to power down/power up the sensor before read the lux value again. Currently, IR(Infra Red) mode is not supported. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-06-01ENGR00139643-2 header file: can not read edid at probe for first power onJason Chen
Need enable analog regulator. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-06-01ENGR00139354-2 header file: add common ddc driver supportJason Chen
Add common DDC driver support. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-06-01ENGR00137879-1 input: add HannStar p1003 touch screen driverZhang Jiejing
This is HannStar p1003 touch screen driver with Ilitek firmware multitouch(two point at max) touch screen driver. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com> Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2011-06-01ENGR00138644-2 header file: change the video mode setting methodJason Chen
Header files change for changing the video mode setting method. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-06-01ENGR00138513 - EPDC fb: Auto-waveform selecting wrong waveform modeDanny Nold
- Software workaround for PxP alignment/histogram limitation implemented For updates using auto-waveform selection and using update region dimensions that are not 8x8 multiples, the update region is copied into a temporary buffer and the margins filled with 0s. This buffer becomes the input to the PxP. - PxP/EPDC buffer offsets adjusted to properly handle all rotation cases. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00138270-1 header file: change ipu_check_buffer_busy func name.Jason Chen
Change ipu_check_buffer_busy to ipu_check_buffer_ready. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-06-01ENGR00137979-3 add performance monitor driverTony Lin
add performance monitor driver. sample: cd /sys/devices/platform/mxs-perfmon.0/ 'echo 1 > MIDn-xxx' to enable monitor this channel n: channel number; xxx: name of channel (PXP, LCD...) you can enable the multiple channels you want to monitor respectively using this command. use following command to check the channel is enabled 'cat MIDn-xxx' 1: enable; 0: disable 'echo read > Monitor' to monitor all read activities 'echo start > Monitor' to start monitoring 'echo fetch > Monitor' to get a snapshot of monitor statistics. 'cat xxx_Count' to show the statistics. xxx: name of statistics, (Data, Transfer, Latency...) 'echo clear > Monitor' to clear snapshot of monitor statistics. 'echo stop > Monitor' to stop monitoring Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-06-01ENGR00136874-1 pwrkey: enhance the driver to support key press statusXinyu Chen
Add get keypad press status callback and desired send key value to the platform data. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2011-06-01ENGR00137872-3 usb: move wakeup handle from driver to MSLPeter Chen
Move the wakeup interrupt handler from the driver to MSL. Add clk disable if the register gadget driver is failed. The clk operation function should not be called at irq_disabled context. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-06-01ENGR00137666-2 srtc: remove mxc_srtc_platform_data structLily Zhang
remove mxc_srtc_platform_data struct from srtc driver Signed-off-by: Lily Zhang <r58066@freescale.com>
2011-06-01ENGR00136007-2 ASRC: change clk and fix one errataLily Zhang
ASRC driver change to support MX53 TO2.0 - MX53 clk source is different from MX35. Add clk map version. - Get ASRC irq from resource data - Add the fix for the errata ENGcm11413: Use pgprot_writecombine instead of pgprot_noncached - fix compiler error Signed-off-by: Lily Zhang <r58066@freescale.com>
2011-06-01ENGR00137556-2 porting da9053 pmic driverZhou Jingyu
porting da9053 pmic driver Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2011-06-01ENGR00137556-1 add da9053 pmic driverDavid Dajun Chen
Add DA9053 source code from Dialog The code revision is 3r0 and it is base on DA9052 driver code Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: David Dajun Chen <Dajun.Chen@diasemi.com>
2011-06-01ENGR00137602-1 input: FSL MPR121 capacitive touch button.Zhang Jiejing
This button driver is based on Freescale MPR121 capacitive touch sensor controller. It can support 12 elements maximal. The chip is use i2c interface. You can find all the data sheet reference in code by google the name. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2011-06-01ENGR00137317-2 USB: handle non-intent wakeup irq triggered by PHCD changeZhang Yan
PORTSC PHCD will be changed while system shuts down usb host. This triggers wake-up interrupt. But it's not host wake-up or device wake-up. OWIR bit in USBCTRL doesn't be cleared. It keeps bring interrupt on. So - Clear OWIR bit in wakeup ISR if host/device doesn't need to wake up. - Close wakeup irq before shut down USB host. Signed-off-by: Zhang Yan <b34916@freescale.com>
2011-06-01ENGR00134274 - EPDC fb: Optimize update flow by merging compatible updatesDanny Nold
- Created a worker thread to centralize all update requests (new and collisions) - Added routine to merge compatible updates - Separated PXP processing from update ioctl and ISR flows into workqueue flow - Added IOCTL to turn control the update scheme. Supported schemes are snapshot mode (the old update scheme), queued mode, and queued mode with combining. - Added collision-handling refinement based on update submission order - Added support for 8bpp setting from kernel command line option Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00136097-1 pmic mc13892: Add PWRON3 power event supportXinyu Chen
Enable the PWRON3 event in mc13892. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2011-06-01ENGR00133794 - EPDC fb: Make IOCTL functions accessible from kernel modulesDanny Nold
- Created global to hold EPDC fb data structure - Created new functions to ensure all ioctls map to functions - Created header file to declare functions accessible from other kernel modules Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00134154-3 usb: add sync between usb resume and usb wakeup threadPeter Chen
The usb wakeup thread should be prior to usb system resume during usb wakeup process. It adds wait_event_interruptible at usb resume process, and the usb wakeup irq will set event, and the usb wakeup thread will clear event. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-06-01ENGR00133954-2 ipuv3: remove FB_SYNC_EXT flagJason Chen
FB_SYNC_EXT was used to represent ext clk, but actually, it represent ext sync. Some applications do not recognize it, during fb_set_var ioctl may miss it, which will cause fb display fail, for example X window startup. Remove FB_SYNC_EXT flag, and choose ext clk support by ipu driver. If you want to use ipu internal clk only, you can add int_clk to your video option like below: video=mxcdi0fb:RGB565,800x480M@55,int_clk Signed-off-by: Jason Chen <b02280@freescale.com>
2011-06-01ENGR00133795-1 FSL Dev:Add CVBS support for TVin platform dataLiu Ying
This patch adds CVBS support for TVin platform data. Signed-off-by: Liu Ying <b17645@freescale.com>
2011-06-01ENGR00122167-1 ipuv3: adding VGA support.Jason Chen
Add VGA support for ipu basic driver and fb driver. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-06-01ENGR00133318-1 IPUv3 CSI:Support SMFC channel interlaced scan orderLiu Ying
This patch supports interlaced scan order for CSI->SMFCx->MEM channels. Signed-off-by: Liu Ying <b17645@freescale.com>
2011-06-01ENGR00133702-2 usb host1: Add usb host1 low power and wakeup support for mx28Peter Chen
Driver part Add usb low power and wakeup support for mx28 usb1, in that means, when the usb h1 is not in used, the host1 will close usb core and phy's clock. When an usb activity happens, the usb can be wakeup from low power mode. Meanwhile, the usb host1 can also be system wakeup source through sys entry like other platforms. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-06-01ENGR00133481-2 [MX28] eMMC Write failed on MX28 boardsRichard Zhu
Removed one useless DDR releated macro definition, refer to the kernel upgrade from 31 to 35. Signed-off-by: Richard Zhu <r65037@freescale.com>
2011-06-01mtd: add init_size hook for NAND driverHuang Shijie
Not all the NAND devices have all the information in additional id bytes. So add a hook in the nand_chip{} is a good method to calculate the right value of oobsize, erasesize and so on. Without the hook,you will get the wrong value, and you have to hack in the ->scan_bbt() to change the wrong value which make the code mess. Signed-off-by: Huang Shijie <shijie8@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-06-01ENGR00132537-1 - EPDC fb/PxP: Support conversion from grayscale to monochromeDanny Nold
- User can specify a flag (EPDC_FLAG_FORCE_MONOCHROME) to have 8-bit grayscale converted to monochrome (black or white) via processing in the PxP (using the LUT). - Added logic to check against the full videomode when identifying the desired FB mode. This allows support for multiple modes with the same dimensions. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00133478-2 IMX USB:move clk_enable from irq context to thread contextHu hui
Driver Part move the usb clk_enable from irq context to a kernel thread context, so that the voltage can be changed in clk_enable function. Signed-off-by: Hu Hui <b29976@freescale.com>
2011-06-01ENGR00133178-8 NAND : add ONFI NAND commandsHuang Shijie
add the new ONFI NAND commands to the common header file. Signed-off-by: Huang Shijie <b32955@freescale.com>
2011-06-01ENGR00132935-1 fsl dev:Add pwm enable/disable pad functionsLiu Ying
This patch adds pwm enable/disable pad functions declaration to pwm platform data in fsl_device.h. Signed-off-by: Liu Ying <b17645@freescale.com>
2011-06-01ENGR00132875-1: Fix EIM IOMUX settings that break keypadRanjani Vaidyanathan
Create a platform specific power management data structure that will facilitate platform specific functions to be called during suspend/resume. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2011-06-01ENGR00124788-1 Add Linear PMIC supportNancy Chen
Add Linear PMIC support. Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2011-06-01ENGR00126326-2 - MAX17135: Add support for temperature sensor monitoringDanny Nold
- MAX17135 re-architected: - Core functionality, including I2C access to the chip, moved into drivers/mfd/max17135-core.c - MAX17135 regulators registered via init() callback in plat-specific code. - All access to registers funnelled through max17135_reg_read/write() apis. - max17135.h moved from regulator/ folder into mfd/ folder. - Support for reading internal and external temperature via sysfs interface, consistent with lm-sensors hwmon interface. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00132525-2 sgtl5000: audio clock gatingAlan Tull
Turn off audio clock when possible. Empirical data says that we need to leave the clocks on for 300 mSec after all codec writes are done so schedule work to do that. Signed-off-by: Alan Tull <alan.tull@freescale.com>
2011-06-01ENGR00132639-2 Power: mxc_pwerkey break mx25 kernel buildHu hui
Driver Part define a new platform data struct, and Put the pmic callback register into platform data structure, then we can cover all pmic Signed-off-by: Hu Hui <b29976@freescale.com>
2011-06-01ENGR00132459-1 MXC: Add platform_data structure for PWMWilliam Lai
Add platform_data structure for PWM. Signed-off-by: William Lai<b04597@freescale.com>
2011-06-01ENGR00131965-1 CAN: Extend the flexcan_platform_data structureWilliam Lai
Extend the flexcan_platform_data structure, adding root_clk_id to choose the root clock for the CAN module in CCM. Signed-off-by: William Lai<b04597@freescale.com>
2011-06-01ENGR00131616-2 usb: restructure lower power mode and wakeup functionPeter Chen
Device driver part((squashed with ENGR00131776) Mainly includes restruct low power mode and wakeup function for all usb modes. 1. Move more kernel common code changes to fsl driver. 2. Fix kinds of otg bugs 3. At idle mode all usb clock and related phy clock will be closed. 4. Wakeup function are fully verified for all usb modes (device, host and otg mode) 5. The modifications are verified at mx50 platform for 2.6.35 Signed-off-by: Hu Hui <b29976@freescale.com> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
2011-06-01ENGR00131711-2 MXC: Add mxc_audio_codec_platform_data structrueWilliam Lai
The mxc_audio_codec_platform_data passes the board specific data to the codec, i.e., regulator, mclk and pwdn function. Signed-off-by: William Lai <b04597@freescale.com>
2011-06-01net: preserve ifreq parameter when calling generic phy_mii_ioctl().Richard Cochran
The phy_mii_ioctl() function unnecessarily throws away the original ifreq. We need access to the ifreq in order to support PHYs that can perform hardware time stamping. Two maverick drivers filter the ioctl commands passed to phy_mii_ioctl(). This is unnecessary since phylib will check the command in any case. Signed-off-by: Richard Cochran <richard.cochran@omicron.at> Signed-off-by: David S. Miller <davem@davemloft.net>
2011-06-01ENGR00126313-2 epxp: 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>
2011-06-01ENGR00126260-4 - Add epdc_fb_mode data structureDinh Nguyen
Add epdc_fb_mode data struction to fsl_devices.h Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00126327-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>
2011-06-01ENGR00126213 - 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>
2011-06-01ENGR00126343 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>