From patchwork Wed Mar 25 16:03:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 210448 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F0EFC54FD3 for ; Wed, 25 Mar 2020 16:04:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5FAA42073E for ; Wed, 25 Mar 2020 16:04:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585152243; bh=/YZy1j5dX52QBA68q9SViv2y+oiaFKA4xv2QbEhOZA4=; h=From:To:Cc:Subject:Date:List-ID:From; b=ujy87ddQN/k1aRa2oA1vLXF9OcwyEV8EQsc7lUQdhElA4mkvjNLBxcPQpDLnuddSM 21BM/Dpe/6RQhBZ61/BYJ7X2t5yBMCeRacqQ5c12G+KX1sSQlHJApMMTOcTz49Yg5q RNHZ+Mz9Ze3RI/LRIXXZKDJJ7KoPhVOQ0KcTbaHU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728041AbgCYQEC (ORCPT ); Wed, 25 Mar 2020 12:04:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:53260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727846AbgCYQEC (ORCPT ); Wed, 25 Mar 2020 12:04:02 -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 ECC0D2077D; Wed, 25 Mar 2020 16:04:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585152241; bh=/YZy1j5dX52QBA68q9SViv2y+oiaFKA4xv2QbEhOZA4=; h=From:To:Cc:Subject:Date:From; b=ClsJ9UYWBbp4Uz4XmfRkQk92n+yf7yV4SxCYgHSBdz2Gh7Th6OlxpUqO2W7f8mo7V CPGOZ727NTJiTNbIckIlIOuODwoyzR/WuJelJpvDnv2xK5QMhbfh2GkmVrv1W5SpT5 3V8zz02wGsvYVpYQuFHE8jvZpGviVt2iGFpo0qH4= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jH8Va-003MJ8-K9; Wed, 25 Mar 2020 17:03:58 +0100 From: Mauro Carvalho Chehab To: Linux Media Mailing List Cc: Mauro Carvalho Chehab , Ezequiel Garcia , Helen Koike , Ludovic Desroches , Shawn Guo , Sascha Hauer , Chen-Yu Tsai , Nicolas Ferre , linux-renesas-soc@vger.kernel.org, Yong Deng , Kukjin Kim , Michal Simek , Pavel Machek , Paul Kocialkowski , Yong Zhi , linux-samsung-soc@vger.kernel.org, Fabio Estevam , Hyun Kwon , Pengutronix Kernel Team , Hans Verkuil , Krzysztof Kozlowski , Sakari Ailus , Sylwester Nawrocki , Kyungmin Park , NXP Linux Team , Heungjun Kim , linux-arm-kernel@lists.infradead.org, Maxime Ripard , devel@driverdev.osuosl.org, Bingbu Cao , "Lad, Prabhakar" , Alexandre Belloni , Philipp Zabel , Steve Longerbeam , Greg Kroah-Hartman , Tian Shu Qiu , =?utf-8?q?Niklas_S=C3=B6derlund?= , Laurent Pinchart Subject: [PATCH 0/4] media Kconfig reorg - part 2 Date: Wed, 25 Mar 2020 17:03:53 +0100 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org That's the second part of media Kconfig changes. The entire series is at: https://git.linuxtv.org/mchehab/experimental.git/log/?h=media-kconfig It addresses some issues I noticed when reviewing the series, and do some changes on how things will be displayed. It also simplify dependencencies on media-controller-dependent drivers, by auto-selecting the needed deps. It should be noticed that the media controller may also optionally selected for several other drivers, so there is still a prompt to allow manually enabling it, in the case it was not auto-selected. PS.: While not needed anymore, because all dependent drivers auto select, at least for now, I opted to keep the prompt for: - VIDEO_V4L2_SUBDEV_API The rationale is that there are a few drivers that can optionally depend on it (like tvp5150). So, better to keep the dependency, in order to be able to test those drivers with and without the option. - MEDIA_CONTROLLER_REQUEST_API The rationale is that there are some warnings at the Request API, and it would be good to keep it, at least while drivers are on staging. Mauro Carvalho Chehab (4): media: dvb-core: Kconfig: default to use dynamic minors media: Kconfig files: use select for V4L2 subdevs and MC media: i2c/Kconfig: reorganize items there media: Kconfig: don't use visible for device type select drivers/media/Kconfig | 25 +- drivers/media/dvb-core/Kconfig | 1 + drivers/media/i2c/Kconfig | 406 +++++++++++------- drivers/media/i2c/et8ek8/Kconfig | 4 +- drivers/media/i2c/m5mols/Kconfig | 5 +- drivers/media/i2c/smiapp/Kconfig | 5 +- drivers/media/pci/cobalt/Kconfig | 4 +- drivers/media/pci/intel/ipu3/Kconfig | 4 +- drivers/media/pci/sta2x11/Kconfig | 6 +- drivers/media/platform/Kconfig | 28 +- drivers/media/platform/am437x/Kconfig | 4 +- drivers/media/platform/atmel/Kconfig | 4 +- drivers/media/platform/cadence/Kconfig | 8 +- drivers/media/platform/exynos4-is/Kconfig | 5 +- drivers/media/platform/rcar-vin/Kconfig | 8 +- .../media/platform/sunxi/sun4i-csi/Kconfig | 4 +- .../media/platform/sunxi/sun6i-csi/Kconfig | 4 +- drivers/media/platform/xilinx/Kconfig | 4 +- drivers/media/spi/Kconfig | 4 +- drivers/media/test_drivers/vimc/Kconfig | 4 +- drivers/staging/media/hantro/Kconfig | 5 +- drivers/staging/media/imx/Kconfig | 5 +- drivers/staging/media/ipu3/Kconfig | 3 +- drivers/staging/media/omap4iss/Kconfig | 4 +- drivers/staging/media/rkisp1/Kconfig | 4 +- drivers/staging/media/sunxi/cedrus/Kconfig | 5 +- 26 files changed, 349 insertions(+), 214 deletions(-)