public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will@kernel.org>,
	Alexey Brodkin <abrodkin@synopsys.com>,
	Vineet Gupta <vgupta@kernel.org>, Scott Wood <oss@buserror.net>,
	Madhavan Srinivasan <maddy@linux.ibm.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Nicholas Piggin <npiggin@gmail.com>,
	"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
	Andrew Lunn <andrew@lunn.ch>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Linus Walleij <linusw@kernel.org>,
	Bartosz Golaszewski <brgl@kernel.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Kevin Hilman <khilman@baylibre.com>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	Dvorkin Dmitry <dvorkin@tibbo.com>,
	Wells Lu <wellslutw@gmail.com>, Lee Jones <lee@kernel.org>,
	Pavel Machek <pavel@kernel.org>,
	Wim Van Sebroeck <wim@linux-watchdog.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Sebastian Reichel <sre@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org,
	linuxppc-dev@lists.ozlabs.org, netdev@vger.kernel.org,
	linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org,
	linux-leds@vger.kernel.org, linux-hwmon@vger.kernel.org,
	linux-watchdog@vger.kernel.org, linux-media@vger.kernel.org,
	linux-staging@lists.linux.dev, linux-pm@vger.kernel.org
Subject: Re: [PATCH 10/14] watchdog: convert the Kconfig dependency on OF_GPIO to OF
Date: Wed, 4 Mar 2026 16:47:31 -0800	[thread overview]
Message-ID: <0387c2a3-fa2b-428c-a897-0da2d87fe008@roeck-us.net> (raw)
In-Reply-To: <20260304-gpio-of-kconfig-v1-10-d597916e79e7@oss.qualcomm.com>

On 3/4/26 01:02, Bartosz Golaszewski wrote:
> OF_GPIO is selected automatically on all OF systems. Any symbols it
> controls also provide stubs so there's really no reason to select it
> explicitly. We could simply remove the dependency but in order to avoid
> a new symbol popping up for everyone in make config - just convert it to
> requiring CONFIG_OF.
> 
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   drivers/watchdog/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index dc78729ba2a5d6e035ed3cbe5c2b631d11b76b20..ef200339a22a6f9c51a46c9c0b8466add74313e2 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -250,7 +250,7 @@ config DA9062_WATCHDOG
>   
>   config GPIO_WATCHDOG
>   	tristate "Watchdog device controlled through GPIO-line"
> -	depends on OF_GPIO
> +	depends on OF
>   	select WATCHDOG_CORE
>   	help
>   	  If you say yes here you get support for watchdog device
> 



  reply	other threads:[~2026-03-05  0:47 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-04  9:02 [PATCH 00/14] gpio: remove uneeded Kconfig dependencies on OF_GPIO Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 01/14] arm64: Kconfig: drop unneeded dependency " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 02/14] arc: axs10x: " Bartosz Golaszewski
2026-03-04 17:35   ` Vineet Gupta
2026-03-04  9:02 ` [PATCH 03/14] powerpc: " Bartosz Golaszewski
2026-03-04  9:18   ` Christophe Leroy (CS GROUP)
2026-03-04  9:02 ` [PATCH 04/14] net: mdio: " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 05/14] regulator: drop unneeded dependencies " Bartosz Golaszewski
2026-03-04 11:23   ` Mark Brown
2026-03-04  9:02 ` [PATCH 06/14] gpio: drop unneeded Kconfig " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 07/14] pinctrl: Kconfig: drop unneeded " Bartosz Golaszewski
2026-03-10  9:11   ` Linus Walleij
2026-03-04  9:02 ` [PATCH 08/14] leds: Kconfig: drop unneeded dependency " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 09/14] hwmon: " Bartosz Golaszewski
2026-03-04 21:58   ` Guenter Roeck
2026-03-04  9:02 ` [PATCH 10/14] watchdog: convert the Kconfig dependency on OF_GPIO to OF Bartosz Golaszewski
2026-03-05  0:47   ` Guenter Roeck [this message]
2026-03-06 23:28   ` Guenter Roeck
2026-03-06 23:33   ` Guenter Roeck
2026-03-04  9:02 ` [PATCH 11/14] bus: drop unneeded dependency on OF_GPIO Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 12/14] staging: media: max96712: " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 13/14] power: reset: drop unneeded dependencies " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 14/14] media: i2c: " Bartosz Golaszewski
2026-03-13 13:43 ` (subset) [PATCH 00/14] gpio: remove uneeded Kconfig " Bartosz Golaszewski

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=0387c2a3-fa2b-428c-a897-0da2d87fe008@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=abrodkin@synopsys.com \
    --cc=andrew@lunn.ch \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=brgl@kernel.org \
    --cc=broonie@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=chleroy@kernel.org \
    --cc=davem@davemloft.net \
    --cc=dvorkin@tibbo.com \
    --cc=edumazet@google.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hkallweit1@gmail.com \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=kuba@kernel.org \
    --cc=lee@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linusw@kernel.org \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=mchehab@kernel.org \
    --cc=mpe@ellerman.id.au \
    --cc=neil.armstrong@linaro.org \
    --cc=netdev@vger.kernel.org \
    --cc=npiggin@gmail.com \
    --cc=oss@buserror.net \
    --cc=pabeni@redhat.com \
    --cc=pavel@kernel.org \
    --cc=sre@kernel.org \
    --cc=vgupta@kernel.org \
    --cc=wellslutw@gmail.com \
    --cc=will@kernel.org \
    --cc=wim@linux-watchdog.org \
    /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