]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/media/video/cx18/cx18-cards.h
V4L/DVB (8089): cx18: add support for Conexant Raptor PAL/SECAM card
[mirror_ubuntu-zesty-kernel.git] / drivers / media / video / cx18 / cx18-cards.h
index dc2dd945d4c3be4aefd2b324a6d4f368b8825c8c..b5f894c0afa907e1dbe0362bd4f333093b260238 100644 (file)
@@ -85,6 +85,13 @@ struct cx18_gpio_i2c_slave_reset {
        int msecs_recovery; /* time after deassert for chips to be ready */
 };
 
+struct ivtv_gpio_audio_input {         /* select tuner/line in input */
+       u32 mask;               /* leave to 0 if not supported */
+       u32 tuner;
+       u32 linein;
+       u32 radio;
+};
+
 struct cx18_card_tuner {
        v4l2_std_id std;        /* standard for which the tuner is suitable */
        int         tuner;      /* tuner ID (from tuner.h) */
@@ -123,6 +130,7 @@ struct cx18_card {
        u8 xceive_pin;          /* XCeive tuner GPIO reset pin */
        struct cx18_gpio_init            gpio_init;
        struct cx18_gpio_i2c_slave_reset gpio_i2c_slave_reset;
+       struct ivtv_gpio_audio_input    gpio_audio_input;
 
        struct cx18_card_tuner tuners[CX18_CARD_MAX_TUNERS];
        struct cx18_card_tuner_i2c *i2c;