diff mbox series

arm64: dts: msm8916: Add fastrpc node

Message ID 20200310175452.7503-1-srinivas.kandagatla@linaro.org
State New
Headers show
Series arm64: dts: msm8916: Add fastrpc node | expand

Commit Message

Srinivas Kandagatla March 10, 2020, 5:54 p.m. UTC
Add fastrpc device node for adsp with one compute bank.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Loic Poulain March 11, 2020, 9:22 a.m. UTC | #1
On Tue, 10 Mar 2020 at 18:55, Srinivas Kandagatla
<srinivas.kandagatla@linaro.org> wrote:
>
> Add fastrpc device node for adsp with one compute bank.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/msm8916.dtsi | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> index bef1a66334c3..a7cd8f87df97 100644
> --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> @@ -1157,6 +1157,19 @@
>                                 qcom,remote-pid = <1>;
>
>                                 label = "hexagon";
> +                               fastrpc {
> +                                       compatible = "qcom,fastrpc";
> +                                       qcom,smd-channels = "fastrpcsmd-apps-dsp";
> +                                       label = "adsp";
> +
> +                                       #address-cells = <1>;
> +                                       #size-cells = <0>;
> +
> +                                       cb@1{
> +                                               compatible = "qcom,fastrpc-compute-cb";
> +                                               reg = <1>;
> +                                       };
> +                               };
>                         };
>                 };
>
> --
> 2.21.0
>

Tested on dragonboard410c with various HexagonSDK examples

Tested-by: Loic Poulain <loic.poulain@linaro.org>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index bef1a66334c3..a7cd8f87df97 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -1157,6 +1157,19 @@ 
 				qcom,remote-pid = <1>;
 
 				label = "hexagon";
+				fastrpc {
+					compatible = "qcom,fastrpc";
+					qcom,smd-channels = "fastrpcsmd-apps-dsp";
+					label = "adsp";
+
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					cb@1{
+						compatible = "qcom,fastrpc-compute-cb";
+						reg = <1>;
+					};
+				};
 			};
 		};