linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Linux Doc Mailing List <linux-doc@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
	linux-kernel@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
	Ezequiel Garcia <ezequiel@collabora.com>
Subject: [PATCH v2 06/20] media: Kconfig: use a sub-menu to select supported devices
Date: Tue, 24 Mar 2020 14:42:59 +0100	[thread overview]
Message-ID: <72a1168a8d48bd603ef1e13350bbc49bdc036544.1585057134.git.mchehab+huawei@kernel.org> (raw)
In-Reply-To: <cover.1585057134.git.mchehab+huawei@kernel.org>

The media subsystem has hundreds of driver-specific options.
The *_SUPPORT config options work as a sort of filter,
allowing to reduce its complexity for users that won't
want to dig into thousands of options they don't need.

Yet, it the filtering options are becoming large. So, let's
place it on a sub-menu.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 drivers/media/Kconfig     | 22 +++++++++++++---------
 drivers/media/mmc/Kconfig |  2 +-
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 18dea82d76d7..e266d1afa912 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -25,22 +25,21 @@ menuconfig MEDIA_SUPPORT
 	  Additional info and docs are available on the web at
 	  <https://linuxtv.org>
 
-if MEDIA_SUPPORT
-
-comment "Multimedia core support"
+menu "Types of devices to be supported"
+	depends on MEDIA_SUPPORT
 
 #
 # Multimedia support - automatically enable V4L2 and DVB core
 #
 config MEDIA_CAMERA_SUPPORT
-	bool "Cameras/video grabbers support"
+	bool "Cameras and video grabbers"
 	help
 	  Enable support for webcams and video grabbers.
 
 	  Say Y when you have a webcam or a video capture grabber board.
 
 config MEDIA_ANALOG_TV_SUPPORT
-	bool "Analog TV support"
+	bool "Analog TV"
 	help
 	  Enable analog TV support.
 
@@ -52,7 +51,7 @@ config MEDIA_ANALOG_TV_SUPPORT
 		will disable support for them.
 
 config MEDIA_DIGITAL_TV_SUPPORT
-	bool "Digital TV support"
+	bool "Digital TV"
 	help
 	  Enable digital TV support.
 
@@ -60,7 +59,7 @@ config MEDIA_DIGITAL_TV_SUPPORT
 	  hybrid digital TV and analog TV.
 
 config MEDIA_RADIO_SUPPORT
-	bool "AM/FM radio receivers/transmitters support"
+	bool "AM/FM radio receivers/transmitters"
 	help
 	  Enable AM/FM radio support.
 
@@ -74,7 +73,7 @@ config MEDIA_RADIO_SUPPORT
 		disable support for them.
 
 config MEDIA_SDR_SUPPORT
-	bool "Software defined radio support"
+	bool "Software defined radio"
 	help
 	  Enable software defined radio support.
 
@@ -89,6 +88,10 @@ config MEDIA_CEC_SUPPORT
 	  Say Y when you have an HDMI receiver, transmitter or a USB CEC
 	  adapter that supports HDMI CEC.
 
+endmenu # media support types
+
+if MEDIA_SUPPORT
+
 comment "Media core options"
 
 source "drivers/media/cec/Kconfig"
@@ -177,7 +180,8 @@ source "drivers/media/common/Kconfig"
 source "drivers/media/platform/Kconfig"
 source "drivers/media/mmc/Kconfig"
 
-comment "Supported FireWire (IEEE 1394) Adapters"
+
+comment "FireWire (IEEE 1394) Adapters"
 	depends on DVB_CORE && FIREWIRE
 source "drivers/media/firewire/Kconfig"
 
diff --git a/drivers/media/mmc/Kconfig b/drivers/media/mmc/Kconfig
index de0528c6994a..5217f5bd205e 100644
--- a/drivers/media/mmc/Kconfig
+++ b/drivers/media/mmc/Kconfig
@@ -1,3 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
-comment "Supported MMC/SDIO adapters"
+comment "MMC/SDIO adapters"
 source "drivers/media/mmc/siano/Kconfig"
-- 
2.24.1


  parent reply	other threads:[~2020-03-24 13:44 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-24 13:42 [PATCH v2 00/20] Reorganize media Kconfig Mauro Carvalho Chehab
2020-03-24 13:42 ` [PATCH v2 01/20] media: dvb-usb: auto-select CYPRESS_FIRMWARE Mauro Carvalho Chehab
2020-03-24 13:42 ` [PATCH v2 02/20] media: Kconfig: not all V4L2 platform drivers are for camera Mauro Carvalho Chehab
2020-03-24 13:42 ` [PATCH v2 03/20] media: pci: move VIDEO_PCI_SKELETON to a different Kconfig Mauro Carvalho Chehab
2020-03-24 13:42 ` [PATCH v2 04/20] media: reorganize the drivers menu options Mauro Carvalho Chehab
2020-03-24 13:42 ` [PATCH v2 05/20] media: Kconfig: update the MEDIA_SUPPORT help message Mauro Carvalho Chehab
2020-03-24 13:42 ` Mauro Carvalho Chehab [this message]
2020-03-24 13:43 ` [PATCH v2 07/20] media: Kconfig: add an option to filter in/out the embedded drivers Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 08/20] media: split test drivers from platform directory Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 09/20] media: Kconfig: make filtering devices optional Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 10/20] media: Kconfig: move CEC-specific options to cec/Kconfig Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 11/20] media: Kconfig: move comment to siano include Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 12/20] media: Kconfig: move DVB-specific options to dvb-core/Kconfig Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 13/20] media: Kconfig: move V4L2 subdev API to v4l2-core/Kconfig Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 14/20] media: Kconfig: move drivers-specific TTPCI_EEPROM Kconfig var Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 15/20] media: Kconfig: move media controller core select to main Kconfig Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 16/20] media: Kconfig: better organize menu items Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 17/20] media: Kconfig: mode firewire comment to firewire/Kconfig Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 18/20] media: Kconfig: place all options under a sub-menu Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 19/20] media: Kconfig: move the position of sub-driver autoselection Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 20/20] media: Kconfig: on !EMBEDDED && !EXPERT, enable driver filtering Mauro Carvalho Chehab
2020-03-24 13:53 ` [PATCH v2 00/20] Reorganize media Kconfig Laurent Pinchart
2020-03-24 14:02   ` Mauro Carvalho Chehab
2020-03-24 13:58 ` Hans Verkuil
2020-03-24 14:27   ` Mauro Carvalho Chehab
2020-04-16  9:51 ` David Hildenbrand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=72a1168a8d48bd603ef1e13350bbc49bdc036544.1585057134.git.mchehab+huawei@kernel.org \
    --to=mchehab+huawei@kernel.org \
    --cc=corbet@lwn.net \
    --cc=ezequiel@collabora.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).