remoteproc: pru: Add support for various PRU cores on K3 AM62x SoCs
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 2 Jun 2022 10:19:20 +0000 (15:49 +0530)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 5 Jul 2022 16:40:30 +0000 (10:40 -0600)
commitaa0cec248c37e44ac2871261bcac05598f35a7dd
tree2ccc325406cab94ac2a7f49a238902774408ff74
parentca63e3d8f65409a0940d945a7ee2ae49b4b32898
remoteproc: pru: Add support for various PRU cores on K3 AM62x SoCs

The K3 AM62x family of SoC has one PRUSS-M instance and it has two
Programmable Real-Time Units (PRU0 and PRU1). This does not support
Industrial Communications Subsystem features like Ethernet.

Enhance the existing PRU remoteproc driver to support the PRU cores
by using specific compatibles. The initial names for the firmware
images for each PRU core are retrieved from DT nodes, and can be adjusted
through sysfs if required.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Link: https://lore.kernel.org/r/20220602101920.12504-4-kishon@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/pru_rproc.c