clk: qcom: lpass: Handle the regmap overlap of lpasscc and lpass_aon
authorTaniya Das <quic_tdas@quicinc.com>
Thu, 1 Sep 2022 04:17:23 +0000 (09:47 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 13 Sep 2022 14:48:30 +0000 (09:48 -0500)
commit0cbcfbe50cbff331c775982a53bc4fa66c875b36
tree422e04601ea0b8876a6abe2b2f7dd3ec6cb1f342
parentadb12f06366651e36ef677347699345e227be919
clk: qcom: lpass: Handle the regmap overlap of lpasscc and lpass_aon

Move registration of lpass_q6ss_ahbm_clk and lpass_q6ss_ahbs_clk to
lpass_aon_cc_sc7280_probe and register them only if "qcom,adsp-pil-mode"
is enabled in the lpass_aon DT node.

Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Signed-off-by: Satya Priya <quic_c_skakit@quicinc.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1662005846-4838-3-git-send-email-quic_c_skakit@quicinc.com
drivers/clk/qcom/lpassaudiocc-sc7280.c
drivers/clk/qcom/lpasscc-sc7280.c