summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/devices
diff options
context:
space:
mode:
authorRobby Cai <R63905@freescale.com>2012-08-21 13:46:43 +0800
committerRobby Cai <R63905@freescale.com>2012-08-24 18:32:15 +0800
commit09e051a96afc77a58b51eed3841a03631321a1e4 (patch)
tree792b8877bbcfef59213aeeb72bc8cc6aa298f016 /arch/arm/plat-mxc/devices
parent92200bb37870d877722c5a852996ed184564e1bb (diff)
downloadlinux-09e051a96afc77a58b51eed3841a03631321a1e4.tar.gz
ENGR00220796-3: imx6sl arm2/evk: Add platform_device for V4L2 support
Add platform device for V4L2 support Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/devices')
-rw-r--r--arch/arm/plat-mxc/devices/platform-imx-pxp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx-pxp.c b/arch/arm/plat-mxc/devices/platform-imx-pxp.c
index 3ae3e4880e1d..418489e1c4ea 100644
--- a/arch/arm/plat-mxc/devices/platform-imx-pxp.c
+++ b/arch/arm/plat-mxc/devices/platform-imx-pxp.c
@@ -64,3 +64,8 @@ struct platform_device *__init imx_add_imx_pxp_client()
NULL, 0, NULL, 0);
}
+struct platform_device *__init imx_add_imx_pxp_v4l2()
+{
+ return imx_add_platform_device_dmamask("pxp-v4l2", -1,
+ NULL, 0, NULL, 0, DMA_BIT_MASK(32));
+}