Skip to contentSkip to conversation

saa7134: add P7131_4871 analog inputs

PATCH New Alexandre GRIVEAUX 1 participant 1 message Sep 2, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 saa7134: add P7131_4871 analog inputs

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.

---
 drivers/media/pci/saa7134/saa7134-cards.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
drivers/media/pci/saa7134/saa7134-cards.c +15 -0
index 9d6688a82b50..40ce033cb884 100644
@@ -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] = {
Signature · 1 line
2.11.0