Age | Commit message (Collapse) | Author |
|
- 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>
|
|
Enable the PWRON3 event in mc13892.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
- 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>
|
|
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>
|
|
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>
|
|
This patch adds CVBS support for TVin platform data.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Add VGA support for ipu basic driver and fb driver.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
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>
|
|
It collects the network statistics of each uid.
Signed-off-by: Mike Chan <mike@android.com>
|
|
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>
|
|
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>
|
|
This patch supports interlaced scan order for CSI->SMFCx->MEM
channels.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
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>
|
|
The volume id is the serial number stored in the fat boot sector.
Signed-off-by: Brian Swetland <swetland@google.com>
|
|
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>
|
|
Removed one useless DDR releated macro definition, refer
to the kernel upgrade from 31 to 35.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
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>
|
|
- 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>
|
|
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>
|
|
add the new ONFI NAND commands to the common header file.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
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>
|
|
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>
|
|
Add Linear PMIC support.
Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
|
|
- 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>
|
|
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>
|
|
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>
|
|
Add platform_data structure for PWM.
Signed-off-by: William Lai<b04597@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add epdc_fb_mode data struction to fsl_devices.h
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add mxc_epdc_fb_platform_data to fsl_devices.h
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Add mac field at platform data
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
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
|
|
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>
|
|
Add i.MX specific files into include/linux/Kbuild
Signed-off-by: Lily Zhang <r58066@freescale.com>
|
|
Signed-off-by: Rob Herring <r.herring@freescale.com>
|
|
nand: increase max nand page and oob sizes
Signed-off-by: Rob Herring <r.herring@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
commit 38117d1495e587fbb10d6e55733139a27893cef5 upstream.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
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>
|