Commit 75080cc3 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: spi: Kconfig: Place SPI drivers on a single menu

It makes no sense to have two menus for SPI drivers, each
one with a single driver. Merge them and keep the Kconfig
sorted.
Suggested-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent d94304f2
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
if VIDEO_DEV if VIDEO_DEV && SPI
comment "SPI I2C drivers auto-selected by 'Autoselect ancillary drivers'" comment "SPI I2C drivers auto-selected by 'Autoselect ancillary drivers'"
depends on MEDIA_HIDE_ANCILLARY_SUBDRV && SPI depends on MEDIA_HIDE_ANCILLARY_SUBDRV && SPI
menu "SPI helper chips"
visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
config VIDEO_GS1662
tristate "Gennum Serializers video"
depends on SPI && VIDEO_DEV
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help
Enable the GS1662 driver which serializes video streams.
endmenu
endif
if SPI
menu "Media SPI Adapters" menu "Media SPI Adapters"
config CXD2880_SPI_DRV config CXD2880_SPI_DRV
...@@ -29,6 +13,14 @@ config CXD2880_SPI_DRV ...@@ -29,6 +13,14 @@ config CXD2880_SPI_DRV
help help
Choose if you would like to have SPI interface support for Sony CXD2880. Choose if you would like to have SPI interface support for Sony CXD2880.
config VIDEO_GS1662
tristate "Gennum Serializers video"
depends on SPI && VIDEO_DEV
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help
Enable the GS1662 driver which serializes video streams.
endmenu endmenu
endif endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment