aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-cm-t35.c
diff options
context:
space:
mode:
authorDmitry Lifshitz <lifshitz@compulab.co.il>2012-06-13 08:55:10 -0400
committerTony Lindgren <tony@atomide.com>2012-07-02 07:09:06 -0400
commit3d6bbca9364f28976695e17fa8ef045ec31620b8 (patch)
tree3dcf8380579886d622e4ad3d60fc5014e75ee71d /arch/arm/mach-omap2/board-cm-t35.c
parentd396be47300a52faf834c1e5fdb48d7d36aa45cf (diff)
ARM: OMAP3: cm-t35: add tvp5150 decoder support
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>
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
-rw-r--r--arch/arm/mach-omap2/board-cm-t35.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
index 05c66e847484..97d719047af3 100644
--- a/arch/arm/mach-omap2/board-cm-t35.c
+++ b/arch/arm/mach-omap2/board-cm-t35.c
@@ -498,6 +498,9 @@ static struct i2c_board_info cm_t35_isp_i2c_boardinfo[] = {
498 { 498 {
499 I2C_BOARD_INFO("mt9t001", 0x5d), 499 I2C_BOARD_INFO("mt9t001", 0x5d),
500 }, 500 },
501 {
502 I2C_BOARD_INFO("tvp5150", 0x5c),
503 },
501}; 504};
502 505
503static struct isp_subdev_i2c_board_info cm_t35_isp_primary_subdevs[] = { 506static 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 { NULL, 0, }, 511 { NULL, 0, },
509}; 512};
510 513
514static struct isp_subdev_i2c_board_info cm_t35_isp_secondary_subdevs[] = {
515 {
516 .board_info = &cm_t35_isp_i2c_boardinfo[1],
517 .i2c_adapter_id = 3,
518 },
519 { NULL, 0, },
520};
521
511static struct isp_v4l2_subdevs_group cm_t35_isp_subdevs[] = { 522static struct isp_v4l2_subdevs_group cm_t35_isp_subdevs[] = {
512 { 523 {
513 .subdevs = cm_t35_isp_primary_subdevs, 524 .subdevs = cm_t35_isp_primary_subdevs,
@@ -518,6 +529,15 @@ static struct isp_v4l2_subdevs_group cm_t35_isp_subdevs[] = {
518 }, 529 },
519 }, 530 },
520 }, 531 },
532 {
533 .subdevs = cm_t35_isp_secondary_subdevs,
534 .interface = ISP_INTERFACE_PARALLEL,
535 .bus = {
536 .parallel = {
537 .clk_pol = 0,
538 },
539 },
540 },
521 { NULL, 0, }, 541 { NULL, 0, },
522}; 542};
523 543