Commit 3d6bbca9 authored by Dmitry Lifshitz's avatar Dmitry Lifshitz Committed by Tony Lindgren

ARM: OMAP3: cm-t35: add tvp5150 decoder support

Register the tvp5150 video decoder in ISP subsystem.
Signed-off-by: default avatarDmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent d396be47
...@@ -498,6 +498,9 @@ static struct i2c_board_info cm_t35_isp_i2c_boardinfo[] = { ...@@ -498,6 +498,9 @@ static struct i2c_board_info cm_t35_isp_i2c_boardinfo[] = {
{ {
I2C_BOARD_INFO("mt9t001", 0x5d), I2C_BOARD_INFO("mt9t001", 0x5d),
}, },
{
I2C_BOARD_INFO("tvp5150", 0x5c),
},
}; };
static struct isp_subdev_i2c_board_info cm_t35_isp_primary_subdevs[] = { 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[] = { ...@@ -508,6 +511,14 @@ static struct isp_subdev_i2c_board_info cm_t35_isp_primary_subdevs[] = {
{ NULL, 0, }, { 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[] = { static struct isp_v4l2_subdevs_group cm_t35_isp_subdevs[] = {
{ {
.subdevs = cm_t35_isp_primary_subdevs, .subdevs = cm_t35_isp_primary_subdevs,
...@@ -518,6 +529,15 @@ static struct isp_v4l2_subdevs_group cm_t35_isp_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, }, { NULL, 0, },
}; };
......
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