* [PATCH 0/2] arm64: dts: sa8155p-adp / sm8150: Enable remoteproc and fastproc capabilities
@ 2021-09-28 14:09 Bhupesh Sharma
2021-09-28 14:09 ` [PATCH 1/2] arm64: dts: qcom: sm8150: Add fastproc nodes Bhupesh Sharma
2021-09-28 14:09 ` [PATCH 2/2] arm64: dts: qcom: sa8155p-adp: Enable remoteproc capabilities Bhupesh Sharma
0 siblings, 2 replies; 3+ messages in thread
From: Bhupesh Sharma @ 2021-09-28 14:09 UTC (permalink / raw)
To: linux-arm-msm
Cc: bhupesh.sharma, bhupesh.linux, linux-kernel, devicetree, vkoul,
robh+dt, Bjorn Andersson
This patchset enables:
- fastrpc nodes for sDSP, cDSP, and aDSP (sm8150).
- Enable two remoteprocs found on SA8155p ADP
platform - 'audio and compute'.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Bhupesh Sharma (2):
arm64: dts: qcom: sm8150: Add fastproc nodes
arm64: dts: qcom: sa8155p-adp: Enable remoteproc capabilities
arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 10 ++
arch/arm64/boot/dts/qcom/sm8150.dtsi | 119 +++++++++++++++++++++++
2 files changed, 129 insertions(+)
--
2.31.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] arm64: dts: qcom: sm8150: Add fastproc nodes
2021-09-28 14:09 [PATCH 0/2] arm64: dts: sa8155p-adp / sm8150: Enable remoteproc and fastproc capabilities Bhupesh Sharma
@ 2021-09-28 14:09 ` Bhupesh Sharma
2021-09-28 14:09 ` [PATCH 2/2] arm64: dts: qcom: sa8155p-adp: Enable remoteproc capabilities Bhupesh Sharma
1 sibling, 0 replies; 3+ messages in thread
From: Bhupesh Sharma @ 2021-09-28 14:09 UTC (permalink / raw)
To: linux-arm-msm
Cc: bhupesh.sharma, bhupesh.linux, linux-kernel, devicetree, vkoul,
robh+dt, Bjorn Andersson
Add fastrpc nodes for sDSP, cDSP, and aDSP.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8150.dtsi | 119 +++++++++++++++++++++++++++
1 file changed, 119 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index ef0232c2cf45..4895923097d7 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -1746,6 +1746,33 @@ glink-edge {
label = "dsps";
qcom,remote-pid = <3>;
mboxes = <&apss_shared 24>;
+
+ fastrpc {
+ compatible = "qcom,fastrpc";
+ qcom,glink-channels = "fastrpcglink-apps-dsp";
+ label = "sdsp";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ compute-cb@1 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <1>;
+ iommus = <&apps_smmu 0x05a1 0x0>;
+ };
+
+ compute-cb@2 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <2>;
+ iommus = <&apps_smmu 0x05a2 0x0>;
+ };
+
+ compute-cb@3 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <3>;
+ iommus = <&apps_smmu 0x05a3 0x0>;
+ /* note: shared-cb = <4> in downstream */
+ };
+ };
};
};
@@ -2961,6 +2988,72 @@ glink-edge {
label = "cdsp";
qcom,remote-pid = <5>;
mboxes = <&apss_shared 4>;
+
+ fastrpc {
+ compatible = "qcom,fastrpc";
+ qcom,glink-channels = "fastrpcglink-apps-dsp";
+ label = "cdsp";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ compute-cb@1 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <1>;
+ iommus = <&apps_smmu 0x1401 0x2040>,
+ <&apps_smmu 0x1421 0x0>,
+ <&apps_smmu 0x2001 0x420>,
+ <&apps_smmu 0x2041 0x0>;
+ };
+
+ compute-cb@2 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <2>;
+ iommus = <&apps_smmu 0x2 0x3440>,
+ <&apps_smmu 0x22 0x3400>;
+ };
+
+ compute-cb@3 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <3>;
+ iommus = <&apps_smmu 0x3 0x3440>,
+ <&apps_smmu 0x1423 0x0>,
+ <&apps_smmu 0x2023 0x0>;
+ };
+
+ compute-cb@4 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <4>;
+ iommus = <&apps_smmu 0x4 0x3440>,
+ <&apps_smmu 0x24 0x3400>;
+ };
+
+ compute-cb@5 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <5>;
+ iommus = <&apps_smmu 0x5 0x3440>,
+ <&apps_smmu 0x25 0x3400>;
+ };
+
+ compute-cb@6 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <6>;
+ iommus = <&apps_smmu 0x6 0x3460>;
+ };
+
+ compute-cb@7 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <7>;
+ iommus = <&apps_smmu 0x7 0x3460>;
+ };
+
+ compute-cb@8 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <8>;
+ iommus = <&apps_smmu 0x8 0x3460>;
+ };
+
+ /* note: secure cb9 in downstream */
+ };
};
};
@@ -3337,6 +3430,32 @@ glink-edge {
label = "lpass";
qcom,remote-pid = <2>;
mboxes = <&apss_shared 8>;
+
+ fastrpc {
+ compatible = "qcom,fastrpc";
+ qcom,glink-channels = "fastrpcglink-apps-dsp";
+ label = "adsp";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ compute-cb@3 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <3>;
+ iommus = <&apps_smmu 0x1b23 0x0>;
+ };
+
+ compute-cb@4 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <4>;
+ iommus = <&apps_smmu 0x1b24 0x0>;
+ };
+
+ compute-cb@5 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <5>;
+ iommus = <&apps_smmu 0x1b25 0x0>;
+ };
+ };
};
};
--
2.31.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: sa8155p-adp: Enable remoteproc capabilities
2021-09-28 14:09 [PATCH 0/2] arm64: dts: sa8155p-adp / sm8150: Enable remoteproc and fastproc capabilities Bhupesh Sharma
2021-09-28 14:09 ` [PATCH 1/2] arm64: dts: qcom: sm8150: Add fastproc nodes Bhupesh Sharma
@ 2021-09-28 14:09 ` Bhupesh Sharma
1 sibling, 0 replies; 3+ messages in thread
From: Bhupesh Sharma @ 2021-09-28 14:09 UTC (permalink / raw)
To: linux-arm-msm
Cc: bhupesh.sharma, bhupesh.linux, linux-kernel, devicetree, vkoul,
robh+dt, Bjorn Andersson
Enable two remoteprocs found on SA8155p ADP
platform - 'audio and compute'. Also add firmware for them.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
---
arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts
index 5ae2ddc65f7e..7b703a8e0cd7 100644
--- a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts
+++ b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts
@@ -307,6 +307,16 @@ &qupv3_id_1 {
status = "okay";
};
+&remoteproc_adsp {
+ status = "okay";
+ firmware-name = "qcom/sa8155p/adsp.mdt";
+};
+
+&remoteproc_cdsp {
+ status = "okay";
+ firmware-name = "qcom/sa8155p/cdsp.mdt";
+};
+
&uart2 {
status = "okay";
};
--
2.31.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-28 14:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 14:09 [PATCH 0/2] arm64: dts: sa8155p-adp / sm8150: Enable remoteproc and fastproc capabilities Bhupesh Sharma
2021-09-28 14:09 ` [PATCH 1/2] arm64: dts: qcom: sm8150: Add fastproc nodes Bhupesh Sharma
2021-09-28 14:09 ` [PATCH 2/2] arm64: dts: qcom: sa8155p-adp: Enable remoteproc capabilities Bhupesh Sharma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).