From b9878c46ffbe43412f17688bb557b087794eb8d4 Mon Sep 17 00:00:00 2001 From: Bavyasritha Alahari Date: Tue, 13 Oct 2020 19:04:47 +0530 Subject: [PATCH] ARM: dts: msm: Add cdsp rpmsg entry in holi and shima CDSPRM module relies on the rpmsg node to create a communication channel with CDSP. CDSPRM module implements a RPMSG interface to communicate with CDSP while provoding a way for CPU QoS to benefit CDSP applications performance. Change-Id: I8e151744db6943544a8b05e864b9c8e39e87291f --- qcom/holi.dtsi | 12 ++++++++++++ qcom/lahaina.dtsi | 2 +- qcom/shima.dtsi | 12 ++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/qcom/holi.dtsi b/qcom/holi.dtsi index 1d8a294b6fd4..3e77d7072bf0 100644 --- a/qcom/holi.dtsi +++ b/qcom/holi.dtsi @@ -1786,6 +1786,18 @@ qcom,glink-channels = "glink_ssr"; qcom,notify-edges = <&glink_adsp>; }; + + qcom,msm_cdsprm_rpmsg { + compatible = "qcom,msm-cdsprm-rpmsg"; + qcom,glink-channels = "cdsprmglink-apps-dsp"; + qcom,intents = <0x20 12>; + + msm_cdsp_rm: qcom,msm_cdsp_rm { + compatible = "qcom,msm-cdsp-rm"; + qcom,qos-latency-us = <70>; + qcom,qos-maxhold-ms = <20>; + }; + }; }; }; diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index c57b755b6524..5a1ef7f0b987 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -4337,7 +4337,7 @@ msm_cdsp_rm: qcom,msm_cdsp_rm { compatible = "qcom,msm-cdsp-rm"; - qcom,qos-latency-us = <60>; + qcom,qos-latency-us = <70>; qcom,qos-maxhold-ms = <20>; }; }; diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index 650f05e7da66..db4053736c2c 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -1460,6 +1460,18 @@ qcom,glink-channels = "glink_ssr"; qcom,notify-edges = <&glink_adsp>; }; + + qcom,msm_cdsprm_rpmsg { + compatible = "qcom,msm-cdsprm-rpmsg"; + qcom,glink-channels = "cdsprmglink-apps-dsp"; + qcom,intents = <0x20 12>; + + msm_cdsp_rm: qcom,msm_cdsp_rm { + compatible = "qcom,msm-cdsp-rm"; + qcom,qos-latency-us = <70>; + qcom,qos-maxhold-ms = <20>; + }; + }; }; };