summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2010-12-09ENGR00134274 - 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>
2010-12-08ENGR00136097-1 pmic mc13892: Add PWRON3 power event supportXinyu Chen
Enable the PWRON3 event in mc13892. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-12-03ENGR00133794 - 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>
2010-12-02ENGR00134154-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>
2010-11-24ENGR00133954-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>
2010-11-22ENGR00133795-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>
2010-11-22ENGR00122167-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>
2010-11-22Android ipv4: socket ioctl to reset connections matching local addressBrian Swetland
Introduce a new socket ioctl, SIOCKILLADDR, that nukes all sockets bound to the same local address. This is useful in situations with dynamic IPs, to kill stuck connections. Signed-off-by: Brian Swetland <swetland@google.com>
2010-11-22Android misc: Adding uid stat driver to collect network statistics.Mike Chan
It collects the network statistics of each uid. Signed-off-by: Mike Chan <mike@android.com>
2010-11-22Android sched: Add a generic notifier when a task struct is about to be freedSan Mehat
This patch adds a notifier which can be used by subsystems that may be interested in when a task has completely died and is about to have it's last resource freed. The Android lowmemory killer uses this to determine when a task it has killed has finally given up its goods. Signed-off-by: San Mehat <san@google.com>
2010-11-22Android MM: Add anonymous shared memory subsystemRobert Love
ASHMEM is more similar to shmem and mmap, by not requiring the specified size to be page aligned, instead rounding it internally as needed, and does not need export to tmpfs. Signed-off-by: Robert Love <rlove@google.com>
2010-11-22ENGR00133318-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>
2010-11-22ENGR00133702-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>
2010-11-22Android fat: Add new ioctl VFAT_IOCTL_GET_VOLUME_ID for reading the volume ID.Brian Swetland
The volume id is the serial number stored in the fat boot sector. Signed-off-by: Brian Swetland <swetland@google.com>
2010-11-22Android pmem: add google's process memory allocator driverRebecca Schultz
The pmem driver is used to manage large (1-16+MB) physically contiguous regions of memory shared between userspace and kernel drivers (dsp, gpu, etc). Signed-off-by: Rebecca Schultz <rschultz@google.com> Signed-off-by: Dima Zavin <dima@android.com>
2010-11-15ENGR00133481-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>
2010-11-11mtd: 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>
2010-11-08ENGR00132537-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>
2010-11-08ENGR00133478-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>
2010-11-05ENGR00133178-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>
2010-10-26ENGR00132935-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>
2010-10-22ENGR00132875-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>
2010-10-15ENGR00124788-1 Add Linear PMIC supportNancy Chen
Add Linear PMIC support. Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-10-15ENGR00126326-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>
2010-10-15ENGR00132525-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>
2010-10-15ENGR00132639-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>
2010-10-14ENGR00132459-1 MXC: Add platform_data structure for PWMWilliam Lai
Add platform_data structure for PWM. Signed-off-by: William Lai<b04597@freescale.com>
2010-09-30ENGR00131965-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>
2010-09-29ENGR00131616-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>
2010-09-25ENGR00131711-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>
2010-09-25net: 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>
2010-09-25ENGR00126313-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>
2010-09-25ENGR00126260-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>
2010-09-25ENGR00126327-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-09-25ENGR00126213 - 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-09-25ENGR00126343 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-09-25ENGR00126228 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-09-25ENGR00125411 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-09-25ENGR00126059-3 EPDC: Add mxc_epdc_fb_platform_data structureDinh Nguyen
Add mxc_epdc_fb_platform_data to fsl_devices.h Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-09-25ENGR00125760-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-09-01ENGR00125052-1 Common codes changes when enable the eMMC44 DDRRob Herring
The modifications of linux kernel common codes when enable the eMMC44 DDR mode Signed-off-by: Richard Zhu <r65037@freescale.com> Conflicts: drivers/mmc/core/mmc.c include/linux/mmc/host.h include/linux/mmc/mmc.h
2010-09-01ENGR00126692-5: Upgrade kernel to 2.6.35Dinh Nguyen
This patch contains changes to /include/linux/ files Contains all checkpatch and copyright fixes. Acked-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
2010-08-25ENGR00117843 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>
2010-08-25nand: add more nand devicesRob Herring
Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-25nand: export symbols needed for stmp3xxx nandRob Herring
nand: increase max nand page and oob sizes Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-25ENGR00112200 Add cryptodev deviceMichal Ludvig
Linux driver for /dev/crypto (aka CryptoDev) See http://www.logix.cz/michal/devel/cryptodev for details. Signed-off-by: Michal Ludvig <mludvig@suse.cz> Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-25ENGR00068619 JFFS2 community fix with not use OOBJason Liu
JFFS2 community fix with not use OOB at MLC NAND, this patch is coming from the MTD community Signed-off-by: Jason Liu <r64343@freescale.com>
2010-08-13irq: Add new IRQ flag IRQF_NO_SUSPENDIan Campbell
commit 685fd0b4ea3f0f1d5385610b0d5b57775a8d5842 upstream. A small number of users of IRQF_TIMER are using it for the implied no suspend behaviour on interrupts which are not timer interrupts. Therefore add a new IRQF_NO_SUSPEND flag, rename IRQF_TIMER to __IRQF_TIMER and redefine IRQF_TIMER in terms of these new flags. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: xen-devel@lists.xensource.com Cc: linux-input@vger.kernel.org Cc: linuxppc-dev@ozlabs.org Cc: devicetree-discuss@lists.ozlabs.org LKML-Reference: <1280398595-29708-1-git-send-email-ian.campbell@citrix.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-13net: Fix NETDEV_NOTIFY_PEERS to not conflict with NETDEV_BONDING_DESLAVE.David S. Miller
commit 38117d1495e587fbb10d6e55733139a27893cef5 upstream. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-13l2tp: fix export of header file for userspaceJames Chapman
commit 4565956dc0847985c0403c9ebbf274b6a122e1e2 upstream. The header file l2tp.h should be exported to the installed include/linux/ tree for userspace programs. This patch fixes compilation errors in L2TP userspace apps which want to use the new L2TP support introduced in 2.6.35. Signed-off-by: James Chapman <jchapman@katalix.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>