aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx23885/cx23885-input.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/pci/cx23885/cx23885-input.c')
-rw-r--r--drivers/media/pci/cx23885/cx23885-input.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/media/pci/cx23885/cx23885-input.c b/drivers/media/pci/cx23885/cx23885-input.c
index 9d37fe661691..088799c3b49b 100644
--- a/drivers/media/pci/cx23885/cx23885-input.c
+++ b/drivers/media/pci/cx23885/cx23885-input.c
@@ -87,6 +87,13 @@ void cx23885_input_rx_work_handler(struct cx23885_dev *dev, u32 events)
87 case CX23885_BOARD_MYGICA_X8507: 87 case CX23885_BOARD_MYGICA_X8507:
88 case CX23885_BOARD_TBS_6980: 88 case CX23885_BOARD_TBS_6980:
89 case CX23885_BOARD_TBS_6981: 89 case CX23885_BOARD_TBS_6981:
90 case CX23885_BOARD_DVBSKY_T9580:
91 case CX23885_BOARD_DVBSKY_T980C:
92 case CX23885_BOARD_DVBSKY_S950C:
93 case CX23885_BOARD_TT_CT2_4500_CI:
94 case CX23885_BOARD_DVBSKY_S950:
95 case CX23885_BOARD_DVBSKY_S952:
96 case CX23885_BOARD_DVBSKY_T982:
90 /* 97 /*
91 * The only boards we handle right now. However other boards 98 * The only boards we handle right now. However other boards
92 * using the CX2388x integrated IR controller should be similar 99 * using the CX2388x integrated IR controller should be similar
@@ -139,6 +146,13 @@ static int cx23885_input_ir_start(struct cx23885_dev *dev)
139 case CX23885_BOARD_HAUPPAUGE_HVR1290: 146 case CX23885_BOARD_HAUPPAUGE_HVR1290:
140 case CX23885_BOARD_HAUPPAUGE_HVR1250: 147 case CX23885_BOARD_HAUPPAUGE_HVR1250:
141 case CX23885_BOARD_MYGICA_X8507: 148 case CX23885_BOARD_MYGICA_X8507:
149 case CX23885_BOARD_DVBSKY_T9580:
150 case CX23885_BOARD_DVBSKY_T980C:
151 case CX23885_BOARD_DVBSKY_S950C:
152 case CX23885_BOARD_TT_CT2_4500_CI:
153 case CX23885_BOARD_DVBSKY_S950:
154 case CX23885_BOARD_DVBSKY_S952:
155 case CX23885_BOARD_DVBSKY_T982:
142 /* 156 /*
143 * The IR controller on this board only returns pulse widths. 157 * The IR controller on this board only returns pulse widths.
144 * Any other mode setting will fail to set up the device. 158 * Any other mode setting will fail to set up the device.
@@ -305,6 +319,23 @@ int cx23885_input_init(struct cx23885_dev *dev)
305 /* A guess at the remote */ 319 /* A guess at the remote */
306 rc_map = RC_MAP_TBS_NEC; 320 rc_map = RC_MAP_TBS_NEC;
307 break; 321 break;
322 case CX23885_BOARD_DVBSKY_T9580:
323 case CX23885_BOARD_DVBSKY_T980C:
324 case CX23885_BOARD_DVBSKY_S950C:
325 case CX23885_BOARD_DVBSKY_S950:
326 case CX23885_BOARD_DVBSKY_S952:
327 case CX23885_BOARD_DVBSKY_T982:
328 /* Integrated CX23885 IR controller */
329 driver_type = RC_DRIVER_IR_RAW;
330 allowed_protos = RC_BIT_ALL;
331 rc_map = RC_MAP_DVBSKY;
332 break;
333 case CX23885_BOARD_TT_CT2_4500_CI:
334 /* Integrated CX23885 IR controller */
335 driver_type = RC_DRIVER_IR_RAW;
336 allowed_protos = RC_BIT_ALL;
337 rc_map = RC_MAP_TT_1500;
338 break;
308 default: 339 default:
309 return -ENODEV; 340 return -ENODEV;
310 } 341 }