Re: [PATCH RFC 11/16] clk: qcom: gdsc: Make GDSC parenting optional

From: Dmitry Baryshkov

Date: Wed Oct 14 2026 - 10:19:01 EST


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.

>
> Assisted-by: LLM
> Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
> ---
> drivers/clk/qcom/gdsc.c | 13 +++++++++----
> drivers/clk/qcom/gdsc.h | 1 +
> 2 files changed, 10 insertions(+), 4 deletions(-)
>

--
With best wishes
Dmitry