]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
[media] c8sectpfe: Add Kconfig and Makefile for the driver
authorPeter Griffin <peter.griffin@linaro.org>
Thu, 30 Jul 2015 17:09:00 +0000 (14:09 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 19:08:29 +0000 (16:08 -0300)
This patch adds the Kconfig and Makefile for the c8sectpfe driver
so it will be built. It also selects additional demodulator and tuners
which are required by the supported NIM cards.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/Kconfig
drivers/media/platform/Makefile
drivers/media/platform/sti/c8sectpfe/Kconfig [new file with mode: 0644]
drivers/media/platform/sti/c8sectpfe/Makefile [new file with mode: 0644]

index ea1cb833191f11eb43414547012419042739898a..ce3eaf050ba7b196160857f8b03b233d56ead982 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Platform drivers
-#      All drivers here are currently for webcam support
+#      Most drivers here are currently for webcam support
 
 menuconfig V4L_PLATFORM_DRIVERS
        bool "V4L platform devices"
@@ -292,3 +292,5 @@ config VIDEO_VIM2M
          This is a virtual test device for the memory-to-memory driver
          framework.
 endif #V4L_TEST_DRIVERS
+
+source "drivers/media/platform/sti/c8sectpfe/Kconfig"
index c2d17c3407e929a4e9051a6ed97a7c26301ae1b1..efa0295af87bfe089acb526329b1601e95756c89 100644 (file)
@@ -35,6 +35,7 @@ obj-$(CONFIG_VIDEO_SAMSUNG_S5P_G2D)   += s5p-g2d/
 obj-$(CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC) += exynos-gsc/
 
 obj-$(CONFIG_VIDEO_STI_BDISP)          += sti/bdisp/
+obj-$(CONFIG_DVB_C8SECTPFE)            += sti/c8sectpfe/
 
 obj-$(CONFIG_BLACKFIN)                  += blackfin/
 
diff --git a/drivers/media/platform/sti/c8sectpfe/Kconfig b/drivers/media/platform/sti/c8sectpfe/Kconfig
new file mode 100644 (file)
index 0000000..d1bfd4c
--- /dev/null
@@ -0,0 +1,28 @@
+config DVB_C8SECTPFE
+       tristate "STMicroelectronics C8SECTPFE DVB support"
+       depends on DVB_CORE && I2C && (ARCH_STI || ARCH_MULTIPLATFORM)
+       select LIBELF_32
+       select FW_LOADER
+       select FW_LOADER_USER_HELPER_FALLBACK
+       select DEBUG_FS
+       select DVB_LNBP21 if MEDIA_SUBDRV_AUTOSELECT
+       select DVB_STV090x if MEDIA_SUBDRV_AUTOSELECT
+       select DVB_STB6100 if MEDIA_SUBDRV_AUTOSELECT
+       select DVB_STV6110 if MEDIA_SUBDRV_AUTOSELECT
+       select DVB_STV0900 if MEDIA_SUBDRV_AUTOSELECT
+       select DVB_STV0367 if MEDIA_SUBDRV_AUTOSELECT
+       select MEDIA_TUNER_TDA18212 if MEDIA_SUBDRV_AUTOSELECT
+
+       ---help---
+         This adds support for DVB front-end cards connected
+         to TS inputs of STiH407/410 SoC.
+
+         The driver currently supports C8SECTPFE's TS input block,
+         memdma engine, and HW PID filtering.
+
+         Supported DVB front-end cards are:
+         - STMicroelectronics DVB-T B2100A (STV0367 + TDA18212)
+         - STMicroelectronics DVB-S/S2 STV0903 + STV6110 + LNBP24 board
+
+         To compile this driver as a module, choose M here: the
+         module will be called c8sectpfe.
diff --git a/drivers/media/platform/sti/c8sectpfe/Makefile b/drivers/media/platform/sti/c8sectpfe/Makefile
new file mode 100644 (file)
index 0000000..b578c7c
--- /dev/null
@@ -0,0 +1,9 @@
+c8sectpfe-y += c8sectpfe-core.o c8sectpfe-common.o c8sectpfe-dvb.o \
+               c8sectpfe-debugfs.o
+
+obj-$(CONFIG_DVB_C8SECTPFE) += c8sectpfe.o
+
+ccflags-y += -Idrivers/media/i2c
+ccflags-y += -Idrivers/media/common
+ccflags-y += -Idrivers/media/dvb-core/ -Idrivers/media/dvb-frontends/ \
+               -Idrivers/media/tuners/