aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Ermakov <vooon341@gmail.com>2010-03-10 10:44:57 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-17 23:47:19 -0400
commit8f27fd9605a28225bb71f2b3ade5d248231cd824 (patch)
tree1c93283365cd29abbdea8f85a71569f16dd731e3
parenta3415c15e1b5965c8efe0c0eb84b49689ed954ef (diff)
V4L/DVB: saa7134: add capture boards Hawell HW-404M7 and HW-808M7
Adds new capture boards Hawell HW-404M7 and HW-808M7. Those cards have 4 or 8 SAA7130 chips and for the work it only needs initialize registers. The value of those registers were dumped under Windows using flytest. But board haven't EEPROM. For the first chip: SAA7130 (0x7130, SubVenID:1131, SubDevID:0000, Rev: 01) I2C slave devices found: No devices GPIO pins: Mode : 0x00389C00 Value: 0x00016C00 Video input: 3 Audio input: Analog Line1 For other chips: SAA7130 (0x7130, SubVenID:1131, SubDevID:0000, Rev: 01) I2C slave devices found: No devices GPIO pins: Mode : 0x00389200 Value: 0x00010000 Video input: 3 Audio input: Analog Line1 Signed-off-by: Vladimir Ermakov <vooon341@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--Documentation/video4linux/CARDLIST.saa71341
-rw-r--r--drivers/media/video/saa7134/saa7134-cards.c17
-rw-r--r--drivers/media/video/saa7134/saa7134-input.c1
-rw-r--r--drivers/media/video/saa7134/saa7134.h1
4 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/video4linux/CARDLIST.saa7134 b/Documentation/video4linux/CARDLIST.saa7134
index b4a767060ed7..3de042a9c4f6 100644
--- a/Documentation/video4linux/CARDLIST.saa7134
+++ b/Documentation/video4linux/CARDLIST.saa7134
@@ -175,3 +175,4 @@
175174 -> Asus Europa Hybrid OEM [1043:4847] 175174 -> Asus Europa Hybrid OEM [1043:4847]
176175 -> Leadtek Winfast DTV1000S [107d:6655] 176175 -> Leadtek Winfast DTV1000S [107d:6655]
177176 -> Beholder BeholdTV 505 RDS [0000:5051] 177176 -> Beholder BeholdTV 505 RDS [0000:5051]
178177 -> Hawell HW-404M7 / HW-808M7
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c
index aa07cb11e104..655068f6c491 100644
--- a/drivers/media/video/saa7134/saa7134-cards.c
+++ b/drivers/media/video/saa7134/saa7134-cards.c
@@ -5355,6 +5355,23 @@ struct saa7134_board saa7134_boards[] = {
5355 .amux = LINE2, 5355 .amux = LINE2,
5356 }, 5356 },
5357 }, 5357 },
5358 [SAA7134_BOARD_HAWELL_HW_404M7] = {
5359 /* Hawell HW-404M7 & Hawell HW-808M7 */
5360 /* Bogoslovskiy Viktor <bogovic@bk.ru> */
5361 .name = "Hawell HW-404M7",
5362 .audio_clock = 0x00200000,
5363 .tuner_type = UNSET,
5364 .radio_type = UNSET,
5365 .tuner_addr = ADDR_UNSET,
5366 .radio_addr = ADDR_UNSET,
5367 .gpiomask = 0x01fc00,
5368 .inputs = {{
5369 .name = name_comp1,
5370 .vmux = 3,
5371 .amux = LINE1,
5372 .gpio = 0x389c00,
5373 } },
5374 },
5358 5375
5359}; 5376};
5360 5377
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
index c1fe7c9369b2..ac62b77e5edc 100644
--- a/drivers/media/video/saa7134/saa7134-input.c
+++ b/drivers/media/video/saa7134/saa7134-input.c
@@ -475,6 +475,7 @@ int saa7134_input_init1(struct saa7134_dev *dev)
475 switch (dev->board) { 475 switch (dev->board) {
476 case SAA7134_BOARD_FLYVIDEO2000: 476 case SAA7134_BOARD_FLYVIDEO2000:
477 case SAA7134_BOARD_FLYVIDEO3000: 477 case SAA7134_BOARD_FLYVIDEO3000:
478 case SAA7134_BOARD_HAWELL_HW_404M7:
478 case SAA7134_BOARD_FLYTVPLATINUM_FM: 479 case SAA7134_BOARD_FLYTVPLATINUM_FM:
479 case SAA7134_BOARD_FLYTVPLATINUM_MINI2: 480 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
480 case SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM: 481 case SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM:
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index bf130967ed17..c3a1ae0adca0 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -300,6 +300,7 @@ struct saa7134_format {
300#define SAA7134_BOARD_ASUS_EUROPA_HYBRID 174 300#define SAA7134_BOARD_ASUS_EUROPA_HYBRID 174
301#define SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S 175 301#define SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S 175
302#define SAA7134_BOARD_BEHOLD_505RDS_MK3 176 302#define SAA7134_BOARD_BEHOLD_505RDS_MK3 176
303#define SAA7134_BOARD_HAWELL_HW_404M7 177
303 304
304#define SAA7134_MAXBOARDS 32 305#define SAA7134_MAXBOARDS 32
305#define SAA7134_INPUT_MAX 8 306#define SAA7134_INPUT_MAX 8