Skip to content

Commit 850a3f7

Browse files
petegriffinmchehab
authored andcommitted
[media] c8sectpfe: Add Kconfig and Makefile for the driver
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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 03ad477 commit 850a3f7

File tree

4 files changed

+41
-1
lines changed

4 files changed

+41
-1
lines changed

drivers/media/platform/Kconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Platform drivers
3-
# All drivers here are currently for webcam support
3+
# Most drivers here are currently for webcam support
44

55
menuconfig V4L_PLATFORM_DRIVERS
66
bool "V4L platform devices"
@@ -292,3 +292,5 @@ config VIDEO_VIM2M
292292
This is a virtual test device for the memory-to-memory driver
293293
framework.
294294
endif #V4L_TEST_DRIVERS
295+
296+
source "drivers/media/platform/sti/c8sectpfe/Kconfig"

drivers/media/platform/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ obj-$(CONFIG_VIDEO_SAMSUNG_S5P_G2D) += s5p-g2d/
3535
obj-$(CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC) += exynos-gsc/
3636

3737
obj-$(CONFIG_VIDEO_STI_BDISP) += sti/bdisp/
38+
obj-$(CONFIG_DVB_C8SECTPFE) += sti/c8sectpfe/
3839

3940
obj-$(CONFIG_BLACKFIN) += blackfin/
4041

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
config DVB_C8SECTPFE
2+
tristate "STMicroelectronics C8SECTPFE DVB support"
3+
depends on DVB_CORE && I2C && (ARCH_STI || ARCH_MULTIPLATFORM)
4+
select LIBELF_32
5+
select FW_LOADER
6+
select FW_LOADER_USER_HELPER_FALLBACK
7+
select DEBUG_FS
8+
select DVB_LNBP21 if MEDIA_SUBDRV_AUTOSELECT
9+
select DVB_STV090x if MEDIA_SUBDRV_AUTOSELECT
10+
select DVB_STB6100 if MEDIA_SUBDRV_AUTOSELECT
11+
select DVB_STV6110 if MEDIA_SUBDRV_AUTOSELECT
12+
select DVB_STV0900 if MEDIA_SUBDRV_AUTOSELECT
13+
select DVB_STV0367 if MEDIA_SUBDRV_AUTOSELECT
14+
select MEDIA_TUNER_TDA18212 if MEDIA_SUBDRV_AUTOSELECT
15+
16+
---help---
17+
This adds support for DVB front-end cards connected
18+
to TS inputs of STiH407/410 SoC.
19+
20+
The driver currently supports C8SECTPFE's TS input block,
21+
memdma engine, and HW PID filtering.
22+
23+
Supported DVB front-end cards are:
24+
- STMicroelectronics DVB-T B2100A (STV0367 + TDA18212)
25+
- STMicroelectronics DVB-S/S2 STV0903 + STV6110 + LNBP24 board
26+
27+
To compile this driver as a module, choose M here: the
28+
module will be called c8sectpfe.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
c8sectpfe-y += c8sectpfe-core.o c8sectpfe-common.o c8sectpfe-dvb.o \
2+
c8sectpfe-debugfs.o
3+
4+
obj-$(CONFIG_DVB_C8SECTPFE) += c8sectpfe.o
5+
6+
ccflags-y += -Idrivers/media/i2c
7+
ccflags-y += -Idrivers/media/common
8+
ccflags-y += -Idrivers/media/dvb-core/ -Idrivers/media/dvb-frontends/ \
9+
-Idrivers/media/tuners/

0 commit comments

Comments
 (0)