OSDN Git Service

media: ngene: add support for Sony CXD28xx-based DuoFlex modules
authorDaniel Scheller <d.scheller@gmx.net>
Sun, 25 Feb 2018 12:31:34 +0000 (07:31 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 16:03:09 +0000 (11:03 -0500)
commit42b6515fd55d5c4dbeb8183ad18b289182e80456
treeb48fbfade76719478711380c4da9edeaacd52129
parent7d5397d47f90f0a89c60f163177862a22d5c9685
media: ngene: add support for Sony CXD28xx-based DuoFlex modules

Recognize (probe) and support (attach) all Sony CXD28xx based DuoFlex
addon modules/cards, namely the DuoFlex CT2 (CXD2837), ISDB-T (CXD2838),
C2T2 (CXD2843) and C2T2I (CXD2854). Since all these modules are equipped
with a MachXO2 interface, that support is required for the hardware to
work. This functionality utilises the auxiliary cxd2841er and tda18212
drivers.

This also adds autoselection (if MEDIA_SUBDRV_AUTOSELECT) of the CXD2841ER
demod driver to Kconfig. The __maybe_unused annotation can now be removed
from the xo2names array.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/ngene/Kconfig
drivers/media/pci/ngene/ngene-cards.c