From e518e716c6fed2f396ac65804786ec03c28b3e29 Mon Sep 17 00:00:00 2001 From: Adrian Alonso Date: Thu, 27 Sep 2012 14:32:31 -0500 Subject: [PATCH] ENGR00229905-2: board-mx6q_sabreauto add i2c ad7280 device * Add ad7280 I2C device support Signed-off-by: Adrian Alonso Signed-off-by: Oscar Luna --- arch/arm/mach-mx6/board-mx6q_sabreauto.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c index a166c42b30b8..93bbde56cb29 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c +++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c @@ -627,6 +627,15 @@ static struct fsl_mxc_tvin_platform_data adv7180_data = { .io_init = mx6q_csi0_io_init, }; +static struct fsl_mxc_tvin_platform_data adv7280_data = { + .dvddio_reg = NULL, + .dvdd_reg = NULL, + .avdd_reg = NULL, + .pvdd_reg = NULL, + .pwdn = NULL, + .cvbs = true, +}; + static struct imxi2c_platform_data mx6q_sabreauto_i2c2_data = { .bitrate = 400000, }; @@ -686,6 +695,9 @@ static struct i2c_board_info mxc_i2c1_board_info[] __initdata = { .platform_data = (void *)&cs42888_data, }, { I2C_BOARD_INFO("si4763_i2c", 0x63), + }, { + I2C_BOARD_INFO("adv7280", 0x21), + .platform_data = (void *)&adv7280_data, }, }; -- 2.39.5