Re: [PATCH RFC 11/16] clk: qcom: gdsc: Make GDSC parenting optional
From: Konrad Dybcio
Date: Wed Oct 14 2026 - 11:04:41 EST
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.
Konrad