]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00275034-1 media: Add CSI/CSI v4l2 capture driver support
authorRobby Cai <R63905@freescale.com>
Thu, 29 Aug 2013 07:39:12 +0000 (15:39 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 15:47:35 +0000 (17:47 +0200)
commitf6e97e2b4011c70875a7600f00787ff9d0b49808
tree5ea791aeed1a999dd701928de8339179b4ae5440
parentf8f0f21c099312fdd1e6c5e54243349b4ccb993d
ENGR00275034-1 media: Add CSI/CSI v4l2 capture driver support

- change the includes
  <asm/uaccess.h> to <linux/uaccess.h>
  <mach/ipu-v3.h> to <linux/ipu-v3.h>
  <mach/dma.h> to <linux/platform_data/dma-imx.h>
- add an extra parameter for device_prep_slave_sg() as the prototype's changed.
- drop csi_mclk_recalc() func since there's no divider in CSI module
- drop deprecated __devinit, __devexit and __devexit_p
- use module_platform_driver()
- use of_match_table()
- replace ioremap() with devm_ioremap()
- replace clk_get() with devm_clk_get()
- replace clk_enable/disable() with clk_prepare_enable/clk_disable_unprepare()
- add check for no camera attached on board
- drop function csi_mclk_enable(), csi_mclk_enable() in fsl_csi.c,
  and move clock enable/disable to csi_v4l2_capture.c

Signed-off-by: Robby Cai <R63905@freescale.com>
drivers/media/platform/Kconfig
drivers/media/platform/Makefile
drivers/media/platform/mxc/capture/Kconfig [new file with mode: 0644]
drivers/media/platform/mxc/capture/Makefile [new file with mode: 0644]
drivers/media/platform/mxc/capture/csi_v4l2_capture.c [new file with mode: 0644]
drivers/media/platform/mxc/capture/fsl_csi.c [new file with mode: 0644]
drivers/media/platform/mxc/capture/fsl_csi.h [new file with mode: 0644]
drivers/media/platform/mxc/capture/mxc_v4l2_capture.h [new file with mode: 0644]