Re: [PATCH v7 4/4] pps: clients: gpio: release pins to an inactive state on remove and shutdown

From: Bartosz Golaszewski

Date: Thu Nov 05 2026 - 04:22:43 EST


On Wed, Nov 04, 2026 at 05:29:12PM +0000, Eliav Farber wrote:
> Some boards route the PPS input GPIO through a pin controller and need to
> mux it to another function when pps-gpio is not driving PPS. The driver
> core applies the "default" pinctrl state before probe, so the pins are
> muxed for GPIO/PPS use while the driver is bound. Nothing, however, hands
> the pins back when the driver is unbound or the system is shut down, so
> they stay stuck in the GPIO function for whatever runs next, kexec
> included.
>

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>