Skip to contentSkip to conversation

soc: ti: Enable PRUSS-M on K3 AM62x SoCs

PATCH Superseded Kishon Vijay Abraham I 2 participants 8 messages Apr 27, 2022 – Jun 2, 2022

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover soc: ti: Enable PRUSS-M on K3 AM62x SoCs

Series adds AM62x specific compatible string to enable PRUSS-M in AM62x SoCs.

Kishon Vijay Abraham I (2):
dt-bindings: soc: ti: pruss: Update bindings for K3 AM62x SoCs
soc: ti: pruss: Enable support for PRUSS-M subsystem on K3 AM62x SoCs

 Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml | 1 +
 drivers/soc/ti/pruss.c                                 | 1 +
 2 files changed, 2 insertions(+)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/2 dt-bindings: soc: ti: pruss: Update bindings for K3 AM62x SoCs

Update the PRUSS bindings for the PRUSSM instance present in AM625 SoC.

---
 Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +1 -0
index 64461d432004..cf13e5179657 100644
@@ -69,6 +69,7 @@ properties:
       - ti,am654-icssg   # for K3 AM65x SoC family
       - ti,j721e-icssg   # for K3 J721E SoC family
       - ti,am642-icssg   # for K3 AM64x SoC family
+      - ti,am625-pruss   # for K3 AM62x SoC family
 
   reg:
     maxItems: 1
Signature · 1 line
2.17.1
#7 lore raw

PATCH 2/2 soc: ti: pruss: Enable support for PRUSS-M subsystem on K3 AM62x SoCs

In reply to Kishon Vijay Abraham I

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.

The existing pruss platform driver has been updated to support this through a new AM62x specific compatible.

---
 drivers/soc/ti/pruss.c | 1 +
 1 file changed, 1 insertion(+)
drivers/soc/ti/pruss.c +1 -0
index b36779309e49..7c8111ca2b72 100644
@@ -339,6 +339,7 @@ static const struct of_device_id pruss_of_match[] = {
 	{ .compatible = "ti,am654-icssg", .data = &am65x_j721e_pruss_data, },
 	{ .compatible = "ti,j721e-icssg", .data = &am65x_j721e_pruss_data, },
 	{ .compatible = "ti,am642-icssg", .data = &am65x_j721e_pruss_data, },
+	{ .compatible = "ti,am625-pruss", .data = &am65x_j721e_pruss_data, },
 	{},
 };
 MODULE_DEVICE_TABLE(of, pruss_of_match);
Signature · 1 line
2.17.1
#2 lore raw

Re: [PATCH 1/2] dt-bindings: soc: ti: pruss: Update bindings for K3 AM62x SoCs

In reply to Kishon Vijay Abraham I
Quoted 13 lines · Kishon Vijay Abraham I

Update the PRUSS bindings for the PRUSSM instance present in AM625 SoC.

---
 Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +0 -0
index 64461d432004..cf13e5179657 100644

Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml properties: · line 73

Quoted 5 lines
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +1 -0
@@ -69,6 +69,7 @@ properties:
       - ti,am654-icssg   # for K3 AM65x SoC family
       - ti,j721e-icssg   # for K3 J721E SoC family
       - ti,am642-icssg   # for K3 AM64x SoC family
+      - ti,am625-pruss   # for K3 AM62x SoC family
 

Looks like out of order (although for some reason before it was also misordered...).

Best regards,
Krzysztof

#3 lore raw

Re: [PATCH 1/2] dt-bindings: soc: ti: pruss: Update bindings for K3 AM62x SoCs

Hi Krzysztof,

Quoted 9 lines · Krzysztof Kozlowski
Quoted 8 lines · Kishon Vijay Abraham I

Update the PRUSS bindings for the PRUSSM instance present in AM625 SoC.

---
 Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml | 1 +
 1 file changed, 1 insertion(+)
Quoted 13 lines

Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml properties: · line 73

Quoted 10 lines
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +1 -0
index 64461d432004..cf13e5179657 100644
@@ -69,6 +69,7 @@ properties:
       - ti,am654-icssg   # for K3 AM65x SoC family
       - ti,j721e-icssg   # for K3 J721E SoC family
       - ti,am642-icssg   # for K3 AM64x SoC family
+      - ti,am625-pruss   # for K3 AM62x SoC family
 

Looks like out of order (although for some reason before it was also misordered...).

These are really in the chronological order of the introduction of SoCs. Isn't that okay to have?

Thanks,
Kishon

#4 lore raw

Re: [PATCH 1/2] dt-bindings: soc: ti: pruss: Update bindings for K3 AM62x SoCs

Quoted 26 lines · Kishon Vijay Abraham I

Hi Krzysztof,

Quoted 9 lines · Krzysztof Kozlowski
Quoted 8 lines · Kishon Vijay Abraham I

Update the PRUSS bindings for the PRUSSM instance present in AM625 SoC.

---
 Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml | 1 +
 1 file changed, 1 insertion(+)
Quoted 13 lines

Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml properties: · line 73

Quoted 10 lines
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +1 -0
index 64461d432004..cf13e5179657 100644
@@ -69,6 +69,7 @@ properties:
       - ti,am654-icssg   # for K3 AM65x SoC family
       - ti,j721e-icssg   # for K3 J721E SoC family
       - ti,am642-icssg   # for K3 AM64x SoC family
+      - ti,am625-pruss   # for K3 AM62x SoC family
 

Looks like out of order (although for some reason before it was also misordered...).

Quoted 2 lines

These are really in the chronological order of the introduction of SoCs. Isn't that okay to have?

You mean order of release on the market of order of adding files here? The first is ok, the latter would mean there is no order at all.

It's a nit, so I don't expect to change it. It just increases our chances for conflicts...

Best regards,
Krzysztof

#5 lore raw

Re: [PATCH 1/2] dt-bindings: soc: ti: pruss: Update bindings for K3 AM62x SoCs

Hi Krzysztof,

Quoted 27 lines · Krzysztof Kozlowski
Quoted 26 lines · Kishon Vijay Abraham I

Hi Krzysztof,

Quoted 22 lines · Krzysztof Kozlowski
Quoted 13 lines · Kishon Vijay Abraham I

Update the PRUSS bindings for the PRUSSM instance present in AM625 SoC.

---
 Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +0 -0
index 64461d432004..cf13e5179657 100644

Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml properties: · line 73

Quoted 5 lines
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +1 -0
@@ -69,6 +69,7 @@ properties:
       - ti,am654-icssg   # for K3 AM65x SoC family
       - ti,j721e-icssg   # for K3 J721E SoC family
       - ti,am642-icssg   # for K3 AM64x SoC family
+      - ti,am625-pruss   # for K3 AM62x SoC family
 

Looks like out of order (although for some reason before it was also misordered...).

Quoted 5 lines
Quoted 2 lines

These are really in the chronological order of the introduction of SoCs. Isn't that okay to have?

You mean order of release on the market of order of adding files here? The first is ok, the latter would mean there is no order at all.

I meant order of release to market. Anyways, I'll send a patch to change the order to alphabetic order.

Thanks,
Kishon

#6 lore raw

Re: [PATCH 1/2] dt-bindings: soc: ti: pruss: Update bindings for K3 AM62x SoCs

Quoted 30 lines · Kishon Vijay Abraham I

Hi Krzysztof,

Quoted 27 lines · Krzysztof Kozlowski
Quoted 26 lines · Kishon Vijay Abraham I

Hi Krzysztof,

Quoted 22 lines · Krzysztof Kozlowski
Quoted 13 lines · Kishon Vijay Abraham I

Update the PRUSS bindings for the PRUSSM instance present in AM625 SoC.

---
 Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +0 -0
index 64461d432004..cf13e5179657 100644

Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml properties: · line 73

Quoted 5 lines
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +1 -0
@@ -69,6 +69,7 @@ properties:
       - ti,am654-icssg   # for K3 AM65x SoC family
       - ti,j721e-icssg   # for K3 J721E SoC family
       - ti,am642-icssg   # for K3 AM64x SoC family
+      - ti,am625-pruss   # for K3 AM62x SoC family
 

Looks like out of order (although for some reason before it was also misordered...).

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

These are really in the chronological order of the introduction of SoCs. Isn't that okay to have?

You mean order of release on the market of order of adding files here? The first is ok, the latter would mean there is no order at all.

I meant order of release to market. Anyways, I'll send a patch to change the order to alphabetic order.

It's okay to keep it then in such release-market order. Up to you:

Best regards,
Krzysztof