mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
add to support TBS6308X
This commit is contained in:
43
drivers/media/pci/tbsecp3/tbsecp3-cards.c
Normal file → Executable file
43
drivers/media/pci/tbsecp3/tbsecp3-cards.c
Normal file → Executable file
@@ -722,6 +722,49 @@ struct tbsecp3_board tbsecp3_boards[] = {
|
||||
}
|
||||
}
|
||||
},
|
||||
[TBSECP3_BOARD_TBS6308X] = {
|
||||
.board_id = TBSECP3_BOARD_TBS6308X,
|
||||
.name = "TurboSight TBS 6308X HDMI Capture",
|
||||
.adapters = 8,
|
||||
.i2c_speed = 39,
|
||||
.eeprom_i2c = 1,
|
||||
.eeprom_addr = 0x10,
|
||||
.adap_config = {
|
||||
{
|
||||
.ts_in = 0,
|
||||
.i2c_bus_nr = 0,
|
||||
},
|
||||
{
|
||||
.ts_in = 1,
|
||||
.i2c_bus_nr = 0,
|
||||
},
|
||||
{
|
||||
.ts_in = 2,
|
||||
.i2c_bus_nr = 0,
|
||||
},
|
||||
{
|
||||
.ts_in = 3,
|
||||
.i2c_bus_nr = 0,
|
||||
},
|
||||
{
|
||||
.ts_in = 4,
|
||||
.i2c_bus_nr = 0,
|
||||
},
|
||||
{
|
||||
.ts_in = 5,
|
||||
.i2c_bus_nr = 0,
|
||||
},
|
||||
{
|
||||
.ts_in = 6,
|
||||
.i2c_bus_nr = 0,
|
||||
},
|
||||
{
|
||||
.ts_in = 7,
|
||||
.i2c_bus_nr = 0,
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
// added by pzw in 2017,12,12
|
||||
[TBSECP3_BOARD_TBS6304] = {
|
||||
.board_id = TBSECP3_BOARD_TBS6304,
|
||||
|
3
drivers/media/pci/tbsecp3/tbsecp3-core.c
Normal file → Executable file
3
drivers/media/pci/tbsecp3/tbsecp3-core.c
Normal file → Executable file
@@ -334,7 +334,8 @@ static const struct pci_device_id tbsecp3_id_table[] = {
|
||||
TBSECP3_ID(TBSECP3_BOARD_TBS690a,0x690a,PCI_ANY_ID),
|
||||
TBSECP3_ID(TBSECP3_BOARD_TBS6301,0x6301,0x0001),
|
||||
TBSECP3_ID(TBSECP3_BOARD_TBS6304,0x6304,0x0001),
|
||||
TBSECP3_ID(TBSECP3_BOARD_TBS6308,0x6308,PCI_ANY_ID),
|
||||
TBSECP3_ID(TBSECP3_BOARD_TBS6308,0x6308,0x0001),
|
||||
TBSECP3_ID(TBSECP3_BOARD_TBS6308X,0x6308,0x0010),
|
||||
TBSECP3_ID(TBSECP3_BOARD_TBS6909X,0x6909,0x0010),
|
||||
TBSECP3_ID(TBSECP3_BOARD_TBS6909X,0x6909,0x0009),
|
||||
TBSECP3_ID(TBSECP3_BOARD_TBS6909X,0x6909,0x0019),
|
||||
|
@@ -1833,7 +1833,12 @@ static int tbsecp3_frontend_attach(struct tbsecp3_adapter *adapter)
|
||||
tbs6308_read_mac_ext(adapter);//try again
|
||||
}
|
||||
break;
|
||||
case TBSECP3_BOARD_TBS6308X:
|
||||
adapter->fe = dvb_attach(tas2971_attach, &tbs6308_demod_cfg, i2c);
|
||||
if (adapter->fe == NULL)
|
||||
goto frontend_atach_fail;
|
||||
|
||||
break;
|
||||
case TBSECP3_BOARD_TBS6304:
|
||||
adapter->fe = dvb_attach(tas2971_attach, &tbs6304_demod_cfg[adapter->nr], i2c);
|
||||
if (adapter->fe == NULL)
|
||||
|
1
drivers/media/pci/tbsecp3/tbsecp3.h
Normal file → Executable file
1
drivers/media/pci/tbsecp3/tbsecp3.h
Normal file → Executable file
@@ -87,6 +87,7 @@
|
||||
#define TBSECP3_BOARD_TBS6522H 43
|
||||
#define TBSECP3_BOARD_TBS6504H 44
|
||||
#define TBSECP3_BOARD_TBS6590SE 45
|
||||
#define TBSECP3_BOARD_TBS6308X 46
|
||||
|
||||
#define TBSECP3_MAX_ADAPTERS (8)
|
||||
#define TBSECP3_MAX_I2C_BUS (4)
|
||||
|
Reference in New Issue
Block a user