Commit 7af18f4e authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mark Brown

ASoC: dt-bindings: qcom,q6dsp-lpass-clocks: cleanup example

Cleanup the example DTS by adding APR and service compatibles, adding
typical properties, using proper device node names for services and
fixing indentation to 4-spaces.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220910091428.50418-14-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0630efc3
...@@ -38,17 +38,22 @@ examples: ...@@ -38,17 +38,22 @@ examples:
#include <dt-bindings/soc/qcom,apr.h> #include <dt-bindings/soc/qcom,apr.h>
#include <dt-bindings/sound/qcom,q6afe.h> #include <dt-bindings/sound/qcom,q6afe.h>
apr { apr {
compatible = "qcom,apr-v2";
qcom,domain = <APR_DOMAIN_ADSP>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
apr-service@4 {
service@4 {
compatible = "qcom,q6afe";
reg = <APR_SVC_AFE>; reg = <APR_SVC_AFE>;
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
clock-controller { clock-controller {
compatible = "qcom,q6afe-clocks"; compatible = "qcom,q6afe-clocks";
#clock-cells = <2>; #clock-cells = <2>;
}; };
}; };
}; };
- | - |
#include <dt-bindings/soc/qcom,gpr.h> #include <dt-bindings/soc/qcom,gpr.h>
...@@ -57,13 +62,14 @@ examples: ...@@ -57,13 +62,14 @@ examples:
qcom,domain = <GPR_DOMAIN_ID_ADSP>; qcom,domain = <GPR_DOMAIN_ID_ADSP>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
service@2 { service@2 {
reg = <GPR_PRM_MODULE_IID>; reg = <GPR_PRM_MODULE_IID>;
compatible = "qcom,q6prm"; compatible = "qcom,q6prm";
clock-controller { clock-controller {
compatible = "qcom,q6prm-lpass-clocks"; compatible = "qcom,q6prm-lpass-clocks";
#clock-cells = <2>; #clock-cells = <2>;
}; };
}; };
}; };
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