On 6/3/25 16:49, Bartosz Golaszewski wrote: > On Tue, Jun 3, 2025 at 3:35 PM Bartosz Golaszewski <b...@bgdev.pl> wrote: >>>> >>>> The compatible string could be updated like so: >>>> "thead,th1520-aon-pwrseq" >>> >>> Should not be separate node, you already have one for AON. >>> >> >> Agreed. And as far as implementation goes, you can have the same >> driver be a PM domain AND pwrseq provider. It just has to bind to the >> device node that represents an actual component, not a made-up >> "convenience" node. >> > > I'm seeing that there's already a main driver under > drivers/pmdomain/thead/th1520-pm-domains.c and a "logical sub-driver" > under drivers/firmware/thead,th1520-aon.c which exposes > th1520_aon_init() called by the former. Maybe just follow that > pattern, add a module under drivers/power/sequencing/ called > pwrseq-th1520-pwrseq.c and call its init function from the pm-domains > module? Right, sorry I haven't noticed this and responded to previous message. Thanks for the direction ! > > Bart > Best regards, -- Michal Wilczynski <m.wilczyn...@samsung.com>
- [PATCH v3 0/8] Add TH1520 GPU support with power seque... Michal Wilczynski
- [PATCH v3 1/8] dt-bindings: power: Add T-HEAD TH1... Michal Wilczynski
- Re: [PATCH v3 1/8] dt-bindings: power: Add T-... Bartosz Golaszewski
- Re: [PATCH v3 1/8] dt-bindings: power: Ad... Michal Wilczynski
- Re: [PATCH v3 1/8] dt-bindings: power... Krzysztof Kozlowski
- Re: [PATCH v3 1/8] dt-bindings: ... Bartosz Golaszewski
- Re: [PATCH v3 1/8] dt-bindin... Bartosz Golaszewski
- Re: [PATCH v3 1/8] dt-bi... Michal Wilczynski
- Re: [PATCH v3 1/8] dt-bindin... Michal Wilczynski
- Re: [PATCH v3 1/8] dt-bi... Bartosz Golaszewski
- [PATCH v3 2/8] power: sequencing: Add T-HEAD TH15... Michal Wilczynski
- [PATCH v3 8/8] drm/imagination: Enable PowerVR dr... Michal Wilczynski
- [PATCH v3 3/8] drm/imagination: Use pwrseq for TH... Michal Wilczynski
- Re: [PATCH v3 3/8] drm/imagination: Use pwrse... Krzysztof Kozlowski
- Re: [PATCH v3 3/8] drm/imagination: Use p... Michal Wilczynski
- Re: [PATCH v3 3/8] drm/imagination: U... Krzysztof Kozlowski
- Re: [PATCH v3 3/8] drm/imaginati... Michal Wilczynski
- Re: [PATCH v3 3/8] drm/imagi... Krzysztof Kozlowski