]> git.itanic.dy.fi Git - linux-stable/commitdiff
clk: qcom: lpassaudiocc-sc7280: Add required gdsc power domain clks in lpass_cc_sc728...
authorMohammad Rafi Shaik <quic_mohs@quicinc.com>
Fri, 7 Apr 2023 09:22:55 +0000 (14:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:17:32 +0000 (23:17 +0900)
[ Upstream commit aad09fc7c4a522892eb64a79627b17a3869936cb ]

Add GDSCs in lpass_cc_sc7280_desc struct.
When qcom,adsp-pil-mode is enabled, GDSCs required to solve
dependencies in lpass_audiocc probe().

Fixes: 0cbcfbe50cbf ("clk: qcom: lpass: Handle the regmap overlap of lpasscc and lpass_aon")
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230407092255.119690-4-quic_mohs@quicinc.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/lpassaudiocc-sc7280.c

index 1339f9211a149bb08a896eb037dbb414c5c016c1..134eb1529ede2dc679b2d78ee1a45b7c6cd66e2d 100644 (file)
@@ -696,6 +696,8 @@ static const struct qcom_cc_desc lpass_cc_sc7280_desc = {
        .config = &lpass_audio_cc_sc7280_regmap_config,
        .clks = lpass_cc_sc7280_clocks,
        .num_clks = ARRAY_SIZE(lpass_cc_sc7280_clocks),
+       .gdscs = lpass_aon_cc_sc7280_gdscs,
+       .num_gdscs = ARRAY_SIZE(lpass_aon_cc_sc7280_gdscs),
 };
 
 static const struct qcom_cc_desc lpass_audio_cc_sc7280_desc = {