diff options
author | Jason Chen <b02280@freescale.com> | 2011-08-30 17:42:20 +0800 |
---|---|---|
committer | Eric Miao <eric.miao@linaro.org> | 2011-10-14 09:56:59 +0800 |
commit | 96445a0e11bb09b4f339680eeefddbd2051d5487 (patch) | |
tree | 1bb26c5bab550aaa45a9716de2dee20c89e2eed9 /arch | |
parent | e19c347e76dafcca553142fab9ba159f00b4bb5a (diff) |
mx53_loco: add v4l2 output support
Signed-off-by: Jason Chen <b02280@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_loco.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx5/devices-imx51.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx5/devices-imx53.h | 4 |
3 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-mx5/board-mx53_loco.c index 5a1c63b77f8..eb1c08a352c 100644 --- a/arch/arm/mach-mx5/board-mx53_loco.c +++ b/arch/arm/mach-mx5/board-mx53_loco.c @@ -431,6 +431,7 @@ static void __init mx53_loco_board_init(void) imx53_add_ldb(&ldb_data); imx53_add_tve(&tve_data); + imx53_add_v4l2_output(0); imx53_add_imx_uart(0, NULL); mx53_loco_fec_reset(); diff --git a/arch/arm/mach-mx5/devices-imx51.h b/arch/arm/mach-mx5/devices-imx51.h index b8f7bb57c48..c58255c0920 100644 --- a/arch/arm/mach-mx5/devices-imx51.h +++ b/arch/arm/mach-mx5/devices-imx51.h @@ -60,3 +60,7 @@ extern const struct imx_ipuv3_data imx51_ipuv3_data __initconst; extern const struct imx_tve_data imx51_tve_data __initconst; #define imx51_add_tve(pdata) \ imx_add_tve(&imx51_tve_data, pdata) + +#define imx51_add_v4l2_output(id) \ + platform_device_register_resndata(NULL, "mxc_v4l2_output",\ + id, NULL, 0, NULL, 0); diff --git a/arch/arm/mach-mx5/devices-imx53.h b/arch/arm/mach-mx5/devices-imx53.h index c4b889faf57..b9f23adc7d6 100644 --- a/arch/arm/mach-mx5/devices-imx53.h +++ b/arch/arm/mach-mx5/devices-imx53.h @@ -72,3 +72,7 @@ extern const struct imx_mxc_pwm_data imx53_mxc_pwm_data[] __initconst; #define imx53_add_mxc_pwm_backlight(id, pdata) \ platform_device_register_resndata(NULL, "pwm-backlight",\ id, NULL, 0, pdata, sizeof(*pdata)); + +#define imx53_add_v4l2_output(id) \ + platform_device_register_resndata(NULL, "mxc_v4l2_output",\ + id, NULL, 0, NULL, 0); |