From: Tzung-Bi Shih <tzungbi@kernel.org>
To: Josef Schlehofer <pepe.schlehofer@gmail.com>
Cc: "Wim Van Sebroeck" <wim@linux-watchdog.org>,
"Guenter Roeck" <linux@roeck-us.net>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Pali Rohár" <pali@kernel.org>, "Marek Behún" <kabel@kernel.org>,
"Marc Zyngier" <maz@kernel.org>,
"Linus Walleij" <linusw@kernel.org>,
"Madhavan Srinivasan" <maddy@linux.ibm.com>,
"Michael Ellerman" <mpe@ellerman.id.au>,
"Nicholas Piggin" <npiggin@gmail.com>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
"Ritesh Harjani (IBM)" <ritesh.list@gmail.com>,
"Shrikanth Hegde" <sshegde@linux.ibm.com>,
linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 2/3] watchdog: max63xx_wdt: Add support for specifying WDI logic via GPIO
Date: Wed, 25 Nov 2026 05:46:52 +0000 [thread overview]
Message-ID: <awZ2TJRVus2R-ePn@google.com> (raw)
In-Reply-To: <20261124050118.87944-3-pepe.schlehofer@gmail.com>
On Tue, Nov 24, 2026 at 06:01:17AM +0100, Josef Schlehofer wrote:
> From: Pali Rohár <pali@kernel.org>
>
> On some boards the WDI (watchdog input) pin of the chip is connected to
> a GPIO, and only the SET pins are mapped to the register.
>
> Take the GPIO from the optional wdi-gpios property. When it is present,
> ping the watchdog through it instead of the register.
>
> Signed-off-by: Pali Rohár <pali@kernel.org>
> [pepe.schlehofer@gmail.com: use wdi-gpios, request the GPIO as an output
> with devm_gpiod_get_optional(), ping without the lock, include
> linux/delay.h, update the header comment]
> Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
The patch looks good to me,
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
next prev parent reply other threads:[~2026-11-25 5:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 5:01 [PATCH v4 0/3] watchdog: max63xx_wdt: Support a WDI pin connected to a GPIO Josef Schlehofer
2026-11-24 5:01 ` [PATCH v4 1/3] dt-bindings: watchdog: maxim,max63xx: Add wdi-gpios Josef Schlehofer
2026-12-01 5:59 ` Krzysztof Kozlowski
2026-12-01 23:40 ` Guenter Roeck
2026-11-24 5:01 ` [PATCH v4 2/3] watchdog: max63xx_wdt: Add support for specifying WDI logic via GPIO Josef Schlehofer
2026-11-25 5:46 ` Tzung-Bi Shih [this message]
2026-12-01 23:40 ` Guenter Roeck
2026-11-24 5:01 ` [PATCH v4 3/3] powerpc: dts: turris1x.dts: Use wdi-gpios for the watchdog Josef Schlehofer
2026-11-24 9:12 ` Madhavan Srinivasan
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=awZ2TJRVus2R-ePn@google.com \
--to=tzungbi@kernel.org \
--cc=chleroy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kabel@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.ibm.com \
--cc=maz@kernel.org \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=pali@kernel.org \
--cc=pepe.schlehofer@gmail.com \
--cc=ritesh.list@gmail.com \
--cc=robh@kernel.org \
--cc=sshegde@linux.ibm.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.