From nobody Tue Apr 7 18:20:44 2026 Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F24D43B7B87 for ; Thu, 12 Mar 2026 11:24:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773314652; cv=none; b=oka7XcUDynqoMAJjZN7puIIjyk/zoeJ6gRmLa8ySVUYPm49vQ0XXmAuMuCDO5YpMNBn4woa/Ct8+DaTHjt9KX2Lwjl8keTbyIlA6INe95FnOR1Ima2me639QwdmIBvMy3oQooF00gdPU/x7ReqBBoJRIH4OZUSxO5mdY3juXVqc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773314652; c=relaxed/simple; bh=K93MZdYUzmd7/0/HQY2PPA45hewaXGJvSIZcGUpxKFo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QEEUf6cE1n3VVG24XURCLD2NV1kGRZVuaiDmKLLyhARAuH/PBvqsnqsz5iX+k9yKPzfqr/pCm+aQzxAd843Ozgt80PyrpW4a1ZPhPpTJWdK2GQ/2PK9qHJ6B8NOHGHGfbV7Wdh6voJecmSEb3TG6PZZ/QfcGenbKXUjxw3aYU/Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=packett.cool; spf=pass smtp.mailfrom=packett.cool; dkim=pass (2048-bit key) header.d=packett.cool header.i=@packett.cool header.b=db5UJaCr; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=packett.cool Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=packett.cool Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=packett.cool header.i=@packett.cool header.b="db5UJaCr" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=packett.cool; s=key1; t=1773314648; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nzdkmw6xXbkADKQX85GvULIkWCmRl9yD5gTG9YbPFek=; b=db5UJaCrokOZ/TAis2lpUNcwYpRxumf9/giJiicjqqYv1wQyW0fmhzBpX1i0LMqCQjgAQs 6B4JFUxK3pNb8KTHoHSzPIZXuuXwQYCK0excXvKukER4xNH1G4LMrzIqe9nxAG2vUjQX+H 8SVLWqweHkLDoC0uw9z5NlDsr/p5gbbKJAxQOQ+xokTLmt+3duiiS2JQkOHUrEhCeo1FD+ l+FwH5Firbd5IAwmF11Qf+mVddJHOGdTRb8JjmsFT8SA9n0iUpaC5eU0Ab9A7/jD+8Es9G opxtZZcXHN2G0+NOkoTJ0d/RpimiBk1w4J5AIjF3VvRQnTnZfxEahZerOCE0dA== From: Val Packett To: Bjorn Andersson , Michael Turquette , Stephen Boyd Cc: Val Packett , Konrad Dybcio , Johan Hovold , Manivannan Sadhasivam , Dmitry Baryshkov , Maximilian Luz , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov , Konrad Dybcio Subject: [PATCH v2 02/11] clk: qcom: gcc-sc8180x: Add missing GDSCs Date: Thu, 12 Mar 2026 08:12:07 -0300 Message-ID: <20260312112321.370983-3-val@packett.cool> In-Reply-To: <20260312112321.370983-1-val@packett.cool> References: <20260312112321.370983-1-val@packett.cool> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" There are 5 more GDSCs that we were ignoring and not putting to sleep, which are listed in downstream DTS. Add them. Fixes: 4433594bbe5d ("clk: qcom: gcc: Add global clock controller driver fo= r SC8180x") Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Signed-off-by: Val Packett --- drivers/clk/qcom/gcc-sc8180x.c | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/drivers/clk/qcom/gcc-sc8180x.c b/drivers/clk/qcom/gcc-sc8180x.c index 31e788e22ab4..55dabf6259b2 100644 --- a/drivers/clk/qcom/gcc-sc8180x.c +++ b/drivers/clk/qcom/gcc-sc8180x.c @@ -4266,6 +4266,51 @@ static struct gdsc usb30_mp_gdsc =3D { .flags =3D POLL_CFG_GDSCR, }; =20 +static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc =3D { + .gdscr =3D 0x7d050, + .pd =3D { + .name =3D "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc", + }, + .pwrsts =3D PWRSTS_OFF_ON, + .flags =3D VOTABLE, +}; + +static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc =3D { + .gdscr =3D 0x7d058, + .pd =3D { + .name =3D "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc", + }, + .pwrsts =3D PWRSTS_OFF_ON, + .flags =3D VOTABLE, +}; + +static struct gdsc hlos1_vote_mmnoc_mmu_tbu_sf_gdsc =3D { + .gdscr =3D 0x7d054, + .pd =3D { + .name =3D "hlos1_vote_mmnoc_mmu_tbu_sf_gdsc", + }, + .pwrsts =3D PWRSTS_OFF_ON, + .flags =3D VOTABLE, +}; + +static struct gdsc hlos1_vote_turing_mmu_tbu0_gdsc =3D { + .gdscr =3D 0x7d05c, + .pd =3D { + .name =3D "hlos1_vote_turing_mmu_tbu0_gdsc", + }, + .pwrsts =3D PWRSTS_OFF_ON, + .flags =3D VOTABLE, +}; + +static struct gdsc hlos1_vote_turing_mmu_tbu1_gdsc =3D { + .gdscr =3D 0x7d060, + .pd =3D { + .name =3D "hlos1_vote_turing_mmu_tbu1_gdsc", + }, + .pwrsts =3D PWRSTS_OFF_ON, + .flags =3D VOTABLE, +}; + static struct clk_regmap *gcc_sc8180x_clocks[] =3D { [GCC_AGGRE_NOC_PCIE_TBU_CLK] =3D &gcc_aggre_noc_pcie_tbu_clk.clkr, [GCC_AGGRE_UFS_CARD_AXI_CLK] =3D &gcc_aggre_ufs_card_axi_clk.clkr, @@ -4595,6 +4640,11 @@ static struct gdsc *gcc_sc8180x_gdscs[] =3D { [USB30_MP_GDSC] =3D &usb30_mp_gdsc, [USB30_PRIM_GDSC] =3D &usb30_prim_gdsc, [USB30_SEC_GDSC] =3D &usb30_sec_gdsc, + [HLOS1_VOTE_MMNOC_MMU_TBU_HF0_GDSC] =3D &hlos1_vote_mmnoc_mmu_tbu_hf0_gds= c, + [HLOS1_VOTE_MMNOC_MMU_TBU_HF1_GDSC] =3D &hlos1_vote_mmnoc_mmu_tbu_hf1_gds= c, + [HLOS1_VOTE_MMNOC_MMU_TBU_SF_GDSC] =3D &hlos1_vote_mmnoc_mmu_tbu_sf_gdsc, + [HLOS1_VOTE_TURING_MMU_TBU0_GDSC] =3D &hlos1_vote_turing_mmu_tbu0_gdsc, + [HLOS1_VOTE_TURING_MMU_TBU1_GDSC] =3D &hlos1_vote_turing_mmu_tbu1_gdsc, }; =20 static const struct regmap_config gcc_sc8180x_regmap_config =3D { --=20 2.52.0