remoteproc: pru: Enable PRU cores on K3 AM62x SoCs
Subsystems (2)
cover remoteproc: pru: Enable PRU cores on K3 AM62x SoCs
Series adds AM62x specific compatible string to enable PRUSS-M in AM62x SoCs.
Kishon Vijay Abraham I (2):
dt-bindings: remoteproc: pru: Update bindings for K3 AM62x SoCs
remoteproc: pru: Add support for various PRU cores on K3 AM62x SoCs
Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml | 1 + drivers/remoteproc/pru_rproc.c | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
2.17.1
PATCH 1/2 dt-bindings: remoteproc: pru: Update bindings for K3 AM62x SoCs
Update the PRU remoteproc bindings for the PRU cores on AM62x SoCs.
--- Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml +1 -0
@@ -47,6 +47,7 @@ properties: - ti,j721e-pru # for PRUs in K3 J721E SoC family - ti,j721e-rtu # for RTUs in K3 J721E SoC family - ti,j721e-tx-pru # for Tx_PRUs in K3 J721E SoC family + - ti,am625-pru # for PRUs in K3 AM62x SoC family reg: items:
Signature · 1 line
2.17.1
Re: [PATCH 1/2] dt-bindings: remoteproc: pru: Update bindings for K3 AM62x SoCs
Quoted 12 lines · Kishon Vijay Abraham I
Update the PRU remoteproc bindings for the PRU cores on AM62x SoCs.
Signed-off-by Kishon Vijay Abraham I <[email protected]>--- Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml +0
-0
Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml properties: · line 50
Quoted 4 lines
Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml +1
-0@@ -47,6 +47,7 @@ properties: - ti,j721e-pru # for PRUs in K3 J721E SoC family - ti,j721e-rtu # for RTUs in K3 J721E SoC family - ti,j721e-tx-pru # for Tx_PRUs in K3 J721E SoC family + - ti,am625-pru # for PRUs in K3 AM62x SoC family
Looks like out of order.
Best regards,
Krzysztof
Re: [PATCH 1/2] dt-bindings: remoteproc: pru: Update bindings for K3 AM62x SoCs
Hi Krzysztof,
Quoted 8 lines · Krzysztof Kozlowski
Quoted 7 lines · Kishon Vijay Abraham I
Update the PRU remoteproc bindings for the PRU cores on AM62x SoCs.
Signed-off-by Kishon Vijay Abraham I <[email protected]>--- Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml | 1 + 1 file changed, 1 insertion(+)
Quoted 11 lines
Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml properties: · line 50
Quoted 9 lines
Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml +1
-0@@ -47,6 +47,7 @@ properties: - ti,j721e-pru # for PRUs in K3 J721E SoC family - ti,j721e-rtu # for RTUs in K3 J721E SoC family - ti,j721e-tx-pru # for Tx_PRUs in K3 J721E SoC family + - ti,am625-pru # for PRUs in K3 AM62x SoC familyLooks like out of order.
yes, this is out of sync with the existing format binding. I'll send a patch fixing it.
Thanks,
Kishon
Re: [PATCH 1/2] dt-bindings: remoteproc: pru: Update bindings for K3 AM62x SoCs
Quoted 23 lines · Kishon Vijay Abraham I
Hi Krzysztof,
Quoted 8 lines · Krzysztof Kozlowski
Quoted 7 lines · Kishon Vijay Abraham I
Update the PRU remoteproc bindings for the PRU cores on AM62x SoCs.
Signed-off-by Kishon Vijay Abraham I <[email protected]>--- Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml | 1 + 1 file changed, 1 insertion(+)Quoted 11 lines
Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml properties: · line 50
Quoted 9 lines
Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml +1
-0@@ -47,6 +47,7 @@ properties: - ti,j721e-pru # for PRUs in K3 J721E SoC family - ti,j721e-rtu # for RTUs in K3 J721E SoC family - ti,j721e-tx-pru # for Tx_PRUs in K3 J721E SoC family + - ti,am625-pru # for PRUs in K3 AM62x SoC familyLooks like out of order.
Quoted 2 lines
yes, this is out of sync with the existing format binding. I'll send a patch fixing it.
I meant, you introduce it out-of-order. So this patch should be modified and new compatible added in some better place.
Best regards,
Krzysztof
PATCH 2/2 remoteproc: pru: Add support for various PRU cores on K3 AM62x SoCs
In reply to Kishon Vijay Abraham IThe 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.
--- drivers/remoteproc/pru_rproc.c | 1 + 1 file changed, 1 insertion(+)
drivers/remoteproc/pru_rproc.c +1 -0
@@ -897,6 +897,7 @@ static const struct of_device_id pru_rproc_match[] = { { .compatible = "ti,j721e-pru", .data = &k3_pru_data }, { .compatible = "ti,j721e-rtu", .data = &k3_rtu_data }, { .compatible = "ti,j721e-tx-pru", .data = &k3_tx_pru_data }, + { .compatible = "ti,am625-pru", .data = &k3_pru_data }, {}, };MODULE_DEVICE_TABLE (of, pru_rproc_match);
Signature · 1 line
2.17.1