Commit 09e051a9 authored by Robby Cai's avatar Robby Cai

ENGR00220796-3: imx6sl arm2/evk: Add platform_device for V4L2 support

Add platform device for V4L2 support
Signed-off-by: default avatarRobby Cai <R63905@freescale.com>
parent 92200bb3
......@@ -1260,6 +1260,7 @@ static void __init mx6_arm2_init(void)
imx6q_add_busfreq();
imx6sl_add_dcp();
imx6sl_add_rngb();
imx6sl_add_imx_pxp_v4l2();
imx6q_add_perfmon(0);
imx6q_add_perfmon(1);
......
......@@ -1267,6 +1267,7 @@ static void __init mx6_evk_init(void)
imx6q_add_busfreq();
imx6sl_add_dcp();
imx6sl_add_rngb();
imx6sl_add_imx_pxp_v4l2();
imx6q_add_perfmon(0);
imx6q_add_perfmon(1);
......
......@@ -220,6 +220,9 @@ extern const struct imx_pxp_data imx6dl_pxp_data __initconst;
#define imx6dl_add_imx_pxp_client() \
imx_add_imx_pxp_client()
#define imx6sl_add_imx_pxp_v4l2() \
imx_add_imx_pxp_v4l2()
extern const struct imx_epdc_data imx6dl_epdc_data __initconst;
#define imx6dl_add_imx_epdc(pdata) \
imx_add_imx_epdc(&imx6dl_epdc_data, pdata)
......
......@@ -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));
}
......@@ -468,6 +468,7 @@ struct imx_pxp_data {
struct platform_device *__init imx_add_imx_pxp(
const struct imx_pxp_data *data);
struct platform_device *__init imx_add_imx_pxp_client(void);
struct platform_device *__init imx_add_imx_pxp_v4l2(void);
#include <linux/fsl_devices.h>
struct imx_elcdif_data {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment