From: Shuah Khan <skhan@linuxfoundation.org>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>,
Felipe Balbi <balbi@kernel.org>,
Florian Fainelli <f.fainelli@gmail.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Giulio Benetti <giulio.benetti@benettiengineering.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Hans Verkuil <hverkuil@xs4all.nl>,
Heiko Stuebner <heiko@sntech.de>,
Heungjun Kim <riverful.kim@samsung.com>,
Houlong Wei <houlong.wei@mediatek.com>,
Hugues Fruchet <hugues.fruchet@foss.st.com>,
Hyun Kwon <hyun.kwon@xilinx.com>,
Jacek Anaszewski <jacek.anaszewski@gmail.com>,
Jacob Chen <jacob-chen@iotwrt.com>,
Jaroslav Kysela <perex@perex.cz>,
Jean-Christophe Trotin <jean-christophe.trotin@foss.st.com>,
Jeff LaBundy <jeff@labundy.com>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Joe Hung <joe_hung@ilitek.com>, Joel Stanley <joel@jms.id.au>,
Jonathan Hunter <jonathanh@nvidia.com>,
Kevin Hilman <khilman@baylibre.com>,
Kieran Bingham <kieran.bingham@ideasonboard.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Ludovic Desroches <ludovic.desroches@microchip.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Marek Vasut <marex@denx.de>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Martina Krasteva <martinax.krasteva@intel.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Maxime Ripard <mripard@kernel.org>,
Michael Grzeschik <m.grzeschik@pengutronix.de>,
Michael Tretter <m.tretter@pengutronix.de>,
Michal Simek <michal.simek@xilinx.com>,
Mike Isely <isely@pobox.com>, Ming Qian <ming.qian@nxp.com>,
Minghsiu Tsai <minghsiu.tsai@mediatek.com>,
Mirela Rabulea <mirela.rabulea@nxp.com>,
NXP Linux Team <linux-imx@nxp.com>,
Neil Armstrong <narmstrong@baylibre.com>,
Nicolas Ferre <nicolas.ferre@microchip.com>,
Nicolas Saenz Julienne <nsaenz@kernel.org>,
Olivier Lorin <o.lorin@laposte.net>,
Paul Kocialkowski <paul.kocialkowski@bootlin.com>,
Pavel Machek <pavel@ucw.cz>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Philipp Zabel <p.zabel@pengutronix.de>,
Randy Dunlap <rdunlap@infradead.org>, Ray Jui <rjui@broadcom.com>,
Rick Chang <rick.chang@mediatek.com>,
Robert Foss <robert.foss@linaro.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Scott Branden <sbranden@broadcom.com>, Sean Young <sean@mess.org>,
Shawn Guo <shawnguo@kernel.org>, Shawn Tu <shawnx.tu@intel.com>,
Shijie Qin <shijie.qin@nxp.com>,
Sowjanya Komatineni <skomatineni@nvidia.com>,
Stanimir Varbanov <stanimir.varbanov@linaro.org>,
Steve Longerbeam <slongerbeam@gmail.com>,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Takashi Iwai <tiwai@suse.com>,
Thierry Reding <thierry.reding@gmail.com>,
Tianshu Qiu <tian.shu.qiu@intel.com>,
Tiffany Lin <tiffany.lin@mediatek.com>,
Todor Tomov <todor.too@gmail.com>,
Vincent Knecht <vincent.knecht@mailoo.org>,
Yong Deng <yong.deng@magewell.com>, Yong Zhi <yong.zhi@intel.com>,
Zhou Peng <eagle.zhou@nxp.com>,
alsa-devel@alsa-project.org,
bcm-kernel-feedback-list@broadcom.com,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-aspeed@lists.ozlabs.org,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org,
linux-renesas-soc@vger.kernel.org,
linux-rockchip@lists.infradead.org,
linux-rpi-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-staging@lists.linux.dev,
linux-stm32@st-md-mailman.stormreply.com,
linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org,
linux-usb@vger.kernel.org, mjpeg-users@lists.sourceforge.net,
openbmc@lists.ozlabs.org, Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH 64/64] media: Kconfig: cleanup VIDEO_DEV dependencies
Date: Fri, 18 Mar 2022 14:59:05 -0600 [thread overview]
Message-ID: <9e02d88a-3344-8d91-c652-72cb989506de@linuxfoundation.org> (raw)
In-Reply-To: <decd26e90adc5c16470e4f738810f22fe6478b27.1647242579.git.mchehab@kernel.org>
On 3/14/22 1:55 AM, Mauro Carvalho Chehab wrote:
> media Kconfig has two entries associated to V4L API:
> VIDEO_DEV and VIDEO_V4L2.
>
> On Kernel 2.6.x, there were two V4L APIs, each one with its own flag.
> VIDEO_DEV were meant to:
> 1) enable Video4Linux and make its Kconfig options to appear;
> 2) it makes the Kernel build the V4L core.
>
> while VIDEO_V4L2 where used to distinguish between drivers that
> implement the newer API and drivers that implemented the former one.
>
> With time, such meaning changed, specially after the removal of
> all V4L version 1 drivers.
>
> At the current implementation, VIDEO_DEV only does (1): it enables
> the media options related to V4L, that now has:
>
> menu "Video4Linux options"
> visible if VIDEO_DEV
>
> source "drivers/media/v4l2-core/Kconfig"
> endmenu
>
> but it doesn't affect anymore the V4L core drivers.
>
> The rationale is that the V4L2 core has a "soft" dependency
> at the I2C bus, and now requires to select a number of other
> Kconfig options:
>
> config VIDEO_V4L2
> tristate
> depends on (I2C || I2C=n) && VIDEO_DEV
> select RATIONAL
> select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE
> default (I2C || I2C=n) && VIDEO_DEV
>
> In the past, merging them would be tricky, but it seems that it is now
> possible to merge those symbols, in order to simplify V4L dependencies.
>
> Let's keep VIDEO_DEV, as this one is used on some make *defconfig
> configurations.
>
> Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
> ---
>
> drivers/media/test-drivers/vicodec/Kconfig | 2 +-
> drivers/media/test-drivers/vimc/Kconfig | 2 +-
> drivers/media/test-drivers/vivid/Kconfig | 2 +-
>
For vimc change: (trimmed the recipient list to send response)
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
thanks,
-- Shuah
prev parent reply other threads:[~2022-03-18 20:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-14 7:54 [PATCH 00/64] media: Kconfig/Makefile reorg Mauro Carvalho Chehab
2022-03-14 7:54 ` [PATCH 05/64] media: platform: move platform menu dependencies to drivers Mauro Carvalho Chehab
2022-03-14 7:55 ` [PATCH 28/64] media: platform: sun8i-di: move config to its own file Mauro Carvalho Chehab
2022-03-14 7:55 ` [PATCH 29/64] media: platform: sun8i-rotate: " Mauro Carvalho Chehab
2022-03-14 7:55 ` [PATCH 38/64] media: platform: move some manufacturer entries Mauro Carvalho Chehab
2022-03-14 7:55 ` [PATCH 47/64] media: platform: rename sunxi/ to allwinner/ Mauro Carvalho Chehab
2022-03-14 7:55 ` [PATCH 64/64] media: Kconfig: cleanup VIDEO_DEV dependencies Mauro Carvalho Chehab
2022-03-14 8:01 ` Neil Armstrong
2022-03-18 20:59 ` Shuah Khan [this message]
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=9e02d88a-3344-8d91-c652-72cb989506de@linuxfoundation.org \
--to=skhan@linuxfoundation.org \
--cc=alsa-devel@alsa-project.org \
--cc=balbi@kernel.org \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=eagle.zhou@nxp.com \
--cc=f.fainelli@gmail.com \
--cc=festevam@gmail.com \
--cc=geert+renesas@glider.be \
--cc=giulio.benetti@benettiengineering.com \
--cc=gregkh@linuxfoundation.org \
--cc=heiko@sntech.de \
--cc=houlong.wei@mediatek.com \
--cc=hugues.fruchet@foss.st.com \
--cc=hverkuil@xs4all.nl \
--cc=hyun.kwon@xilinx.com \
--cc=isely@pobox.com \
--cc=jacek.anaszewski@gmail.com \
--cc=jacob-chen@iotwrt.com \
--cc=jbrunet@baylibre.com \
--cc=jean-christophe.trotin@foss.st.com \
--cc=jeff@labundy.com \
--cc=jernej.skrabec@gmail.com \
--cc=joe_hung@ilitek.com \
--cc=joel@jms.id.au \
--cc=jonathanh@nvidia.com \
--cc=kernel@pengutronix.de \
--cc=khilman@baylibre.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=krzysztof.kozlowski@canonical.com \
--cc=kyungmin.park@samsung.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-imx@nxp.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=linux-tegra@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=ludovic.desroches@microchip.com \
--cc=m.grzeschik@pengutronix.de \
--cc=m.szyprowski@samsung.com \
--cc=m.tretter@pengutronix.de \
--cc=marex@denx.de \
--cc=martin.blumenstingl@googlemail.com \
--cc=martinax.krasteva@intel.com \
--cc=matthias.bgg@gmail.com \
--cc=mchehab@kernel.org \
--cc=mcoquelin.stm32@gmail.com \
--cc=michal.simek@xilinx.com \
--cc=ming.qian@nxp.com \
--cc=minghsiu.tsai@mediatek.com \
--cc=mirela.rabulea@nxp.com \
--cc=mjpeg-users@lists.sourceforge.net \
--cc=mripard@kernel.org \
--cc=narmstrong@baylibre.com \
--cc=nicolas.ferre@microchip.com \
--cc=nsaenz@kernel.org \
--cc=o.lorin@laposte.net \
--cc=openbmc@lists.ozlabs.org \
--cc=p.zabel@pengutronix.de \
--cc=paul.kocialkowski@bootlin.com \
--cc=pavel@ucw.cz \
--cc=perex@perex.cz \
--cc=rdunlap@infradead.org \
--cc=rick.chang@mediatek.com \
--cc=riverful.kim@samsung.com \
--cc=rjui@broadcom.com \
--cc=robert.foss@linaro.org \
--cc=s.hauer@pengutronix.de \
--cc=s.nawrocki@samsung.com \
--cc=sakari.ailus@linux.intel.com \
--cc=sbranden@broadcom.com \
--cc=sean@mess.org \
--cc=shawnguo@kernel.org \
--cc=shawnx.tu@intel.com \
--cc=shijie.qin@nxp.com \
--cc=skomatineni@nvidia.com \
--cc=slongerbeam@gmail.com \
--cc=stanimir.varbanov@linaro.org \
--cc=thierry.reding@gmail.com \
--cc=tian.shu.qiu@intel.com \
--cc=tiffany.lin@mediatek.com \
--cc=tiwai@suse.com \
--cc=todor.too@gmail.com \
--cc=vincent.knecht@mailoo.org \
--cc=yong.deng@magewell.com \
--cc=yong.zhi@intel.com \
/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