Commit 7afdf3af authored by Taniya Das's avatar Taniya Das Committed by Bjorn Andersson

dt-bindings: clock: Add "qcom,adsp-pil-mode" property

When this property is set, the remoteproc is used to boot the
LPASS and therefore lpass_q6ss_ahbm_clk and lpass_q6ss_ahbs_clk
clocks would be used to bring LPASS out of reset and the rest of
the lpass clocks would be controlled directly by the remoteproc.

This is a cleanup done to handle overlap of regmap of
lpasscc and lpass_aon blocks.
Signed-off-by: default avatarTaniya Das <quic_tdas@quicinc.com>
Signed-off-by: default avatarSatya Priya <quic_c_skakit@quicinc.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1662005846-4838-2-git-send-email-quic_c_skakit@quicinc.com
parent 568035b0
...@@ -36,13 +36,11 @@ properties: ...@@ -36,13 +36,11 @@ properties:
items: items:
- description: LPASS qdsp6ss register - description: LPASS qdsp6ss register
- description: LPASS top-cc register - description: LPASS top-cc register
- description: LPASS cc register
reg-names: reg-names:
items: items:
- const: qdsp6ss - const: qdsp6ss
- const: top_cc - const: top_cc
- const: cc
required: required:
- compatible - compatible
...@@ -59,8 +57,8 @@ examples: ...@@ -59,8 +57,8 @@ examples:
#include <dt-bindings/clock/qcom,lpass-sc7280.h> #include <dt-bindings/clock/qcom,lpass-sc7280.h>
clock-controller@3000000 { clock-controller@3000000 {
compatible = "qcom,sc7280-lpasscc"; compatible = "qcom,sc7280-lpasscc";
reg = <0x03000000 0x40>, <0x03c04000 0x4>, <0x03389000 0x24>; reg = <0x03000000 0x40>, <0x03c04000 0x4>;
reg-names = "qdsp6ss", "top_cc", "cc"; reg-names = "qdsp6ss", "top_cc";
clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>; clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>;
clock-names = "iface"; clock-names = "iface";
#clock-cells = <1>; #clock-cells = <1>;
......
...@@ -41,6 +41,12 @@ properties: ...@@ -41,6 +41,12 @@ properties:
reg: reg:
maxItems: 1 maxItems: 1
qcom,adsp-pil-mode:
description:
Indicates if the LPASS would be brought out of reset using
peripheral loader.
type: boolean
required: required:
- compatible - compatible
- reg - reg
...@@ -165,6 +171,7 @@ examples: ...@@ -165,6 +171,7 @@ examples:
clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>,
<&lpasscore LPASS_CORE_CC_CORE_CLK>; <&lpasscore LPASS_CORE_CC_CORE_CLK>;
clock-names = "bi_tcxo", "bi_tcxo_ao","iface"; clock-names = "bi_tcxo", "bi_tcxo_ao","iface";
qcom,adsp-pil-mode;
#clock-cells = <1>; #clock-cells = <1>;
#power-domain-cells = <1>; #power-domain-cells = <1>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment