diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-19 13:25:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 19:31:49 -0400 |
commit | d642f2f3c5be4737ec021c6d6e9cda99262564f8 (patch) | |
tree | 345985f9e6dd562673fbec21703d1f5b6b0327e6 /drivers | |
parent | 99fb079aad031712283d555aa87251706aa60212 (diff) |
[media] add support for Encore FM3
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 39 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-input.c | 1 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 1 |
3 files changed, 41 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index deb8fcf4aa49..74467c18e69a 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -3620,6 +3620,38 @@ struct saa7134_board saa7134_boards[] = { | |||
3620 | .amux = 0, | 3620 | .amux = 0, |
3621 | }, | 3621 | }, |
3622 | }, | 3622 | }, |
3623 | [SAA7134_BOARD_ENCORE_ENLTV_FM3] = { | ||
3624 | .name = "Encore ENLTV-FM 3", | ||
3625 | .audio_clock = 0x02187de7, | ||
3626 | .tuner_type = TUNER_TENA_TNF_5337, | ||
3627 | .radio_type = TUNER_TEA5767, | ||
3628 | .tuner_addr = 0x61, | ||
3629 | .radio_addr = 0x60, | ||
3630 | .inputs = { { | ||
3631 | .name = name_tv, | ||
3632 | .vmux = 1, | ||
3633 | .amux = LINE2, | ||
3634 | .tv = 1, | ||
3635 | }, { | ||
3636 | .name = name_comp1, | ||
3637 | .vmux = 3, | ||
3638 | .amux = LINE1, | ||
3639 | }, { | ||
3640 | .name = name_svideo, | ||
3641 | .vmux = 8, | ||
3642 | .amux = LINE1, | ||
3643 | } }, | ||
3644 | .radio = { | ||
3645 | .name = name_radio, | ||
3646 | .vmux = 1, | ||
3647 | .amux = LINE1, | ||
3648 | }, | ||
3649 | .mute = { | ||
3650 | .name = name_mute, | ||
3651 | .amux = LINE1, | ||
3652 | .gpio = 0x43000, | ||
3653 | }, | ||
3654 | }, | ||
3623 | [SAA7134_BOARD_CINERGY_HT_PCI] = { | 3655 | [SAA7134_BOARD_CINERGY_HT_PCI] = { |
3624 | .name = "Terratec Cinergy HT PCI", | 3656 | .name = "Terratec Cinergy HT PCI", |
3625 | .audio_clock = 0x00187de7, | 3657 | .audio_clock = 0x00187de7, |
@@ -6387,6 +6419,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
6387 | .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM53, | 6419 | .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM53, |
6388 | }, { | 6420 | }, { |
6389 | .vendor = PCI_VENDOR_ID_PHILIPS, | 6421 | .vendor = PCI_VENDOR_ID_PHILIPS, |
6422 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | ||
6423 | .subvendor = 0x1a7f, | ||
6424 | .subdevice = 0x2108, | ||
6425 | .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM3, | ||
6426 | }, { | ||
6427 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
6390 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 6428 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
6391 | .subvendor = 0x153b, | 6429 | .subvendor = 0x153b, |
6392 | .subdevice = 0x1175, | 6430 | .subdevice = 0x1175, |
@@ -7102,6 +7140,7 @@ int saa7134_board_init1(struct saa7134_dev *dev) | |||
7102 | case SAA7134_BOARD_ENCORE_ENLTV: | 7140 | case SAA7134_BOARD_ENCORE_ENLTV: |
7103 | case SAA7134_BOARD_ENCORE_ENLTV_FM: | 7141 | case SAA7134_BOARD_ENCORE_ENLTV_FM: |
7104 | case SAA7134_BOARD_ENCORE_ENLTV_FM53: | 7142 | case SAA7134_BOARD_ENCORE_ENLTV_FM53: |
7143 | case SAA7134_BOARD_ENCORE_ENLTV_FM3: | ||
7105 | case SAA7134_BOARD_10MOONSTVMASTER3: | 7144 | case SAA7134_BOARD_10MOONSTVMASTER3: |
7106 | case SAA7134_BOARD_BEHOLD_401: | 7145 | case SAA7134_BOARD_BEHOLD_401: |
7107 | case SAA7134_BOARD_BEHOLD_403: | 7146 | case SAA7134_BOARD_BEHOLD_403: |
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c index dc646e65edb7..c9eff0336aa6 100644 --- a/drivers/media/video/saa7134/saa7134-input.c +++ b/drivers/media/video/saa7134/saa7134-input.c | |||
@@ -681,6 +681,7 @@ int saa7134_input_init1(struct saa7134_dev *dev) | |||
681 | polling = 50; // ms | 681 | polling = 50; // ms |
682 | break; | 682 | break; |
683 | case SAA7134_BOARD_ENCORE_ENLTV_FM53: | 683 | case SAA7134_BOARD_ENCORE_ENLTV_FM53: |
684 | case SAA7134_BOARD_ENCORE_ENLTV_FM3: | ||
684 | ir_codes = RC_MAP_ENCORE_ENLTV_FM53; | 685 | ir_codes = RC_MAP_ENCORE_ENLTV_FM53; |
685 | mask_keydown = 0x0040000; /* Enable GPIO18 line on both edges */ | 686 | mask_keydown = 0x0040000; /* Enable GPIO18 line on both edges */ |
686 | mask_keyup = 0x0040000; | 687 | mask_keyup = 0x0040000; |
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index 5b0a347b0b8f..f96cd5d761f9 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -327,6 +327,7 @@ struct saa7134_card_ir { | |||
327 | #define SAA7134_BOARD_TECHNOTREND_BUDGET_T3000 181 | 327 | #define SAA7134_BOARD_TECHNOTREND_BUDGET_T3000 181 |
328 | #define SAA7134_BOARD_KWORLD_PCI_SBTVD_FULLSEG 182 | 328 | #define SAA7134_BOARD_KWORLD_PCI_SBTVD_FULLSEG 182 |
329 | #define SAA7134_BOARD_VIDEOMATE_M1F 183 | 329 | #define SAA7134_BOARD_VIDEOMATE_M1F 183 |
330 | #define SAA7134_BOARD_ENCORE_ENLTV_FM3 184 | ||
330 | 331 | ||
331 | #define SAA7134_MAXBOARDS 32 | 332 | #define SAA7134_MAXBOARDS 32 |
332 | #define SAA7134_INPUT_MAX 8 | 333 | #define SAA7134_INPUT_MAX 8 |