2024-06-05 13:38:55

by Hari Nagalla

[permalink] [raw]
Subject: [PATCH v3 0/4] Add R5F and C7x DSP nodes for AM62a SoC

This patch series adds R5F and C7x dsp processor nodes and shared
memory based Virtio/IPC configuration for AM62A SoC.

changes in v3:
*) Separated DSP node binding patch and submitted to remoteproc
mailing list, rebased the patches to linux-next.

v2: https://lore.kernel.org/all/[email protected]/

Devarsh Thakkar (2):
arm64: dts: k3-am62a-wakeup: Add R5F device node
arm64: dts: ti: k3-am62a7-sk: Enable ipc with remote proc nodes

Hari Nagalla (1):
arm64: dts: k3-am62a-mcu: Add R5F remote proc node

Jai Luthra (1):
arm64: dts: k3-am62a-main: Add C7xv device node

arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 11 ++++
arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi | 35 +++++++++++
arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi | 23 +++++++
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 68 +++++++++++++++++++++
4 files changed, 137 insertions(+)

--
2.34.1



2024-06-05 14:20:23

by Hari Nagalla

[permalink] [raw]
Subject: [PATCH v3 1/4] arm64: dts: k3-am62a-main: Add C7xv device node

From: Jai Luthra <[email protected]>

AM62A SoCs have a C7xv DSP subsystem with Analytics engine capability.
This subsystem is intended for deep learning purposes. Define the
device node for C7xv DSP.

Signed-off-by: Jai Luthra <[email protected]>
Signed-off-by: Hari Nagalla <[email protected]>
---
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
index bf9c2d9c6439..0912cc31329c 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
@@ -1062,4 +1062,15 @@ vpu: video-codec@30210000 {
clocks = <&k3_clks 204 2>;
power-domains = <&k3_pds 204 TI_SCI_PD_EXCLUSIVE>;
};
+
+ c7x_0: dsp@7e000000 {
+ compatible = "ti,am62a-c7xv-dsp";
+ reg = <0x00 0x7e000000 0x00 0x00100000>;
+ reg-names = "l2sram";
+ ti,sci = <&dmsc>;
+ ti,sci-dev-id = <208>;
+ ti,sci-proc-ids = <0x04 0xff>;
+ resets = <&k3_reset 208 1>;
+ firmware-name = "am62a-c71_0-fw";
+ };
};
--
2.34.1


2024-06-06 15:56:58

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v3 0/4] Add R5F and C7x DSP nodes for AM62a SoC


On Wed, 05 Jun 2024 07:48:55 -0500, Hari Nagalla wrote:
> This patch series adds R5F and C7x dsp processor nodes and shared
> memory based Virtio/IPC configuration for AM62A SoC.
>
> changes in v3:
> *) Separated DSP node binding patch and submitted to remoteproc
> mailing list, rebased the patches to linux-next.
>
> v2: https://lore.kernel.org/all/[email protected]/
>
> Devarsh Thakkar (2):
> arm64: dts: k3-am62a-wakeup: Add R5F device node
> arm64: dts: ti: k3-am62a7-sk: Enable ipc with remote proc nodes
>
> Hari Nagalla (1):
> arm64: dts: k3-am62a-mcu: Add R5F remote proc node
>
> Jai Luthra (1):
> arm64: dts: k3-am62a-main: Add C7xv device node
>
> arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 11 ++++
> arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi | 35 +++++++++++
> arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi | 23 +++++++
> arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 68 +++++++++++++++++++++
> 4 files changed, 137 insertions(+)
>
> --
> 2.34.1
>
>
>


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y ti/k3-am62a7-sk.dtb' for [email protected]:

arch/arm64/boot/dts/ti/k3-am62a7-sk.dtb: dsp@7e000000: reg: [[0, 2113929216, 0, 1048576]] is too short
from schema $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml#
arch/arm64/boot/dts/ti/k3-am62a7-sk.dtb: dsp@7e000000: reg-names: ['l2sram'] is too short
from schema $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml#
arch/arm64/boot/dts/ti/k3-am62a7-sk.dtb: dsp@7e000000: Unevaluated properties are not allowed ('reg', 'reg-names' were unexpected)
from schema $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml#