Re: [PATCH v7 03/16] power: sequencing: Add pwrseq_get_state()
Bartosz Golaszewski <[email protected]>
| Newsgroups | gmane.linux.acpi.devel,gmane.linux.power-management.general,gmane.linux.usb.general,gmane.linux.drivers.devicetree,gmane.linux.ports.arm.mediatek,gmane.linux.ports.arm.kernel,gmane.linux.kernel |
|---|---|
| Message-ID | <CAMRc=MfV7SeG-jJ8YdS=aRabCUvP0PV5=8QL=AdCCsnzyKq1QA@mail.gmail.com> |
On Fri, 24 Jul 2026 10:43:12 +0200, Chen-Yu Tsai <[email protected]> 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 <[email protected]> > Signed-off-by: Chen-Yu Tsai <[email protected]> > --- I'd have dropped my Ack with a change that significant but it looks good now so: Acked-by: Bartosz Golaszewski <[email protected]>