Re: [PATCH RFC 11/16] clk: qcom: gdsc: Make GDSC parenting optional
From: Dmitry Baryshkov
Date: Wed Oct 14 2026 - 10:40:56 EST
On Wed, Oct 14, 2026 at 04:20:54PM +0200, Konrad Dybcio wrote:
> On 10/14/26 4:17 PM, Dmitry Baryshkov wrote:
> > On Wed, Oct 14, 2026 at 02:19:11PM +0200, Konrad Dybcio wrote:
> >> From: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
> >>
> >> Clock controller power-domain attachments currently become parents of all
> >> top-level GDSCs exported by that controller. This conflates resources
> >> needed to access or operate the controller with actual power-collapse
> >> hierarchy.
> >>
> >> Allow callers of gdsc_register() to suppress parents inferred from the
> >> controller device and its attached domain list.
> >
> > I think, each GDSC has a parent (in the hardware). If we don't represent
> > it in practice, we likely need to fix that.
>
> The next patch allows setting a precise set of parents instead. Perhaps
> this commit message could be improved.
Or the commits needs to be squashed / reverted. I really don't think
that we should have a parent-less GDSC.
--
With best wishes
Dmitry