Skip to contentSkip to conversation

saa7134: Add capture card Hawell HW-9004V1

PATCH New Vadim Frolov 1 participant 1 message Jan 30, 2013

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

PATCH 1/1 saa7134: Add capture card Hawell HW-9004V1

This patch adds new capture board Hawell HW-9004V1. This card has 4 SAA71300 chips. In order to work it is needed to initialize its registers (gpio mask and value). The value of these registers were dumped under Windows using flytest.

---
 Documentation/video4linux/CARDLIST.saa7134 |    1 +
 drivers/media/pci/saa7134/saa7134-cards.c  |   17 +++++++++++++++++
 drivers/media/pci/saa7134/saa7134.h        |    1 +
 3 files changed, 19 insertions(+)
Documentation/video4linux/CARDLIST.saa7134 +1 -0
index 94d9025..b3ad683 100644
@@ -189,3 +189,4 @@
 188 -> Sensoray 811/911                         [6000:0811,6000:0911]
 189 -> Kworld PC150-U                           [17de:a134]
 190 -> Asus My Cinema PS3-100                   [1043:48cd]
+191 -> Hawell HW-9004V1
drivers/media/pci/saa7134/saa7134-cards.c +17 -0
index bc08f1d..dc68cf1 100644
@@ -5773,6 +5773,23 @@ struct saa7134_board saa7134_boards[] = {
 			.gpio	= 0x0000000,
 		},
 	},
+	[SAA7134_BOARD_HAWELL_HW_9004V1] = {
+		/* Hawell HW-9004V1 */
+		/* Vadim Frolov <[email protected]> */
+		.name         = "Hawell HW-9004V1",
+		.audio_clock   = 0x00200000,
+		.tuner_type    = UNSET,
+		.radio_type    = UNSET,
+		.tuner_addr   = ADDR_UNSET,
+		.radio_addr   = ADDR_UNSET,
+		.gpiomask      = 0x618E700,
+		.inputs       = {{
+			.name = name_comp1,
+			.vmux = 3,
+			.amux = LINE1,
+			.gpio = 0x6010000,
+		} },
+	},
 
 };
 
drivers/media/pci/saa7134/saa7134.h +1 -0
index 6eae432..6d92a59 100644
@@ -333,6 +333,7 @@ struct saa7134_card_ir {
 #define SAA7134_BOARD_SENSORAY811_911       188
 #define SAA7134_BOARD_KWORLD_PC150U         189
 #define SAA7134_BOARD_ASUSTeK_PS3_100      190
+#define SAA7134_BOARD_HAWELL_HW_9004V1      191
 
 #define SAA7134_MAXBOARDS 32
 #define SAA7134_INPUT_MAX 8
Signature · 1 line
1.7.9.5