mbox series

[v7,0/5] TI K3 M4F support on AM64x and AM62x SoCs

Message ID 20240202175538.1705-1-hnagalla@ti.com (mailing list archive)
Headers show
Series TI K3 M4F support on AM64x and AM62x SoCs | expand

Message

Hari Nagalla Feb. 2, 2024, 5:55 p.m. UTC
The following series introduces K3 M4F remoteproc driver support for
AM64x and AM62x SoC families. These SoCs have a ARM Cortex M4F core in
the MCU voltage domain. For safety oriented applications, this core is
operated independently with out any IPC to other cores on the SoC.
However, for non safety applications, some customers use it as a remote
processor and so linux remote proc support is extended to the M4F core.

See AM64x Technical Reference Manual (SPRUIM2C – SEPTEMBER 2021) for
further details: https://www.ti.com/lit/pdf/SPRUIM2

See AM62x Technical Reference Manual (SPRUIV7A – MAY 2022) for
further details: https://www.ti.com/lit/pdf/SPRUIV7A

kernel build log: https://paste.sr.ht/~hnagalla/be9d1c45e176ea8fa274ab13a3da43a9853fcf7f
dt-binding-check log: https://paste.sr.ht/~hnagalla/25912c85f6a8c68e3da24053fc060f38024fb8ab 
kernel boot log: https://paste.sr.ht/~hnagalla/5ba77847343f22b5f9ec2b7aeabc410aaf8cdf45

Hari Nagalla (2):
  dt-bindings: remoteproc: k3-m4f: Add K3 AM64x SoCs
  arm64: defconfig: Enable TI K3 M4 remote proc driver

Martyn Welch (3):
  remoteproc: k3: Move out data structures common with M4 driver
  remoteproc: k3: Move out functions common with M4 driver
  remoteproc: k3-m4: Add a remoteproc driver for M4F subsystem

 .../bindings/remoteproc/ti,k3-m4f-rproc.yaml  |  138 ++
 arch/arm64/configs/defconfig                  |    1 +
 drivers/remoteproc/Kconfig                    |   13 +
 drivers/remoteproc/Makefile                   |    3 +-
 drivers/remoteproc/ti_k3_common.c             |  583 ++++++++
 drivers/remoteproc/ti_k3_common.h             |  107 ++
 drivers/remoteproc/ti_k3_dsp_remoteproc.c     | 1277 +++++------------
 drivers/remoteproc/ti_k3_m4_remoteproc.c      |  327 +++++
 8 files changed, 1539 insertions(+), 910 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,k3-m4f-rproc.yaml
 create mode 100644 drivers/remoteproc/ti_k3_common.c
 create mode 100644 drivers/remoteproc/ti_k3_common.h
 rewrite drivers/remoteproc/ti_k3_dsp_remoteproc.c (67%)
 create mode 100644 drivers/remoteproc/ti_k3_m4_remoteproc.c