diff options
author | Igor Novgorodov <igor@novg.net> | 2011-05-17 12:46:36 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 20:49:03 -0400 |
commit | 2a7b6a404b4c6a9184b60b89607d5f883c43fa62 (patch) | |
tree | 590986bc2179c03f725936c9dabd3fc294f0257a /drivers/media/video/cx231xx | |
parent | 5418f9fcb76b458c4e5ca574663c3c9b3a96dc6d (diff) |
[media] cx231xx: Add support for Iconbit U100
This patch adds support for the "Iconbit Analog Stick U100 FM".
Only composite & s-video inputs, no tuner support now.
Signed-off-by: Igor Novgorodov <igor@novg.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx231xx')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-cards.c | 27 | ||||
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx.h | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-cards.c b/drivers/media/video/cx231xx/cx231xx-cards.c index 15a94d22506d..22703815a31f 100644 --- a/drivers/media/video/cx231xx/cx231xx-cards.c +++ b/drivers/media/video/cx231xx/cx231xx-cards.c | |||
@@ -507,6 +507,31 @@ struct cx231xx_board cx231xx_boards[] = { | |||
507 | } | 507 | } |
508 | }, | 508 | }, |
509 | }, | 509 | }, |
510 | |||
511 | [CX231XX_BOARD_ICONBIT_U100] = { | ||
512 | .name = "Iconbit Analog Stick U100 FM", | ||
513 | .tuner_type = TUNER_ABSENT, | ||
514 | .decoder = CX231XX_AVDECODER, | ||
515 | .output_mode = OUT_MODE_VIP11, | ||
516 | .demod_xfer_mode = 0, | ||
517 | .ctl_pin_status_mask = 0xFFFFFFC4, | ||
518 | .agc_analog_digital_select_gpio = 0x1C, | ||
519 | .gpio_pin_status_mask = 0x4001000, | ||
520 | |||
521 | .input = {{ | ||
522 | .type = CX231XX_VMUX_COMPOSITE1, | ||
523 | .vmux = CX231XX_VIN_2_1, | ||
524 | .amux = CX231XX_AMUX_LINE_IN, | ||
525 | .gpio = NULL, | ||
526 | }, { | ||
527 | .type = CX231XX_VMUX_SVIDEO, | ||
528 | .vmux = CX231XX_VIN_1_1 | | ||
529 | (CX231XX_VIN_1_2 << 8) | | ||
530 | CX25840_SVIDEO_ON, | ||
531 | .amux = CX231XX_AMUX_LINE_IN, | ||
532 | .gpio = NULL, | ||
533 | } }, | ||
534 | }, | ||
510 | }; | 535 | }; |
511 | const unsigned int cx231xx_bcount = ARRAY_SIZE(cx231xx_boards); | 536 | const unsigned int cx231xx_bcount = ARRAY_SIZE(cx231xx_boards); |
512 | 537 | ||
@@ -540,6 +565,8 @@ struct usb_device_id cx231xx_id_table[] = { | |||
540 | .driver_info = CX231XX_BOARD_PV_XCAPTURE_USB}, | 565 | .driver_info = CX231XX_BOARD_PV_XCAPTURE_USB}, |
541 | {USB_DEVICE(0x1b80, 0xe424), | 566 | {USB_DEVICE(0x1b80, 0xe424), |
542 | .driver_info = CX231XX_BOARD_KWORLD_UB430_USB_HYBRID}, | 567 | .driver_info = CX231XX_BOARD_KWORLD_UB430_USB_HYBRID}, |
568 | {USB_DEVICE(0x1f4d, 0x0237), | ||
569 | .driver_info = CX231XX_BOARD_ICONBIT_U100}, | ||
543 | {}, | 570 | {}, |
544 | }; | 571 | }; |
545 | 572 | ||
diff --git a/drivers/media/video/cx231xx/cx231xx.h b/drivers/media/video/cx231xx/cx231xx.h index 7b95eeeffa94..46dd84067816 100644 --- a/drivers/media/video/cx231xx/cx231xx.h +++ b/drivers/media/video/cx231xx/cx231xx.h | |||
@@ -66,6 +66,7 @@ | |||
66 | #define CX231XX_BOARD_PV_PLAYTV_USB_HYBRID 10 | 66 | #define CX231XX_BOARD_PV_PLAYTV_USB_HYBRID 10 |
67 | #define CX231XX_BOARD_PV_XCAPTURE_USB 11 | 67 | #define CX231XX_BOARD_PV_XCAPTURE_USB 11 |
68 | #define CX231XX_BOARD_KWORLD_UB430_USB_HYBRID 12 | 68 | #define CX231XX_BOARD_KWORLD_UB430_USB_HYBRID 12 |
69 | #define CX231XX_BOARD_ICONBIT_U100 13 | ||
69 | 70 | ||
70 | /* Limits minimum and default number of buffers */ | 71 | /* Limits minimum and default number of buffers */ |
71 | #define CX231XX_MIN_BUF 4 | 72 | #define CX231XX_MIN_BUF 4 |