Re: [PATCH v11 0/9] TI K3 M4F support on AM62 and AM64 SoCs

Wadim Egorov
2024-08-19T08:49:07Z

Am 02.08.24 um 17:21 schrieb Andrew Davis:
> Hello all,
>
> This is the continuation of the M4F RProc support series from here[0].
> I'm helping out with the upstream task for Hari and so versions (v8+)
> is a little different than the previous(v7-) postings[0]. Most notable
> change I've introduced being the patches factoring out common support
> from the current K3 R5 and DSP drivers have been dropped. I'd like
> to do that re-factor *after* getting this driver in shape, that way
> we have 3 similar drivers to factor out from vs trying to make those
> changes in parallel with the series adding M4 support.
>
> Anyway, details on our M4F subsystem can be found the
> the AM62 TRM in the section on the same:
>
> AM62x Technical Reference Manual (SPRUIV7A – MAY 2022)
> https://www.ti.com/lit/pdf/SPRUIV7A
>
> Thanks,
> Andrew
>
> [0] https://lore.kernel.org/linux-arm-kernel/20240202175538.1705-5-hnagalla@ti.com/T/
>
> Changes for v11:
> - Added patch [2/9] factoring out a common function
> - Addressed comments by Mathieu from v10
> - Rebased on v6.11-rc1
> - Small reworks in driver for readability

Tested on a AM62x & AM64x using phycore-am62x & phycore-am64x, so

Tested-by: Wadim Egorov <w.egorov@phytec.de>

>
> Changes for v10:
> - Rebased on v6.10-rc3
> - Added AM64 M4 support in DT
> - Addressed comments by Mathieu from v9
>
> Changes for v9:
> - Fixed reserved-memory.yaml text in [1/5]
> - Split dts patch into one for SoC and one for board enable
> - Corrected DT property order and formatting [4/5][5/5]
>
> Andrew Davis (1):
> remoteproc: k3: Factor out TI-SCI processor control OF get function
>
> Hari Nagalla (7):
> dt-bindings: remoteproc: k3-m4f: Add K3 AM64x SoCs
> arm64: dts: ti: k3-am62: Add M4F remoteproc node
> arm64: dts: ti: k3-am625-sk: Add M4F remoteproc node
> arm64: dts: ti: k3-am64: Add M4F remoteproc node
> arm64: dts: ti: k3-am642-sk: Add M4F remoteproc node
> arm64: dts: ti: k3-am642-evm: Add M4F remoteproc node
> arm64: defconfig: Enable TI K3 M4 remoteproc driver
>
> Martyn Welch (1):
> remoteproc: k3-m4: Add a remoteproc driver for M4F subsystem
>
> .../bindings/remoteproc/ti,k3-m4f-rproc.yaml | 125 ++++
> arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi | 13 +
> .../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 19 +
> arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi | 13 +
> arch/arm64/boot/dts/ti/k3-am642-evm.dts | 19 +
> arch/arm64/boot/dts/ti/k3-am642-sk.dts | 19 +
> arch/arm64/configs/defconfig | 1 +
> drivers/remoteproc/Kconfig | 13 +
> drivers/remoteproc/Makefile | 1 +
> drivers/remoteproc/ti_k3_dsp_remoteproc.c | 28 +-
> drivers/remoteproc/ti_k3_m4_remoteproc.c | 667 ++++++++++++++++++
> drivers/remoteproc/ti_k3_r5_remoteproc.c | 28 +-
> drivers/remoteproc/ti_sci_proc.h | 26 +
> 13 files changed, 918 insertions(+), 54 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,k3-m4f-rproc.yaml
> create mode 100644 drivers/remoteproc/ti_k3_m4_remoteproc.c
>