Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4863029ybb; Tue, 24 Mar 2020 06:44:38 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvRkVNm3o8esucvPDT41kqkCLQNTHCAKyEYfLFmgixU2olbiGkBnue/0MyBo6G3jAAJNjbS X-Received: by 2002:aca:4c12:: with SMTP id z18mr3273723oia.43.1585057478672; Tue, 24 Mar 2020 06:44:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585057478; cv=none; d=google.com; s=arc-20160816; b=ouiybJrBewAuldgRaMIYx9G6J5YRJWCp93Km8edrLmOOszqZIznbuA+H6zd7IYzlX6 rhatGdWUs0HbDffr9/i9z/VN1CYH7hcIO9u8PRensgW3coF24c3+ah6Y5gj9JqSiO1Pk hRb+Z74l6miq0hY1jsx3+V7epiQyg1EN0YD0Dq7yv8okuuasVc/aJRySCK3z8kG6WrEs F7lgE9VXGcLFuLQMqBl2zb/FFwSBpzYO6sSdzCNulHCzuKDMlmvbdI68adKtfEYkuw28 J/3/pt6oU4S5oP3buyavR978hN8VlVBhLrbcIryDmFUDHY562IPI39m3CwHdKes5iHtI +P8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jD1iSt69JOwvFcbH9RMBsXcubAOxdkTnhgJZoLPxv6Y=; b=fw9EKFn2eq03Ag5fKd0geQZzaCYjhxHw/4OuVAkJUrDJtDZyj1Fj27tya5TliXvrac r2pcTW/eAfIfJNr0K6eSb878AEls+S5+3L+HBry58MO7YpyViBT6KMScYhQ6pgWm1f2b v8itFlq3GVR/FnDU3tNuJ1XpkStvu9lm2IR0NB6vDGnQAjHxVTPmFNgKFyG/bkHobcHC frlzPxNv5ZeceBKQxRyfLT6jtk4RgMZSAZWdOyPSPl9CTa/3l/gKhLArQbnRuli0Jp32 i3IVCHTfDKrOcwokdKR7kPRosEjMY6ZUvDkVBtW/uaa6wRC3ryFL5Z+eQhsGbuSpDbIF 70kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KwDrH0NG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s200si8248884oie.188.2020.03.24.06.44.26; Tue, 24 Mar 2020 06:44:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KwDrH0NG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728298AbgCXNnp (ORCPT + 99 others); Tue, 24 Mar 2020 09:43:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:39100 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727920AbgCXNnU (ORCPT ); Tue, 24 Mar 2020 09:43:20 -0400 Received: from mail.kernel.org (ip5f5ad4e9.dynamic.kabel-deutschland.de [95.90.212.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E1CC621707; Tue, 24 Mar 2020 13:43:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585057399; bh=oSsb+HN55pEmPfT+clNvUwcyNluPUo3+cd4CjUseYKo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KwDrH0NGxVpfHowcTOjfsJX0F5gb3vjMR178UCMw8vGNAiPuInu3hCNtkqkzDNN5V Uqr0LzhVyXCv306Fmq05tLPqpWt8/DJeBt8F8w1xL/qcn+1QeZ4S1YzA3lKp49HFFu GPfGLHYWt4xAh/NVe3cj06Otv25s1RW50YD+egEY= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jGjpt-0025s4-5h; Tue, 24 Mar 2020 14:43:17 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Ezequiel Garcia Subject: [PATCH v2 18/20] media: Kconfig: place all options under a sub-menu Date: Tue, 24 Mar 2020 14:43:11 +0100 Message-Id: <967506cc001ad7f194ee24e823a398c293b352ab.1585057134.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org That should make easier for people setting the media subsystem config options, as they'll be split by the type of functionality that will be enabled. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 026a1151273c..6c55d20458ee 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig @@ -124,48 +124,49 @@ config MEDIA_TEST_SUPPORT Say Y when you have a software defined radio device. endmenu # media device types -comment "Media core options" - -# -# Video4Linux support -# Only enables if one of the V4L2 types (ATV, webcam, radio) is selected -# +menu "Media core support" + visible if !MEDIA_SUPPORT_FILTER config VIDEO_DEV - tristate + tristate "Video4Linux core" depends on MEDIA_SUPPORT default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || V4L_PLATFORM_DRIVERS + help + Enables the V4L2 API, used by cameras, analog TV, video grabbers, + radio devices and by some input devices. config MEDIA_CONTROLLER bool "Media Controller API" - depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT + default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_EMBEDDED_SUPPORT help Enable the media controller API used to query media devices internal topology and configure it dynamically. This API is mostly used by camera interfaces in embedded platforms. -# -# DVB Core -# Only enables if one of DTV is selected -# - config DVB_CORE - tristate + tristate "Digital TV core" depends on MEDIA_SUPPORT - depends on MEDIA_DIGITAL_TV_SUPPORT + default MEDIA_DIGITAL_TV_SUPPORT depends on (I2C || I2C=n) - default y select CRC32 - help + Enables the DVB API, used by Digital TV devices. Supports several + standards, including DVB, ATSC, ISDB and CMDB. +endmenu # Media core support + +# +# Extra per-media API core functionality + +menu "Media core additional options" source "drivers/media/v4l2-core/Kconfig" source "drivers/media/mc/Kconfig" source "drivers/media/dvb-core/Kconfig" source "drivers/media/cec/Kconfig" +endmenu -comment "Media drivers" +menu "Media drivers" # # V4L platform/mem2mem drivers @@ -188,7 +189,9 @@ endif # MEDIA_EMBEDDED_SUPPORT source "drivers/media/firewire/Kconfig" -comment "Media ancillary drivers (tuners, sensors, i2c, spi, frontends)" +endmenu + +menu "Media ancillary drivers (tuners, sensors, i2c, spi, frontends)" # # Ancillary drivers (tuners, i2c, spi, frontends) @@ -233,4 +236,6 @@ source "drivers/media/spi/Kconfig" source "drivers/media/tuners/Kconfig" source "drivers/media/dvb-frontends/Kconfig" +endmenu + endif # MEDIA_SUPPORT -- 2.24.1