Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] 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.

Signed-off-by: Vadim Frolov <fralik@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Vadim Frolov and committed by
Mauro Carvalho Chehab
9690fd80 88b404c4

+19
+1
Documentation/video4linux/CARDLIST.saa7134
··· 189 189 188 -> Sensoray 811/911 [6000:0811,6000:0911] 190 190 189 -> Kworld PC150-U [17de:a134] 191 191 190 -> Asus My Cinema PS3-100 [1043:48cd] 192 + 191 -> Hawell HW-9004V1
+17
drivers/media/pci/saa7134/saa7134-cards.c
··· 5773 5773 .gpio = 0x0000000, 5774 5774 }, 5775 5775 }, 5776 + [SAA7134_BOARD_HAWELL_HW_9004V1] = { 5777 + /* Hawell HW-9004V1 */ 5778 + /* Vadim Frolov <fralik@gmail.com> */ 5779 + .name = "Hawell HW-9004V1", 5780 + .audio_clock = 0x00200000, 5781 + .tuner_type = UNSET, 5782 + .radio_type = UNSET, 5783 + .tuner_addr = ADDR_UNSET, 5784 + .radio_addr = ADDR_UNSET, 5785 + .gpiomask = 0x618E700, 5786 + .inputs = {{ 5787 + .name = name_comp1, 5788 + .vmux = 3, 5789 + .amux = LINE1, 5790 + .gpio = 0x6010000, 5791 + } }, 5792 + }, 5776 5793 5777 5794 }; 5778 5795
+1
drivers/media/pci/saa7134/saa7134.h
··· 333 333 #define SAA7134_BOARD_SENSORAY811_911 188 334 334 #define SAA7134_BOARD_KWORLD_PC150U 189 335 335 #define SAA7134_BOARD_ASUSTeK_PS3_100 190 336 + #define SAA7134_BOARD_HAWELL_HW_9004V1 191 336 337 337 338 #define SAA7134_MAXBOARDS 32 338 339 #define SAA7134_INPUT_MAX 8