]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5316): Add radio support for the Lifeview FlyDVB-T Duo
authorPeter Missel <peter.missel@onlinehome.de>
Fri, 27 Apr 2007 15:31:14 +0000 (12:31 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:43:34 +0000 (15:43 -0300)
There are card variants supporting FM radio through tda8275.

Signed-off-by: Peter Missel <peter.missel@onlinehome.de>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7134/saa7134-cards.c

index 782832e7ed6d04128ab803bf2a675c87f2c51e36..3f972ad3e443f8704a929f4d787f54ab4076caf2 100644 (file)
@@ -1784,11 +1784,13 @@ struct saa7134_board saa7134_boards[] = {
                .radio_type     = UNSET,
                .tuner_addr     = ADDR_UNSET,
                .radio_addr     = ADDR_UNSET,
-               .mpeg           = SAA7134_MPEG_DVB,
+               .gpiomask       = 0x00200000,
+                       .mpeg           = SAA7134_MPEG_DVB,
                .inputs         = {{
                        .name = name_tv,
                        .vmux = 1,
                        .amux = TV,
+                       .gpio = 0x200000,       /* GPIO21=High for TV input */
                        .tv   = 1,
                },{
                        .name = name_comp1,     /* Composite signal on S-Video input */
@@ -1803,6 +1805,11 @@ struct saa7134_board saa7134_boards[] = {
                        .vmux = 8,
                        .amux = LINE2,
                }},
+               .radio = {
+                       .name = name_radio,
+                       .amux = TV,
+                       .gpio = 0x000000,       /* GPIO21=Low for FM radio antenna */
+               },
        },
        [SAA7134_BOARD_PHILIPS_TOUGH] = {
                .name           = "Philips TOUGH DVB-T reference design",