aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ttpci/budget-ci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/ttpci/budget-ci.c')
-rw-r--r--drivers/media/dvb/ttpci/budget-ci.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c
index 6530323d5406..060e7c785326 100644
--- a/drivers/media/dvb/ttpci/budget-ci.c
+++ b/drivers/media/dvb/ttpci/budget-ci.c
@@ -46,6 +46,8 @@
46#include "lnbp21.h" 46#include "lnbp21.h"
47#include "bsbe1.h" 47#include "bsbe1.h"
48#include "bsru6.h" 48#include "bsru6.h"
49#include "tda1002x.h"
50#include "tda827x.h"
49 51
50/* 52/*
51 * Regarding DEBIADDR_IR: 53 * Regarding DEBIADDR_IR:
@@ -225,6 +227,7 @@ static int msp430_ir_init(struct budget_ci *budget_ci)
225 break; 227 break;
226 case 0x1010: 228 case 0x1010:
227 case 0x1017: 229 case 0x1017:
230 case 0x101a:
228 /* for the Technotrend 1500 bundled remote */ 231 /* for the Technotrend 1500 bundled remote */
229 ir_input_init(input_dev, &budget_ci->ir.state, 232 ir_input_init(input_dev, &budget_ci->ir.state,
230 IR_TYPE_RC5, ir_codes_tt_1500); 233 IR_TYPE_RC5, ir_codes_tt_1500);
@@ -1056,6 +1059,15 @@ static struct stv0297_config dvbc_philips_tdm1316l_config = {
1056 .stop_during_read = 1, 1059 .stop_during_read = 1,
1057}; 1060};
1058 1061
1062static struct tda10023_config tda10023_config = {
1063 .demod_address = 0xc,
1064 .invert = 0,
1065 .xtal = 16000000,
1066 .pll_m = 11,
1067 .pll_p = 3,
1068 .pll_n = 1,
1069 .deltaf = 0xa511,
1070};
1059 1071
1060 1072
1061 1073
@@ -1126,7 +1138,17 @@ static void frontend_init(struct budget_ci *budget_ci)
1126 budget_ci->budget.dvb_frontend = NULL; 1138 budget_ci->budget.dvb_frontend = NULL;
1127 } 1139 }
1128 } 1140 }
1141 break;
1129 1142
1143 case 0x101a: /* TT Budget-C-1501 (philips tda10023/philips tda8274A) */
1144 budget_ci->budget.dvb_frontend = dvb_attach(tda10023_attach, &tda10023_config, &budget_ci->budget.i2c_adap, 0x48);
1145 if (budget_ci->budget.dvb_frontend) {
1146 if (dvb_attach(tda827x_attach, budget_ci->budget.dvb_frontend, 0x61, &budget_ci->budget.i2c_adap, NULL) == NULL) {
1147 printk(KERN_ERR "%s: No tda827x found!\n", __func__);
1148 dvb_frontend_detach(budget_ci->budget.dvb_frontend);
1149 budget_ci->budget.dvb_frontend = NULL;
1150 }
1151 }
1130 break; 1152 break;
1131 } 1153 }
1132 1154
@@ -1216,6 +1238,7 @@ MAKE_BUDGET_INFO(ttbci, "TT-Budget/WinTV-NOVA-CI PCI", BUDGET_TT_HW_DISEQC);
1216MAKE_BUDGET_INFO(ttbt2, "TT-Budget/WinTV-NOVA-T PCI", BUDGET_TT); 1238MAKE_BUDGET_INFO(ttbt2, "TT-Budget/WinTV-NOVA-T PCI", BUDGET_TT);
1217MAKE_BUDGET_INFO(ttbtci, "TT-Budget-T-CI PCI", BUDGET_TT); 1239MAKE_BUDGET_INFO(ttbtci, "TT-Budget-T-CI PCI", BUDGET_TT);
1218MAKE_BUDGET_INFO(ttbcci, "TT-Budget-C-CI PCI", BUDGET_TT); 1240MAKE_BUDGET_INFO(ttbcci, "TT-Budget-C-CI PCI", BUDGET_TT);
1241MAKE_BUDGET_INFO(ttc1501, "TT-Budget C-1501 PCI", BUDGET_TT);
1219 1242
1220static struct pci_device_id pci_tbl[] = { 1243static struct pci_device_id pci_tbl[] = {
1221 MAKE_EXTENSION_PCI(ttbci, 0x13c2, 0x100c), 1244 MAKE_EXTENSION_PCI(ttbci, 0x13c2, 0x100c),
@@ -1224,6 +1247,7 @@ static struct pci_device_id pci_tbl[] = {
1224 MAKE_EXTENSION_PCI(ttbt2, 0x13c2, 0x1011), 1247 MAKE_EXTENSION_PCI(ttbt2, 0x13c2, 0x1011),
1225 MAKE_EXTENSION_PCI(ttbtci, 0x13c2, 0x1012), 1248 MAKE_EXTENSION_PCI(ttbtci, 0x13c2, 0x1012),
1226 MAKE_EXTENSION_PCI(ttbs2, 0x13c2, 0x1017), 1249 MAKE_EXTENSION_PCI(ttbs2, 0x13c2, 0x1017),
1250 MAKE_EXTENSION_PCI(ttc1501, 0x13c2, 0x101a),
1227 { 1251 {
1228 .vendor = 0, 1252 .vendor = 0,
1229 } 1253 }