Kconfig (8fc42fff164b92dbea1961533875730314e8fe34) Kconfig (5e9e60f4214153e66217310b55ca52946181c933)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Multimedia device configuration
4#
5
6source "drivers/media/rc/Kconfig"
7
8menuconfig MEDIA_SUPPORT

--- 107 unchanged lines hidden (view full) ---

116 have regressions.
117
118 Say Y if you want to use some virtual test driver.
119
120 In case of doubts, say N.
121 Say Y when you have a software defined radio device.
122endmenu # media device types
123
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Multimedia device configuration
4#
5
6source "drivers/media/rc/Kconfig"
7
8menuconfig MEDIA_SUPPORT

--- 107 unchanged lines hidden (view full) ---

116 have regressions.
117
118 Say Y if you want to use some virtual test driver.
119
120 In case of doubts, say N.
121 Say Y when you have a software defined radio device.
122endmenu # media device types
123
124comment "Multimedia core features"
125
124
126#
127# Video4Linux support
128# Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
129#
125menu "Media core support"
126 visible if !MEDIA_SUPPORT_FILTER
130
131comment "Video4Linux core enabled to support hybrid TV devices"
132 depends on MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI
133
134config VIDEO_DEV
135 tristate
136 prompt "Video4Linux core" if !(MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI)
137 default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || MEDIA_PLATFORM_SUPPORT || MEDIA_TEST_SUPPORT || MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI
127
128comment "Video4Linux core enabled to support hybrid TV devices"
129 depends on MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI
130
131config VIDEO_DEV
132 tristate
133 prompt "Video4Linux core" if !(MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI)
134 default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || MEDIA_PLATFORM_SUPPORT || MEDIA_TEST_SUPPORT || MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI
135 help
136 Enables the V4L2 API, used by cameras, analog TV, video grabbers,
137 radio devices and by some input devices.
138
139config MEDIA_CONTROLLER
140 bool "Media Controller API"
141 default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_PLATFORM_SUPPORT
142 help
143 Enable the media controller API used to query media devices internal
144 topology and configure it dynamically.
145

--- 7 unchanged lines hidden (view full) ---

153comment "Digital TV core enabled to support hybrid TV devices"
154 depends on MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI
155
156config DVB_CORE
157 tristate
158 prompt "Digital TV core" if !(MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI)
159 depends on MEDIA_DIGITAL_TV_SUPPORT
160 depends on (I2C || I2C=n)
138
139config MEDIA_CONTROLLER
140 bool "Media Controller API"
141 default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_PLATFORM_SUPPORT
142 help
143 Enable the media controller API used to query media devices internal
144 topology and configure it dynamically.
145

--- 7 unchanged lines hidden (view full) ---

153comment "Digital TV core enabled to support hybrid TV devices"
154 depends on MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI
155
156config DVB_CORE
157 tristate
158 prompt "Digital TV core" if !(MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI)
159 depends on MEDIA_DIGITAL_TV_SUPPORT
160 depends on (I2C || I2C=n)
161 default y
162 select CRC32
161 select CRC32
163
164 help
162 help
163 Enables the DVB API, used by Digital TV devices. Supports several
164 standards, including DVB, ATSC, ISDB and CMDB.
165
165
166endmenu # Media core support
166
167
168#
169# Extra per-media API core functionality
167
170
168
171menu "Media core additional options"
169source "drivers/media/v4l2-core/Kconfig"
170source "drivers/media/mc/Kconfig"
171source "drivers/media/dvb-core/Kconfig"
172source "drivers/media/cec/Kconfig"
172source "drivers/media/v4l2-core/Kconfig"
173source "drivers/media/mc/Kconfig"
174source "drivers/media/dvb-core/Kconfig"
175source "drivers/media/cec/Kconfig"
176endmenu
173
177
174comment "Media drivers"
178menu "Media drivers"
175
176comment "Drivers filtered as selected at 'Filter media drivers'"
177 depends on MEDIA_SUPPORT_FILTER
178
179source "drivers/media/usb/Kconfig"
180source "drivers/media/pci/Kconfig"
181source "drivers/media/radio/Kconfig"
182
183# Common driver options
184source "drivers/media/common/Kconfig"
185
186if MEDIA_PLATFORM_SUPPORT
187source "drivers/media/platform/Kconfig"
188source "drivers/media/test_drivers/Kconfig"
189source "drivers/media/mmc/Kconfig"
190endif
191
192source "drivers/media/firewire/Kconfig"
193
179
180comment "Drivers filtered as selected at 'Filter media drivers'"
181 depends on MEDIA_SUPPORT_FILTER
182
183source "drivers/media/usb/Kconfig"
184source "drivers/media/pci/Kconfig"
185source "drivers/media/radio/Kconfig"
186
187# Common driver options
188source "drivers/media/common/Kconfig"
189
190if MEDIA_PLATFORM_SUPPORT
191source "drivers/media/platform/Kconfig"
192source "drivers/media/test_drivers/Kconfig"
193source "drivers/media/mmc/Kconfig"
194endif
195
196source "drivers/media/firewire/Kconfig"
197
194comment "Media ancillary drivers (tuners, sensors, i2c, spi, frontends)"
198endmenu
195
199
200menu "Media ancillary drivers (tuners, sensors, i2c, spi, frontends)"
201
196#
197# Ancillary drivers (tuners, i2c, spi, frontends)
198#
199
200config MEDIA_SUBDRV_AUTOSELECT
201 bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)"
202 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
203 depends on HAS_IOMEM

--- 27 unchanged lines hidden (view full) ---

231 depends on MODULES
232 default MODULES
233
234source "drivers/media/i2c/Kconfig"
235source "drivers/media/spi/Kconfig"
236source "drivers/media/tuners/Kconfig"
237source "drivers/media/dvb-frontends/Kconfig"
238
202#
203# Ancillary drivers (tuners, i2c, spi, frontends)
204#
205
206config MEDIA_SUBDRV_AUTOSELECT
207 bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)"
208 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
209 depends on HAS_IOMEM

--- 27 unchanged lines hidden (view full) ---

237 depends on MODULES
238 default MODULES
239
240source "drivers/media/i2c/Kconfig"
241source "drivers/media/spi/Kconfig"
242source "drivers/media/tuners/Kconfig"
243source "drivers/media/dvb-frontends/Kconfig"
244
245endmenu
246
239endif # MEDIA_SUPPORT
247endif # MEDIA_SUPPORT