Commit f49176fb authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Bjorn Andersson

dt-bindings: soc: qcom: apr: Use generic node names for APR services

Device nodes should be named according to the class of devices
they belong to. Change the suggested names of the subnodes to
apr-service@<id>, which is already in use in
arch/arm64/boot/dts/qcom/sdm845.dtsi.
Reviewed-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20200415081159.1098-2-stephan@gerhold.netSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 820f6365
...@@ -65,30 +65,30 @@ which uses apr as communication between Apps and QDSP. ...@@ -65,30 +65,30 @@ which uses apr as communication between Apps and QDSP.
compatible = "qcom,apr-v2"; compatible = "qcom,apr-v2";
qcom,apr-domain = <APR_DOMAIN_ADSP>; qcom,apr-domain = <APR_DOMAIN_ADSP>;
q6core@3 { apr-service@3 {
compatible = "qcom,q6core"; compatible = "qcom,q6core";
reg = <APR_SVC_ADSP_CORE>; reg = <APR_SVC_ADSP_CORE>;
}; };
q6afe@4 { apr-service@4 {
compatible = "qcom,q6afe"; compatible = "qcom,q6afe";
reg = <APR_SVC_AFE>; reg = <APR_SVC_AFE>;
dais { dais {
#sound-dai-cells = <1>; #sound-dai-cells = <1>;
hdmi@1 { dai@1 {
reg = <1>; reg = <HDMI_RX>;
}; };
}; };
}; };
q6asm@7 { apr-service@7 {
compatible = "qcom,q6asm"; compatible = "qcom,q6asm";
reg = <APR_SVC_ASM>; reg = <APR_SVC_ASM>;
... ...
}; };
q6adm@8 { apr-service@8 {
compatible = "qcom,q6adm"; compatible = "qcom,q6adm";
reg = <APR_SVC_ADM>; reg = <APR_SVC_ADM>;
... ...
...@@ -106,26 +106,26 @@ have no such dependency. ...@@ -106,26 +106,26 @@ have no such dependency.
qcom,glink-channels = "apr_audio_svc"; qcom,glink-channels = "apr_audio_svc";
qcom,apr-domain = <APR_DOMAIN_ADSP>; qcom,apr-domain = <APR_DOMAIN_ADSP>;
q6core { apr-service@3 {
compatible = "qcom,q6core"; compatible = "qcom,q6core";
reg = <APR_SVC_ADSP_CORE>; reg = <APR_SVC_ADSP_CORE>;
}; };
q6afe: q6afe { q6afe: apr-service@4 {
compatible = "qcom,q6afe"; compatible = "qcom,q6afe";
reg = <APR_SVC_AFE>; reg = <APR_SVC_AFE>;
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
... ...
}; };
q6asm: q6asm { q6asm: apr-service@7 {
compatible = "qcom,q6asm"; compatible = "qcom,q6asm";
reg = <APR_SVC_ASM>; reg = <APR_SVC_ASM>;
qcom,protection-domain = "tms/servreg", "msm/slpi/sensor_pd"; qcom,protection-domain = "tms/servreg", "msm/slpi/sensor_pd";
... ...
}; };
q6adm: q6adm { q6adm: apr-service@8 {
compatible = "qcom,q6adm"; compatible = "qcom,q6adm";
reg = <APR_SVC_ADM>; reg = <APR_SVC_ADM>;
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
......
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