Skip to content

Commit

Permalink
[media] Kconfig: add SDR support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Jul 21, 2014
1 parent 0185e19 commit 435ef14
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 9 additions & 2 deletions drivers/media/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ config MEDIA_RADIO_SUPPORT
support radio reception. Disabling this option will
disable support for them.

config MEDIA_SDR_SUPPORT
bool "Software defined radio support"
---help---
Enable software defined radio support.

Say Y when you have a software defined radio device.

config MEDIA_RC_SUPPORT
bool "Remote Controller support"
depends on INPUT
Expand Down Expand Up @@ -95,7 +102,7 @@ config MEDIA_CONTROLLER
config VIDEO_DEV
tristate
depends on MEDIA_SUPPORT
depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT
depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
default y

config VIDEO_V4L2_SUBDEV_API
Expand Down Expand Up @@ -171,7 +178,7 @@ comment "Media ancillary drivers (tuners, sensors, i2c, frontends)"

config MEDIA_SUBDRV_AUTOSELECT
bool "Autoselect ancillary drivers (tuners, sensors, i2c, frontends)"
depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT
depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
depends on HAS_IOMEM
select I2C
select I2C_MUX
Expand Down
4 changes: 4 additions & 0 deletions drivers/media/usb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,9 @@ if (MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT)
source "drivers/media/usb/em28xx/Kconfig"
endif

if MEDIA_SDR_SUPPORT
comment "Software defined radio USB devices"
endif

endif #MEDIA_USB_SUPPORT
endif #USB

0 comments on commit 435ef14

Please sign in to comment.