linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: msm8916: Add fastrpc node
@ 2020-03-10 17:54 Srinivas Kandagatla
  2020-03-11  9:22 ` Loic Poulain
  0 siblings, 1 reply; 2+ messages in thread
From: Srinivas Kandagatla @ 2020-03-10 17:54 UTC (permalink / raw)
  To: bjorn.andersson, agross
  Cc: linux-arm-msm, devicetree, robh+dt, linux-kernel, Srinivas Kandagatla

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: msm8916: Add fastrpc node
  2020-03-10 17:54 [PATCH] arm64: dts: msm8916: Add fastrpc node Srinivas Kandagatla
@ 2020-03-11  9:22 ` Loic Poulain
  0 siblings, 0 replies; 2+ messages in thread
From: Loic Poulain @ 2020-03-11  9:22 UTC (permalink / raw)
  To: Srinivas Kandagatla
  Cc: Bjorn Andersson, Andy Gross, linux-arm-msm, devicetree,
	Rob Herring, linux-kernel

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-11  9:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 17:54 [PATCH] arm64: dts: msm8916: Add fastrpc node Srinivas Kandagatla
2020-03-11  9:22 ` Loic Poulain

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).