forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V4L/DVB: saa7134: Add support new Behold TV cards
[[email protected]: Fixed cards numbers reject due changes in saa7134.h] Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <[email protected]> Signed-off-by: Douglas Schilling Landgraf <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information
Showing
5 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5372,6 +5372,62 @@ struct saa7134_board saa7134_boards[] = { | |
.gpio = 0x01fc00, | ||
} }, | ||
}, | ||
[SAA7134_BOARD_BEHOLD_H7] = { | ||
/* Beholder Intl. Ltd. Dmitry Belimov <[email protected]> */ | ||
.name = "Beholder BeholdTV H7", | ||
.audio_clock = 0x00187de7, | ||
.tuner_type = TUNER_XC5000, | ||
.radio_type = UNSET, | ||
.tuner_addr = ADDR_UNSET, | ||
.radio_addr = ADDR_UNSET, | ||
.mpeg = SAA7134_MPEG_DVB, | ||
.ts_type = SAA7134_MPEG_TS_PARALLEL, | ||
.inputs = { { | ||
.name = name_tv, | ||
.vmux = 2, | ||
.amux = TV, | ||
.tv = 1, | ||
}, { | ||
.name = name_comp1, | ||
.vmux = 0, | ||
.amux = LINE1, | ||
}, { | ||
.name = name_svideo, | ||
.vmux = 9, | ||
.amux = LINE1, | ||
} }, | ||
.radio = { | ||
.name = name_radio, | ||
.amux = TV, | ||
}, | ||
}, | ||
[SAA7134_BOARD_BEHOLD_A7] = { | ||
/* Beholder Intl. Ltd. Dmitry Belimov <[email protected]> */ | ||
.name = "Beholder BeholdTV A7", | ||
.audio_clock = 0x00187de7, | ||
.tuner_type = TUNER_XC5000, | ||
.radio_type = UNSET, | ||
.tuner_addr = ADDR_UNSET, | ||
.radio_addr = ADDR_UNSET, | ||
.inputs = { { | ||
.name = name_tv, | ||
.vmux = 2, | ||
.amux = TV, | ||
.tv = 1, | ||
}, { | ||
.name = name_comp1, | ||
.vmux = 0, | ||
.amux = LINE1, | ||
}, { | ||
.name = name_svideo, | ||
.vmux = 9, | ||
.amux = LINE1, | ||
} }, | ||
.radio = { | ||
.name = name_radio, | ||
.amux = TV, | ||
}, | ||
}, | ||
|
||
}; | ||
|
||
|
@@ -6566,6 +6622,18 @@ struct pci_device_id saa7134_pci_tbl[] = { | |
.subvendor = PCI_ANY_ID, | ||
.subdevice = PCI_ANY_ID, | ||
.driver_data = SAA7134_BOARD_UNKNOWN, | ||
}, { | ||
.vendor = PCI_VENDOR_ID_PHILIPS, | ||
.device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
.subvendor = 0x5ace, /* Beholder Intl. Ltd. */ | ||
.subdevice = 0x7190, | ||
.driver_data = SAA7134_BOARD_BEHOLD_H7, | ||
}, { | ||
.vendor = PCI_VENDOR_ID_PHILIPS, | ||
.device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
.subvendor = 0x5ace, /* Beholder Intl. Ltd. */ | ||
.subdevice = 0x7090, | ||
.driver_data = SAA7134_BOARD_BEHOLD_A7, | ||
},{ | ||
/* --- end of list --- */ | ||
} | ||
|
@@ -6619,6 +6687,8 @@ static int saa7134_xc5000_callback(struct saa7134_dev *dev, | |
{ | ||
switch (dev->board) { | ||
case SAA7134_BOARD_BEHOLD_X7: | ||
case SAA7134_BOARD_BEHOLD_H7: | ||
case SAA7134_BOARD_BEHOLD_A7: | ||
if (command == XC5000_TUNER_RESET) { | ||
/* Down and UP pheripherial RESET pin for reset all chips */ | ||
saa_writeb(SAA7134_SPECIAL_MODE, 0x00); | ||
|
@@ -6990,6 +7060,8 @@ int saa7134_board_init1(struct saa7134_dev *dev) | |
case SAA7134_BOARD_BEHOLD_M6_EXTRA: | ||
case SAA7134_BOARD_BEHOLD_H6: | ||
case SAA7134_BOARD_BEHOLD_X7: | ||
case SAA7134_BOARD_BEHOLD_H7: | ||
case SAA7134_BOARD_BEHOLD_A7: | ||
dev->has_remote = SAA7134_REMOTE_I2C; | ||
break; | ||
case SAA7134_BOARD_AVERMEDIA_A169_B: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters