Re: [PATCH v4 2/3] watchdog: max63xx_wdt: Add support for specifying WDI logic via GPIO
From: Tzung-Bi Shih
Date: Wed Nov 25 2026 - 00:47:02 EST
On Tue, Nov 24, 2026 at 06:01:17AM +0100, Josef Schlehofer wrote:
> From: Pali Rohár <pali@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> [pepe.schlehofer@xxxxxxxxx: 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@xxxxxxxxx>
The patch looks good to me,
Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>