OSDN Git Service

media: saa7134: add P7131_4871 analog inputs
authorAlexandre GRIVEAUX <agriveaux@deutnet.info>
Sun, 2 Sep 2018 12:36:40 +0000 (08:36 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Sep 2018 13:09:07 +0000 (09:09 -0400)
The saa7134 Tiger board has a front panel connector at the back (labeled
panel 2 on the PCB), with S-VIDEO, composite and audio.

This patch adds those inputs.

Signed-off-by: Alexandre GRIVEAUX <agriveaux@deutnet.info>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/saa7134/saa7134-cards.c

index 9d6688a..40ce033 100644 (file)
@@ -3628,6 +3628,21 @@ struct saa7134_board saa7134_boards[] = {
                        .vmux   = 1,
                        .amux   = TV,
                        .gpio   = 0x0200000,
+               },{
+                       .type = SAA7134_INPUT_COMPOSITE1,
+                       .vmux = 3,
+                       .amux = LINE2,
+                       .gpio = 0x0200000,
+               },{
+                       .type = SAA7134_INPUT_COMPOSITE2,
+                       .vmux = 0,
+                       .amux = LINE2,
+                       .gpio = 0x0200000,
+               },{
+                       .type = SAA7134_INPUT_SVIDEO,
+                       .vmux = 8,
+                       .amux = LINE2,
+                       .gpio = 0x0200000,
                }},
        },
        [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {