]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: OMAP3: cm-t35: add tvp5150 decoder support
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Wed, 13 Jun 2012 12:55:10 +0000 (15:55 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Jul 2012 11:09:06 +0000 (04:09 -0700)
Register the tvp5150 video decoder in ISP subsystem.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-cm-t35.c

index 05c66e847484d7a5ea23080e900be1eb871f437e..97d719047af382ca3aa5b5484310a427c1748b0d 100644 (file)
@@ -498,6 +498,9 @@ static struct i2c_board_info cm_t35_isp_i2c_boardinfo[] = {
        {
                I2C_BOARD_INFO("mt9t001", 0x5d),
        },
+       {
+               I2C_BOARD_INFO("tvp5150", 0x5c),
+       },
 };
 
 static struct isp_subdev_i2c_board_info cm_t35_isp_primary_subdevs[] = {
@@ -508,6 +511,14 @@ static struct isp_subdev_i2c_board_info cm_t35_isp_primary_subdevs[] = {
        { NULL, 0, },
 };
 
+static struct isp_subdev_i2c_board_info cm_t35_isp_secondary_subdevs[] = {
+       {
+               .board_info = &cm_t35_isp_i2c_boardinfo[1],
+               .i2c_adapter_id = 3,
+       },
+       { NULL, 0, },
+};
+
 static struct isp_v4l2_subdevs_group cm_t35_isp_subdevs[] = {
        {
                .subdevs = cm_t35_isp_primary_subdevs,
@@ -518,6 +529,15 @@ static struct isp_v4l2_subdevs_group cm_t35_isp_subdevs[] = {
                        },
                },
        },
+       {
+               .subdevs = cm_t35_isp_secondary_subdevs,
+               .interface = ISP_INTERFACE_PARALLEL,
+               .bus = {
+                       .parallel = {
+                               .clk_pol = 0,
+                       },
+               },
+       },
        { NULL, 0, },
 };