From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E8705139 for ; Fri, 18 Mar 2022 20:59:10 +0000 (UTC) Received: by mail-io1-f41.google.com with SMTP id h63so10629207iof.12 for ; Fri, 18 Mar 2022 13:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oNAPpR+5qx5bHO8wJ1SIgWig3LUKuwuqLo641jvFAak=; b=R3B03hXdzmRL4FMHavxss76+tb9Q0Hy78NbdGoHIgmWRsuIfciGr2JWywHMf/Kpkhf QniqntLtfhiE8E3Wo0oxTFcS1KWerJtG5tNgnrk3j2xUiX43wMMg+/mjp1wKd5A4aRIu ErIGjgvdava6sQlmLmDCO8Qr2P9RfzXvczFjE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oNAPpR+5qx5bHO8wJ1SIgWig3LUKuwuqLo641jvFAak=; b=SCVpBYNVGwVap9MG1eSwcNc1opjz9i8ZdTy3FQjDvBdTPvvBGLsV9sHowFa6IZeKEK MHQLephILTwED+vYhsrjIAffdcNe9l1iJs6CyZGsyDw7pXl8EqDqkqmhuyVGBtSuMdTC VLVw5Yk9hR+Sd5MtHumkl+aDsypADsetZy+rY7ANWqrOuwZ4b7+hb+xq8mUAHTD4mG2V ENyxbWr6/pfEfieTeNk7ZdgHax4AWicWf/x1ixDf1kWoHsNv7jpRJ7ZyYCl+fuvUa0OK LIYZe5GSPkL5VyjT+m2/utRPzMPTz9VKvII9H+cervpYYsshgLwwVSqADpzoAeQ6R6ZX 2MQA== X-Gm-Message-State: AOAM530my+BRZnnmKnhiiqG2v8f1R0OtE3X1pRxJu1PscZb8eJaR0BBy AXLYHj4uqYqE3U3ITq0SdrqlAg== X-Google-Smtp-Source: ABdhPJw+g6qtXnLujFKVRv55AGvVhZcbGPndogV4eznqetPdpLwXYueCN6beIFsP8OoV/l235xaSaw== X-Received: by 2002:a5d:9542:0:b0:648:f92b:7bc6 with SMTP id a2-20020a5d9542000000b00648f92b7bc6mr5223132ios.73.1647637149068; Fri, 18 Mar 2022 13:59:09 -0700 (PDT) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id d14-20020a056602328e00b006494aa126c2sm3528385ioz.11.2022.03.18.13.59.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Mar 2022 13:59:08 -0700 (PDT) Subject: Re: [PATCH 64/64] media: Kconfig: cleanup VIDEO_DEV dependencies To: Mauro Carvalho Chehab Cc: Fabio Estevam , Felipe Balbi , Florian Fainelli , Geert Uytterhoeven , Giulio Benetti , Greg Kroah-Hartman , Hans Verkuil , Heiko Stuebner , Heungjun Kim , Houlong Wei , Hugues Fruchet , Hyun Kwon , Jacek Anaszewski , Jacob Chen , Jaroslav Kysela , Jean-Christophe Trotin , Jeff LaBundy , Jernej Skrabec , Jerome Brunet , Joe Hung , Joel Stanley , Jonathan Hunter , Kevin Hilman , Kieran Bingham , Krzysztof Kozlowski , Kyungmin Park , Laurent Pinchart , Ludovic Desroches , Marek Szyprowski , Marek Vasut , Martin Blumenstingl , Martina Krasteva , Matthias Brugger , Maxime Coquelin , Maxime Ripard , Michael Grzeschik , Michael Tretter , Michal Simek , Mike Isely , Ming Qian , Minghsiu Tsai , Mirela Rabulea , NXP Linux Team , Neil Armstrong , Nicolas Ferre , Nicolas Saenz Julienne , Olivier Lorin , Paul Kocialkowski , Pavel Machek , Pengutronix Kernel Team , Philipp Zabel , Randy Dunlap , Ray Jui , Rick Chang , Robert Foss , Sakari Ailus , Sascha Hauer , Scott Branden , Sean Young , Shawn Guo , Shawn Tu , Shijie Qin , Sowjanya Komatineni , Stanimir Varbanov , Steve Longerbeam , Sylwester Nawrocki , Takashi Iwai , Thierry Reding , Tianshu Qiu , Tiffany Lin , Todor Tomov , Vincent Knecht , Yong Deng , Yong Zhi , Zhou Peng , 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 References: From: Shuah Khan Message-ID: <9e02d88a-3344-8d91-c652-72cb989506de@linuxfoundation.org> Date: Fri, 18 Mar 2022 14:59:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 > Reviewed-by: Laurent Pinchart > Signed-off-by: Mauro Carvalho Chehab > --- > > 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 thanks, -- Shuah From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8815FC4332F for ; Fri, 18 Mar 2022 20:59:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gOkAA1NcpHbBoIW3l/A9VsZyyrCggFrUiBnvUKEdFPs=; b=39UdojRw+9L82CGUi9Br0pUWHU IjJD+HFZWubnz+tmcqKa7EJL2dDAnCvN6I7Z9AAxDC4eHZGoDyY+uYXwpltYBE5P0TCLneIEhkmlN ww2f0OTg52sOAAV4vNEZQ8d6IaD+9hRQ1DSgesGlrpv1SVX8ZtUEGCAxIWoJPQBwOQ2Cj/hmeFaXi OUMnlM+5k33a2GUWy8XeAqbh4mObMZ7U4Db4RLA034qpuU9ZHaWRibA0oEwqymAu8oBr7PzrStmKp HTE/K5EEIjHsMShmtZOlF9wx+Tqt7JcPnX0jwmJFOvzs8E4Q4ckwaoVhQyndyX6AbNZ91lrLEUwA6 WxLxhkuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVJgn-002sDW-GI; Fri, 18 Mar 2022 20:59:13 +0000 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVJgk-002sAo-KF for linux-mediatek@lists.infradead.org; Fri, 18 Mar 2022 20:59:12 +0000 Received: by mail-io1-xd35.google.com with SMTP id z6so1117457iot.0 for ; Fri, 18 Mar 2022 13:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oNAPpR+5qx5bHO8wJ1SIgWig3LUKuwuqLo641jvFAak=; b=R3B03hXdzmRL4FMHavxss76+tb9Q0Hy78NbdGoHIgmWRsuIfciGr2JWywHMf/Kpkhf QniqntLtfhiE8E3Wo0oxTFcS1KWerJtG5tNgnrk3j2xUiX43wMMg+/mjp1wKd5A4aRIu ErIGjgvdava6sQlmLmDCO8Qr2P9RfzXvczFjE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oNAPpR+5qx5bHO8wJ1SIgWig3LUKuwuqLo641jvFAak=; b=GUp/RP5N7fQK46DXFMe9Qvd4frM5KBAnVnOHTMOQ8OFw+a05J07yn8HG/mluVGgASE hVzxhcWyQZ0vKmQJtC3U10zuPR1Gy89BNs1jCyvaa+zDzfgiIxI2S4gJDodUYN+qTWzI 86KeMpC0/OYmcib05TExRUEwsmt4H5CPyzB4ShBiyphqflqHScMe+k4WDk6ynlm5ZkxT Y2Dno5S21bNwiBoZVjUt+YsMIvvhYzSNSGCTAPqzsqCpiFl0SKntI6y0sNIkgRtZ7N6J 3bV+NwgWeXwly7w+qbc2M7+Vax9Ux1/E6KB/eG905GQ/M7lGLWGVVZNc2o2eOxXO9hm7 CDOw== X-Gm-Message-State: AOAM532usCLTXnL3TJ0NqSFXDOZOB7cl7UZbr2NvhtNiDz7UwtWNNu6M lGEJu1ZovLPdq/NmCo8yczPJ5A== X-Google-Smtp-Source: ABdhPJw+g6qtXnLujFKVRv55AGvVhZcbGPndogV4eznqetPdpLwXYueCN6beIFsP8OoV/l235xaSaw== X-Received: by 2002:a5d:9542:0:b0:648:f92b:7bc6 with SMTP id a2-20020a5d9542000000b00648f92b7bc6mr5223132ios.73.1647637149068; Fri, 18 Mar 2022 13:59:09 -0700 (PDT) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id d14-20020a056602328e00b006494aa126c2sm3528385ioz.11.2022.03.18.13.59.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Mar 2022 13:59:08 -0700 (PDT) Subject: Re: [PATCH 64/64] media: Kconfig: cleanup VIDEO_DEV dependencies To: Mauro Carvalho Chehab Cc: Fabio Estevam , Felipe Balbi , Florian Fainelli , Geert Uytterhoeven , Giulio Benetti , Greg Kroah-Hartman , Hans Verkuil , Heiko Stuebner , Heungjun Kim , Houlong Wei , Hugues Fruchet , Hyun Kwon , Jacek Anaszewski , Jacob Chen , Jaroslav Kysela , Jean-Christophe Trotin , Jeff LaBundy , Jernej Skrabec , Jerome Brunet , Joe Hung , Joel Stanley , Jonathan Hunter , Kevin Hilman , Kieran Bingham , Krzysztof Kozlowski , Kyungmin Park , Laurent Pinchart , Ludovic Desroches , Marek Szyprowski , Marek Vasut , Martin Blumenstingl , Martina Krasteva , Matthias Brugger , Maxime Coquelin , Maxime Ripard , Michael Grzeschik , Michael Tretter , Michal Simek , Mike Isely , Ming Qian , Minghsiu Tsai , Mirela Rabulea , NXP Linux Team , Neil Armstrong , Nicolas Ferre , Nicolas Saenz Julienne , Olivier Lorin , Paul Kocialkowski , Pavel Machek , Pengutronix Kernel Team , Philipp Zabel , Randy Dunlap , Ray Jui , Rick Chang , Robert Foss , Sakari Ailus , Sascha Hauer , Scott Branden , Sean Young , Shawn Guo , Shawn Tu , Shijie Qin , Sowjanya Komatineni , Stanimir Varbanov , Steve Longerbeam , Sylwester Nawrocki , Takashi Iwai , Thierry Reding , Tianshu Qiu , Tiffany Lin , Todor Tomov , Vincent Knecht , Yong Deng , Yong Zhi , Zhou Peng , 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 References: From: Shuah Khan Message-ID: <9e02d88a-3344-8d91-c652-72cb989506de@linuxfoundation.org> Date: Fri, 18 Mar 2022 14:59:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220318_135910_759723_11B6A332 X-CRM114-Status: GOOD ( 23.09 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.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 > Reviewed-by: Laurent Pinchart > Signed-off-by: Mauro Carvalho Chehab > --- > > 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 thanks, -- Shuah _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CC58DC433F5 for ; Fri, 18 Mar 2022 20:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IOIp1338v9T4SH7C1tuHZ+YBxSaqPEHy9JJ8T9TnFv4=; b=E1Pi12zscFNIayeSCyLsclz9rs e0umq2OH9yus8DF34yS3+gvBET7l3BV42pL6VG6GfrOZBbjaFkkPGmfD7xzXGDB7kM7q3TwPA6fFn ubRVlu2xEwvT6lJKl5xuj9wTMxRqbNNHAtNFg8GNSIuiRy7snBIHtn8ZBCoWsq9B3HNk09trUX9F+ cOZcKsPncYMrB1vZ2QTUkk6rTMaXhYmYHtee8J02vKzq1h0IXTg6U7FQ45SUAt22qMWJb/ZKFxwnb bXUhCbAbT62bAXzORD4uHisemLsNur2uEQh9Taer4sh18mT1UHKXtcw/jFiIakfIk3Wzr8pJaQbsr TCR4PiKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVJgo-002sEH-VG; Fri, 18 Mar 2022 20:59:14 +0000 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVJgk-002sAt-MN for linux-amlogic@lists.infradead.org; Fri, 18 Mar 2022 20:59:12 +0000 Received: by mail-io1-xd31.google.com with SMTP id l18so10680887ioj.2 for ; Fri, 18 Mar 2022 13:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oNAPpR+5qx5bHO8wJ1SIgWig3LUKuwuqLo641jvFAak=; b=R3B03hXdzmRL4FMHavxss76+tb9Q0Hy78NbdGoHIgmWRsuIfciGr2JWywHMf/Kpkhf QniqntLtfhiE8E3Wo0oxTFcS1KWerJtG5tNgnrk3j2xUiX43wMMg+/mjp1wKd5A4aRIu ErIGjgvdava6sQlmLmDCO8Qr2P9RfzXvczFjE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oNAPpR+5qx5bHO8wJ1SIgWig3LUKuwuqLo641jvFAak=; b=uL6ACwib81dF4Y6aWx3jUwhFDUhRIbquEYKlhZPxVzK4JtY82J/AUb10Aw4nc2iswX Yg5hX979duTf/yER4RSo56mPA2gq+gueTj6U+UWgr7xyQN2rbXQziVyu5OsV57ujC4Da 4c1HW/wmN5i+EK1BRgKv2xkCtgN/LcwzzIlG4yk9ow7sHCtR7YtciMN2tZSRe+t7PuOJ GSjjCki1S0dMN1KgwjL+SQgGoBBqlIcv+AXzNsj2fpqsaTBONxBGXbydgHlxvW8G24qh 99QErizlbr4b9JbyfTa5l6QtSYJm/pcSaQpvhjRffUOomgE7y4PIr2LfxAcjUqouREj9 SFQQ== X-Gm-Message-State: AOAM532BBp6+Nin9a14HFbD3ijRRjdduUwlCC07gbFja0tElc6RpjzNJ u2zRVqv5kCxWounu5q0J1FIA2w== X-Google-Smtp-Source: ABdhPJw+g6qtXnLujFKVRv55AGvVhZcbGPndogV4eznqetPdpLwXYueCN6beIFsP8OoV/l235xaSaw== X-Received: by 2002:a5d:9542:0:b0:648:f92b:7bc6 with SMTP id a2-20020a5d9542000000b00648f92b7bc6mr5223132ios.73.1647637149068; Fri, 18 Mar 2022 13:59:09 -0700 (PDT) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id d14-20020a056602328e00b006494aa126c2sm3528385ioz.11.2022.03.18.13.59.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Mar 2022 13:59:08 -0700 (PDT) Subject: Re: [PATCH 64/64] media: Kconfig: cleanup VIDEO_DEV dependencies To: Mauro Carvalho Chehab Cc: Fabio Estevam , Felipe Balbi , Florian Fainelli , Geert Uytterhoeven , Giulio Benetti , Greg Kroah-Hartman , Hans Verkuil , Heiko Stuebner , Heungjun Kim , Houlong Wei , Hugues Fruchet , Hyun Kwon , Jacek Anaszewski , Jacob Chen , Jaroslav Kysela , Jean-Christophe Trotin , Jeff LaBundy , Jernej Skrabec , Jerome Brunet , Joe Hung , Joel Stanley , Jonathan Hunter , Kevin Hilman , Kieran Bingham , Krzysztof Kozlowski , Kyungmin Park , Laurent Pinchart , Ludovic Desroches , Marek Szyprowski , Marek Vasut , Martin Blumenstingl , Martina Krasteva , Matthias Brugger , Maxime Coquelin , Maxime Ripard , Michael Grzeschik , Michael Tretter , Michal Simek , Mike Isely , Ming Qian , Minghsiu Tsai , Mirela Rabulea , NXP Linux Team , Neil Armstrong , Nicolas Ferre , Nicolas Saenz Julienne , Olivier Lorin , Paul Kocialkowski , Pavel Machek , Pengutronix Kernel Team , Philipp Zabel , Randy Dunlap , Ray Jui , Rick Chang , Robert Foss , Sakari Ailus , Sascha Hauer , Scott Branden , Sean Young , Shawn Guo , Shawn Tu , Shijie Qin , Sowjanya Komatineni , Stanimir Varbanov , Steve Longerbeam , Sylwester Nawrocki , Takashi Iwai , Thierry Reding , Tianshu Qiu , Tiffany Lin , Todor Tomov , Vincent Knecht , Yong Deng , Yong Zhi , Zhou Peng , 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 References: From: Shuah Khan Message-ID: <9e02d88a-3344-8d91-c652-72cb989506de@linuxfoundation.org> Date: Fri, 18 Mar 2022 14:59:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220318_135910_809365_A9FAF0CF X-CRM114-Status: GOOD ( 22.89 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.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 > Reviewed-by: Laurent Pinchart > Signed-off-by: Mauro Carvalho Chehab > --- > > 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 thanks, -- Shuah _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 871F0C433EF for ; Mon, 21 Mar 2022 02:58:42 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4KMK7h6bMLz30HJ for ; Mon, 21 Mar 2022 13:58:40 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=google header.b=R3B03hXd; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linuxfoundation.org (client-ip=2607:f8b0:4864:20::d30; helo=mail-io1-xd30.google.com; envelope-from=skhan@linuxfoundation.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=google header.b=R3B03hXd; dkim-atps=neutral Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4KKxFt2F40z2xsb for ; Sat, 19 Mar 2022 07:59:13 +1100 (AEDT) Received: by mail-io1-xd30.google.com with SMTP id r2so10643996iod.9 for ; Fri, 18 Mar 2022 13:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oNAPpR+5qx5bHO8wJ1SIgWig3LUKuwuqLo641jvFAak=; b=R3B03hXdzmRL4FMHavxss76+tb9Q0Hy78NbdGoHIgmWRsuIfciGr2JWywHMf/Kpkhf QniqntLtfhiE8E3Wo0oxTFcS1KWerJtG5tNgnrk3j2xUiX43wMMg+/mjp1wKd5A4aRIu ErIGjgvdava6sQlmLmDCO8Qr2P9RfzXvczFjE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oNAPpR+5qx5bHO8wJ1SIgWig3LUKuwuqLo641jvFAak=; b=DFN+EvJMDnVfvHRPckngaFXf3YxiVgNW1WN8Na4Sd46ZjltmFq7vDjpuHgp/cByaW+ Vwdk2wcakGvfzIUviwvC4SvM6lSU48p3HxY5NAI99VQZEOTm4wxlCd5b38uPcxdTLyMK 7CMlRaFpMK8nlC9QSIp/P4yLV8uipXiQV0GjDoBGMpqruW64hu+UwtmyCsFcIdMi6UgH EvbABW8D0q5kmP0RYeIyE9+azzKrpyJPwu2IKQBtdUPjku6q4Kxso5um7uLOPIGsgkiS cFUVabJiOavWEWYAy8/h0ywP545a4R4h+FJqqDGA4iZyriAG7bNO9MddSyWi8olK3v8W Zyjg== X-Gm-Message-State: AOAM532O5Vq8B7YD5+ixzK1HkkAmJ0O81nhFJOtRUeXaONYVRJvLc8Jm MLmlxCLgGt7ggTvAQpXLdPppOg== X-Google-Smtp-Source: ABdhPJw+g6qtXnLujFKVRv55AGvVhZcbGPndogV4eznqetPdpLwXYueCN6beIFsP8OoV/l235xaSaw== X-Received: by 2002:a5d:9542:0:b0:648:f92b:7bc6 with SMTP id a2-20020a5d9542000000b00648f92b7bc6mr5223132ios.73.1647637149068; Fri, 18 Mar 2022 13:59:09 -0700 (PDT) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id d14-20020a056602328e00b006494aa126c2sm3528385ioz.11.2022.03.18.13.59.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Mar 2022 13:59:08 -0700 (PDT) Subject: Re: [PATCH 64/64] media: Kconfig: cleanup VIDEO_DEV dependencies To: Mauro Carvalho Chehab References: From: Shuah Khan Message-ID: <9e02d88a-3344-8d91-c652-72cb989506de@linuxfoundation.org> Date: Fri, 18 Mar 2022 14:59:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 21 Mar 2022 13:55:41 +1100 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Geert Uytterhoeven , Jaroslav Kysela , Hans Verkuil , Pavel Machek , linux-stm32@st-md-mailman.stormreply.com, Jerome Brunet , Michael Grzeschik , Joe Hung , Michal Simek , Ludovic Desroches , Jacob Chen , NXP Linux Team , Steve Longerbeam , Jeff LaBundy , linux-sunxi@lists.linux.dev, Nicolas Saenz Julienne , Sascha Hauer , Shuah Khan , Hyun Kwon , Scott Branden , Heungjun Kim , Randy Dunlap , Michael Tretter , Sowjanya Komatineni , Pengutronix Kernel Team , Greg Kroah-Hartman , Giulio Benetti , Ming Qian , alsa-devel@alsa-project.org, linux-usb@vger.kernel.org, Sylwester Nawrocki , linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Thierry Reding , Krzysztof Kozlowski , Jonathan Hunter , linux-rockchip@lists.infradead.org, Marek Szyprowski , Tianshu Qiu , linux-media@vger.kernel.org, Martin Blumenstingl , linux-arm-msm@vger.kernel.org, Maxime Ripard , linux-samsung-soc@vger.kernel.org, Houlong Wei , linux-amlogic@lists.infradead.org, Mike Isely , linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, Zhou Peng , linux-renesas-soc@vger.kernel.org, Kyungmin Park , Maxime Coquelin , Kevin Hilman , Jacek Anaszewski , Sean Young , Neil Armstrong , Stanimir Varbanov , linux-tegra@vger.kernel.org, Laurent Pinchart , Fabio Estevam , Jean-Christophe Trotin , Florian Fainelli , linux-staging@lists.linux.dev, Kieran Bingham , Jernej Skrabec , Shijie Qin , bcm-kernel-feedback-list@broadcom.com, Joel Stanley , linux-input@vger.kernel.org, Ray Jui , mjpeg-users@lists.sourceforge.net, Vincent Knecht , Felipe Balbi , Martina Krasteva , Sakari Ailus , Shawn Guo , Minghsiu Tsai , Todor Tomov , Nicolas Ferre , Mirela Rabulea , Olivier Lorin , Marek Vasut , Paul Kocialkowski , Rick Chang , Hugues Fruchet , openbmc@lists.ozlabs.org, Yong Zhi , Shawn Tu , linux-mediatek@lists.infradead.org, Yong Deng , Matthias Brugger , Tiffany Lin , Takashi Iwai , Robert Foss , Philipp Zabel Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" 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 > Reviewed-by: Laurent Pinchart > Signed-off-by: Mauro Carvalho Chehab > --- > > 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 thanks, -- Shuah From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9FA6AC433F5 for ; Tue, 22 Mar 2022 15:11:46 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7B4EF1692; Tue, 22 Mar 2022 16:10:54 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7B4EF1692 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1647961904; bh=/nxa6Uofcd/z7lUkFfui2XnUMDqwuhm7imx2GshOHQE=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=gWd0rclVvBkWhT/i8RnvRdnPDbAcbe70x78EsbY2As13cc1UemL0igGt81nnUgiEc ZJclwyJe2rydDYRXy/qqByEOuihIi6ExQ6FrL6GfVA85gnKb8nQIfB3qYSl+ga5+ZT uAv1uT5x/wuts+YLjbe6Sxwf3xGWMdSzx1wCZydM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 70409F80516; Tue, 22 Mar 2022 16:10:04 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D2FADF80271; Fri, 18 Mar 2022 21:59:18 +0100 (CET) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B3B7DF80125 for ; Fri, 18 Mar 2022 21:59:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B3B7DF80125 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="R3B03hXd" Received: by mail-io1-xd31.google.com with SMTP id k25so10610565iok.8 for ; Fri, 18 Mar 2022 13:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oNAPpR+5qx5bHO8wJ1SIgWig3LUKuwuqLo641jvFAak=; b=R3B03hXdzmRL4FMHavxss76+tb9Q0Hy78NbdGoHIgmWRsuIfciGr2JWywHMf/Kpkhf QniqntLtfhiE8E3Wo0oxTFcS1KWerJtG5tNgnrk3j2xUiX43wMMg+/mjp1wKd5A4aRIu ErIGjgvdava6sQlmLmDCO8Qr2P9RfzXvczFjE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oNAPpR+5qx5bHO8wJ1SIgWig3LUKuwuqLo641jvFAak=; b=fWIwQodAYngoBhCPh5qN8RVVFi2k92STI3B2LcazrJGCGnBarnyOim2blWeLJEHOc8 dD94IK6IL+WDz8yA/iAxtXQZ77Oavefe/9nWe8yvGfQD+pyJy2SKBTadD1F/Fp7jG/n3 F1us66WjXTwxNTLkHJFeL6fm+v2YXLbXTC8JgvX4JNtTDrEbwclNiFR+fhtR/jr+HE87 +NHHlEFMId2e0kWhnkrcznUxlpJVAmYRSn5RFrN2kKoNCsuRjwKciIiXiREoyXZ89yMq R+oiBbUGuogKOWD7X5y7kfgX3yOiXGa+Qbd0IxAyNC5T//iYU4l5JgsfaqgU5HDad7bq UUaQ== X-Gm-Message-State: AOAM532RW6LSUWp5jLosBGrGMV8y6OLEVGyBu2pVb8YQFBYpzhRYCysV rnuVmzOZN/NFtp4Iz6m4Qr1fgg== X-Google-Smtp-Source: ABdhPJw+g6qtXnLujFKVRv55AGvVhZcbGPndogV4eznqetPdpLwXYueCN6beIFsP8OoV/l235xaSaw== X-Received: by 2002:a5d:9542:0:b0:648:f92b:7bc6 with SMTP id a2-20020a5d9542000000b00648f92b7bc6mr5223132ios.73.1647637149068; Fri, 18 Mar 2022 13:59:09 -0700 (PDT) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id d14-20020a056602328e00b006494aa126c2sm3528385ioz.11.2022.03.18.13.59.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Mar 2022 13:59:08 -0700 (PDT) Subject: Re: [PATCH 64/64] media: Kconfig: cleanup VIDEO_DEV dependencies To: Mauro Carvalho Chehab References: From: Shuah Khan Message-ID: <9e02d88a-3344-8d91-c652-72cb989506de@linuxfoundation.org> Date: Fri, 18 Mar 2022 14:59:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 22 Mar 2022 16:10:02 +0100 Cc: Heiko Stuebner , Geert Uytterhoeven , Hans Verkuil , Pavel Machek , linux-stm32@st-md-mailman.stormreply.com, Jerome Brunet , Michael Grzeschik , Joe Hung , Michal Simek , Ludovic Desroches , Jacob Chen , NXP Linux Team , Steve Longerbeam , Jeff LaBundy , linux-sunxi@lists.linux.dev, Nicolas Saenz Julienne , Sascha Hauer , Shuah Khan , Hyun Kwon , Scott Branden , Heungjun Kim , Randy Dunlap , Michael Tretter , Sowjanya Komatineni , Pengutronix Kernel Team , Greg Kroah-Hartman , Giulio Benetti , Ming Qian , alsa-devel@alsa-project.org, linux-usb@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Thierry Reding , Krzysztof Kozlowski , Jonathan Hunter , linux-rockchip@lists.infradead.org, Marek Szyprowski , Tianshu Qiu , linux-media@vger.kernel.org, Martin Blumenstingl , linux-arm-msm@vger.kernel.org, Maxime Ripard , linux-samsung-soc@vger.kernel.org, Houlong Wei , linux-amlogic@lists.infradead.org, Mike Isely , linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, Zhou Peng , linux-renesas-soc@vger.kernel.org, Kyungmin Park , Maxime Coquelin , Kevin Hilman , Jacek Anaszewski , Sean Young , Neil Armstrong , Stanimir Varbanov , linux-tegra@vger.kernel.org, Laurent Pinchart , Fabio Estevam , Jean-Christophe Trotin , Florian Fainelli , linux-staging@lists.linux.dev, Kieran Bingham , Jernej Skrabec , Shijie Qin , bcm-kernel-feedback-list@broadcom.com, Joel Stanley , linux-input@vger.kernel.org, Ray Jui , mjpeg-users@lists.sourceforge.net, Vincent Knecht , Felipe Balbi , Martina Krasteva , Sakari Ailus , Shawn Guo , Minghsiu Tsai , Todor Tomov , Nicolas Ferre , Mirela Rabulea , Olivier Lorin , Marek Vasut , Paul Kocialkowski , Rick Chang , Hugues Fruchet , openbmc@lists.ozlabs.org, Yong Zhi , Shawn Tu , linux-mediatek@lists.infradead.org, Yong Deng , Matthias Brugger , Tiffany Lin , Takashi Iwai , Robert Foss , Philipp Zabel X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 > Reviewed-by: Laurent Pinchart > Signed-off-by: Mauro Carvalho Chehab > --- > > 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 thanks, -- Shuah