]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00240987: ipu: port ipuv3 driver from 3.5.7 kernel
authorShawn Guo <shawn.guo@freescale.com>
Tue, 23 Jul 2013 14:49:00 +0000 (22:49 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:53:54 +0000 (09:53 +0800)
commit3a538d99c11c06efb3652e3add7ae1a12ddc3c77
treef379b0819d7cff9704cb91b91e7edd425280d5aa
parent7e6c8c4527b797395d0d4b3afb579010d6548e09
ENGR00240987: ipu: port ipuv3 driver from 3.5.7 kernel

This is a fast-forward porting of ipuv3 driver from 3.5.7 kernel to
kernel 3.10.  The change set is kept as minimum as possible with only
making necessary code changes to adapt 3.10 kernel internal API and
framework updates.  Everything else should be same as 3.5.7 one.  The
change set consists of the following.

 * Remove unused Kconfig options MXC_IPU_V3D, MXC_IPU_V3EX and
   MXC_IPU_V3H
 * Comment out busfreq calls
 * Move ipu-v3.h into include/linux/, and remove all <mach/*> includes
 * Drop __devinit and __devexit
 * Remove assignment of pltfm_data->pg = imx6q_ipu_pg;
 * Use generic device_reset() API rather than ipu_pltfm_data->init()
   hook to reset IPU
 * Includes <linux/sched/rt.h> ipu_device.c to fix undeclared
   MAX_USER_RT_PRIO error
 * Change compatible string to "fsl,imx6q-ipu" to align with community
   kernel
 * Define irq_sync before irq_err in DTS to align with community kernel
 * Drop "ipu1_" and "ipu2_" from clock names to save the handling of the
   second parameter of devm_clk_get()
 * Remove the buggy csi_clk setup in ipu_clk_setup_enable() and validate
   the clock before operate on it in ipu_csi_enable_mclk()
 * Replace iram API (linux/iram_alloc.h) with generic memory pool API
   (linux/genalloc.h) in VDOA driver

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
20 files changed:
drivers/Kconfig
drivers/Makefile
drivers/mxc/Kconfig [new file with mode: 0644]
drivers/mxc/Makefile [new file with mode: 0644]
drivers/mxc/ipu3/Kconfig [new file with mode: 0644]
drivers/mxc/ipu3/Makefile [new file with mode: 0644]
drivers/mxc/ipu3/ipu_calc_stripes_sizes.c [new file with mode: 0644]
drivers/mxc/ipu3/ipu_capture.c [new file with mode: 0644]
drivers/mxc/ipu3/ipu_common.c [new file with mode: 0644]
drivers/mxc/ipu3/ipu_device.c [new file with mode: 0644]
drivers/mxc/ipu3/ipu_disp.c [new file with mode: 0644]
drivers/mxc/ipu3/ipu_ic.c [new file with mode: 0644]
drivers/mxc/ipu3/ipu_param_mem.h [new file with mode: 0644]
drivers/mxc/ipu3/ipu_pixel_clk.c [new file with mode: 0644]
drivers/mxc/ipu3/ipu_prv.h [new file with mode: 0644]
drivers/mxc/ipu3/ipu_regs.h [new file with mode: 0644]
drivers/mxc/ipu3/vdoa.c [new file with mode: 0644]
drivers/mxc/ipu3/vdoa.h [new file with mode: 0644]
include/linux/ipu-v3.h [new file with mode: 0644]
include/linux/ipu.h [new file with mode: 0644]