Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] Kconfig: add SDR support

Add software defined radio device support for media Kconfig.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

authored by

Antti Palosaari and committed by
Mauro Carvalho Chehab
435ef148 0185e197

+13 -2
+9 -2
drivers/media/Kconfig
··· 59 59 support radio reception. Disabling this option will 60 60 disable support for them. 61 61 62 + config MEDIA_SDR_SUPPORT 63 + bool "Software defined radio support" 64 + ---help--- 65 + Enable software defined radio support. 66 + 67 + Say Y when you have a software defined radio device. 68 + 62 69 config MEDIA_RC_SUPPORT 63 70 bool "Remote Controller support" 64 71 depends on INPUT ··· 102 95 config VIDEO_DEV 103 96 tristate 104 97 depends on MEDIA_SUPPORT 105 - depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT 98 + depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT 106 99 default y 107 100 108 101 config VIDEO_V4L2_SUBDEV_API ··· 178 171 179 172 config MEDIA_SUBDRV_AUTOSELECT 180 173 bool "Autoselect ancillary drivers (tuners, sensors, i2c, frontends)" 181 - depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT 174 + depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT 182 175 depends on HAS_IOMEM 183 176 select I2C 184 177 select I2C_MUX
+4
drivers/media/usb/Kconfig
··· 52 52 source "drivers/media/usb/em28xx/Kconfig" 53 53 endif 54 54 55 + if MEDIA_SDR_SUPPORT 56 + comment "Software defined radio USB devices" 57 + endif 58 + 55 59 endif #MEDIA_USB_SUPPORT 56 60 endif #USB