On 05/06/2025 10:10, Bartosz Golaszewski wrote: >> >> Bart, >> Given Krzysztof's valid concerns about the current name based >> lookup in pwrseq_get() and the benefits of phandle based resource >> linking in OF platforms: Would you be open to a proposal for extending >> the pwrseq API to allow consumers to obtain a sequencer (or a specific >> target sequence) via a phandle defined in their Device Tree node? For >> instance, a consumer device could specify power-sequencer = >> <&aon> and a new API variant could resolve this. >> > > I can be open to it all I want, but I bet Krzysztof won't be open to > introducing anything like a power-sequencer device property in DT > bindings. Simply because there's no such thing in the physical world.
Yep > The concept behind the power sequencing framework was to bind > providers to consumers based on existing links modelling real device > properties (which a "power-sequencer" is not). I commented on it under > another email saying that you already have a link here - the > power-domains property taking the aon phandle. In your pwrseq Exactly. Best regards, Krzysztof