Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2132902pxp; Sun, 13 Mar 2022 09:36:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwktvSq/ja2alp1W/YXMdskQ5shaeH0HDGk9VcMzd9g8VIXTKg/mRvsipANe7d43dyr0iuu X-Received: by 2002:a50:d711:0:b0:410:a51a:77c5 with SMTP id t17-20020a50d711000000b00410a51a77c5mr17085140edi.154.1647189368279; Sun, 13 Mar 2022 09:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647189368; cv=none; d=google.com; s=arc-20160816; b=GmD3wSxEEaXkmug+kgx0AMDMGrzdf+RaXYhXurftrFQvkOYTDQ0jgWj78/Lyh38UdN WpOTyq0PzQijq9jsa8yg9kea+vPe7FTsHghTnumVVf8DLB3h1Yyqb/HwX2DD3Q/DwiQL M2++2iQnH/iR72YfAUVpfzYYdHY62Fu4/BNUaspWDS9V6dCiT8YVPm8GY/8nD43HaAG+ X2Sdlv6Lq/La4WYO1XP9ubyB3civn1w9yUr0xzVAzk1TvkD753zonQCjv+gYmSzDpp55 oxWwH4xxK/XcxIQj6CtoYQLXrnhlS0XI+hmuqWjkLYfVV8IdC40QR89pu4OPaPScLSKm +l/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=GnXt+LCEHnkgmYpLGzCXKClMtHaq3MIb+i8wT1KG2ks=; b=PgWXpoAg2NCJjANeqb3c4alvONtgMSvFr3GhPZ/m56BklF8Kxmt6zpZtn19LCULtlE sz1WLWL2sGc2lwQzHxQ/l+RRDbxodnANyCXrgxLzUP5xcwkQJiGYQrU3eVQY5s5YGNKE Q/A8l3HZ2BKkd1nWQIyhBPC7gdkMMlsXzPjhQj3NuSInLUNvvkVmWgE/G4eWyXz8MYWg ZgOuWrYPRj6hgUc6tsv6A5bN7ZcnikS+899qkdXR6WA3Jjw7Qb6pRMFuGXjJqXs0rRQo VR/nz//b7lc20cqcWMQAmk3p8WBg7uq1Fo37P2mA1J40ULb8rF6axinhLKLpHlCvn1dB RF6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=UKmwiD6L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p24-20020aa7cc98000000b00410a101f172si7891804edt.472.2022.03.13.09.35.43; Sun, 13 Mar 2022 09:36:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=UKmwiD6L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234067AbiCMH0M (ORCPT + 99 others); Sun, 13 Mar 2022 03:26:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233603AbiCMHXK (ORCPT ); Sun, 13 Mar 2022 03:23:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B9721945C3; Sat, 12 Mar 2022 23:21:58 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EE60560F74; Sun, 13 Mar 2022 07:21:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D74DAC36AFE; Sun, 13 Mar 2022 07:21:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647156114; bh=kW9qVy+SfLizvyA+Wv88ZMn7Oou1yegsNRLTfWjNngw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UKmwiD6LAyQaeyqAWOZxuDB3qnn3vZRjuORNfEfEjh+4X+a1r0N50DKQ5lncrK5Tm Ppl7Y2vweQs3yF3x/DJhU8npPmrgfEDTF55KBE3hOTOcOSw7X9DWn8JOZf1OHlgXiX QrwLui4Vb2LqOIgJwCtHiPO0OHl2NARiaQ5b0D1SxEAgWXLxWb/E/S5hAJo8JA1NNk hiQ5SBbbz/NK5Cf4RTbSeJQPNHZJdsRspMUgcSjYEMATWSZP4ZcgROOPGIeD3/yEd1 /9/ePvr1Ydj9OShNuRU31u9bI+f1n1RLofNBhVpKIn3eXwWLYsizoCGlG5KBzBtnDw WBu9ZLpvyozqA== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTIY4-0012y0-LR; Sun, 13 Mar 2022 08:21:52 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Dmitry Osipenko , Hans Verkuil , Jernej Skrabec , Laurent Pinchart , Ming Qian , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v3 39/39] media: platform: Kconfig: place platform drivers on a submenu Date: Sun, 13 Mar 2022 08:21:48 +0100 Message-Id: <8d251866e64326a98f1d21e0ac0e150c46c0498c.1647155572.git.mchehab@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just like media bus drivers, place platform drivers on a submenu, in order to better organize user-selection: Media drivers ---> *** media drivers *** [*] Media USB Adapters ---> [*] Media PCI Adapters ---> -*- Radio Adapters ---> [*] Media platform devices ---> *** MMC/SDIO DVB adapters *** < > Siano SMS1xxx based MDTV via SDIO interface [*] V4L test drivers ---> [*] DVB test drivers ---> *** FireWire (IEEE 1394) Adapters *** <*> FireDTV and FloppyDTV *** common driver options *** [ ] Enable Remote Controller support for Siano devices [ ] Enable debugfs for smsdvb As this submenu depends on MEDIA_PLATFORM_DRIVERS and defaults to "y", there's no need to change already-existing .config entries, nor touch the several make *_defconfig. Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/39] at: https://lore.kernel.org/all/cover.1647155572.git.mchehab@kernel.org/ drivers/media/Kconfig | 8 +++++--- drivers/media/platform/Kconfig | 10 ++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index f3f24c63536b..01b536863657 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig @@ -216,13 +216,12 @@ menu "Media drivers" comment "Drivers filtered as selected at 'Filter media drivers'" depends on MEDIA_SUPPORT_FILTER +comment "media drivers" + source "drivers/media/usb/Kconfig" source "drivers/media/pci/Kconfig" source "drivers/media/radio/Kconfig" -# Common driver options -source "drivers/media/common/Kconfig" - if MEDIA_PLATFORM_SUPPORT source "drivers/media/platform/Kconfig" source "drivers/media/mmc/Kconfig" @@ -234,6 +233,9 @@ endif source "drivers/media/firewire/Kconfig" +# Common driver options +source "drivers/media/common/Kconfig" + endmenu # diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index e3316fa37a8f..721f27ef0130 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -3,6 +3,14 @@ # Platform drivers # Most drivers here are currently for webcam support +menuconfig MEDIA_PLATFORM_DRIVERS + bool "Media platform devices" + default "y" + help + Say Y here to enable support for platform-specific media drivers. + +if MEDIA_PLATFORM_DRIVERS + config V4L_PLATFORM_DRIVERS bool "V4L platform devices" help @@ -91,3 +99,5 @@ source "drivers/media/platform/tegra/vde/Kconfig" source "drivers/media/platform/ti-vpe/Kconfig" source "drivers/media/platform/via/Kconfig" source "drivers/media/platform/xilinx/Kconfig" + +endif # MEDIA_PLATFORM_DRIVERS -- 2.35.1