Re: [PATCH v7 03/16] power: sequencing: Add pwrseq_get_state()
From: Bartosz Golaszewski
Date: Fri Jul 24 2026 - 07:25:12 EST
On Fri, 24 Jul 2026 10:43:12 +0200, Chen-Yu Tsai <wenst@xxxxxxxxxxxx> said:
> The power sequencing consumer API already does power on state tracking
> internally. Expose the state to consumers through pwrseq_get_state()
> so that they don't have to reimplement it locally.
>
> Instead of just on/off and error codes, the function can also return
> "unknown" state. This is in anticipation for "uncontrollable" power
> sequencers (such as GPIOs left unconnected).
>
> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
> Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
> ---
I'd have dropped my Ack with a change that significant but it looks good now
so:
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>