media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the...
authorYasunari Takiguchi <Yasunari.Takiguchi@sony.com>
Thu, 18 Jan 2018 08:59:42 +0000 (03:59 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Mar 2018 10:02:57 +0000 (05:02 -0500)
This is the Makefile, Kconfig files of driver
and MAINTAINERS file update about the driver
for the Sony CXD2880 DVB-T2/T tuner + demodulator.

Signed-off-by: Yasunari Takiguchi <Yasunari.Takiguchi@sony.com>
Signed-off-by: Masayuki Yamamoto <Masayuki.Yamamoto@sony.com>
Signed-off-by: Hideki Nozawa <Hideki.Nozawa@sony.com>
Signed-off-by: Kota Yonezawa <Kota.Yonezawa@sony.com>
Signed-off-by: Toshihiko Matsumoto <Toshihiko.Matsumoto@sony.com>
Signed-off-by: Satoshi Watanabe <Satoshi.C.Watanabe@sony.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
MAINTAINERS
drivers/media/dvb-frontends/Kconfig
drivers/media/dvb-frontends/Makefile
drivers/media/dvb-frontends/cxd2880/Kconfig [new file with mode: 0644]
drivers/media/dvb-frontends/cxd2880/Makefile [new file with mode: 0644]
drivers/media/spi/Kconfig
drivers/media/spi/Makefile

index 298f0b8..4e59769 100644 (file)
@@ -8630,6 +8630,15 @@ T:       git git://linuxtv.org/media_tree.git
 S:     Supported
 F:     drivers/media/dvb-frontends/cxd2841er*
 
+MEDIA DRIVERS FOR CXD2880
+M:     Yasunari Takiguchi <Yasunari.Takiguchi@sony.com>
+L:     linux-media@vger.kernel.org
+W:     http://linuxtv.org/
+T:     git git://linuxtv.org/media_tree.git
+S:     Supported
+F:     drivers/media/dvb-frontends/cxd2880/*
+F:     drivers/media/spi/cxd2880*
+
 MEDIA DRIVERS FOR DIGITAL DEVICES PCIE DEVICES
 M:     Daniel Scheller <d.scheller.oss@gmail.com>
 L:     linux-media@vger.kernel.org
index ca8c7ed..2ad8190 100644 (file)
@@ -546,6 +546,8 @@ config DVB_GP8PSK_FE
        depends on DVB_CORE
        default DVB_USB_GP8PSK
 
+source "drivers/media/dvb-frontends/cxd2880/Kconfig"
+
 comment "DVB-C (cable) frontends"
        depends on DVB_CORE
 
index abbd76e..67a783f 100644 (file)
@@ -130,3 +130,4 @@ obj-$(CONFIG_DVB_ASCOT2E) += ascot2e.o
 obj-$(CONFIG_DVB_HELENE) += helene.o
 obj-$(CONFIG_DVB_ZD1301_DEMOD) += zd1301_demod.o
 obj-$(CONFIG_DVB_CXD2099) += cxd2099.o
+obj-$(CONFIG_DVB_CXD2880) += cxd2880/
diff --git a/drivers/media/dvb-frontends/cxd2880/Kconfig b/drivers/media/dvb-frontends/cxd2880/Kconfig
new file mode 100644 (file)
index 0000000..9d98967
--- /dev/null
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0
+
+config DVB_CXD2880
+       tristate "Sony CXD2880 DVB-T2/T tuner + demodulator"
+       depends on DVB_CORE && SPI
+       default m if !MEDIA_SUBDRV_AUTOSELECT
+       help
+         Say Y when you want to support this frontend.
\ No newline at end of file
diff --git a/drivers/media/dvb-frontends/cxd2880/Makefile b/drivers/media/dvb-frontends/cxd2880/Makefile
new file mode 100644 (file)
index 0000000..65a5d37
--- /dev/null
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0
+
+cxd2880-objs := cxd2880_common.o \
+               cxd2880_devio_spi.o \
+               cxd2880_integ.o \
+               cxd2880_io.o \
+               cxd2880_spi_device.o \
+               cxd2880_tnrdmd.o \
+               cxd2880_tnrdmd_dvbt2.o \
+               cxd2880_tnrdmd_dvbt2_mon.o \
+               cxd2880_tnrdmd_dvbt.o \
+               cxd2880_tnrdmd_dvbt_mon.o\
+               cxd2880_tnrdmd_mon.o\
+               cxd2880_top.o
+
+obj-$(CONFIG_DVB_CXD2880) += cxd2880.o
+
+ccflags-y += -Idrivers/media/dvb-core
+ccflags-y += -Idrivers/media/dvb-frontends
index a21f5a3..b07ac86 100644 (file)
@@ -12,3 +12,17 @@ config VIDEO_GS1662
 endmenu
 
 endif
+
+if SPI
+menu "Media SPI Adapters"
+
+config CXD2880_SPI_DRV
+       tristate "Sony CXD2880 SPI support"
+       depends on DVB_CORE && SPI
+       default m if !MEDIA_SUBDRV_AUTOSELECT
+       help
+         Choose if you would like to have SPI interface support for Sony CXD2880.
+
+endmenu
+
+endif
index ea64013..9e53677 100644 (file)
@@ -1 +1,6 @@
 obj-$(CONFIG_VIDEO_GS1662) += gs1662.o
+obj-$(CONFIG_CXD2880_SPI_DRV) += cxd2880-spi.o
+
+ccflags-y += -Idrivers/media/dvb-core
+ccflags-y += -Idrivers/media/dvb-frontends
+ccflags-y += -Idrivers/media/dvb-frontends/cxd2880