Skip to contentSkip to conversation

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

PATCH Applied Kishon Vijay Abraham I 3 participants 7 messages Jun 2, 2022 – Jul 7, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

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

Changes from v1:
1) Added a new patch to re-arrange "compatible" in alphabetic order

v1: https://lore.kernel.org/r/[email protected]

Kishon Vijay Abraham I (3):
dt-bindings: soc: ti: pruss: Re-arrange "compatible" in alphabetic
order
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 | 5 +++--
 drivers/soc/ti/pruss.c                                 | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 1/3 dt-bindings: soc: ti: pruss: Re-arrange "compatible" in alphabetic order

Re-arrange "compatible" string in alphabetic order to decrease the chance of conflicts.

---
 Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +2 -2
index 64461d432004..20aec9b8fb5b 100644
@@ -65,10 +65,10 @@ properties:
       - ti,am4376-pruss0 # for AM437x SoC family and PRUSS unit 0
       - ti,am4376-pruss1 # for AM437x SoC family and PRUSS unit 1
       - ti,am5728-pruss  # for AM57xx SoC family
-      - ti,k2g-pruss     # for 66AK2G SoC family
+      - ti,am642-icssg   # for K3 AM64x SoC family
       - 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,k2g-pruss     # for 66AK2G SoC family
 
   reg:
     maxItems: 1
Signature · 1 line
2.17.1
#3 lore raw

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

In reply to 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 +1 -0
index 20aec9b8fb5b..847873289f25 100644
@@ -65,6 +65,7 @@ properties:
       - ti,am4376-pruss0 # for AM437x SoC family and PRUSS unit 0
       - ti,am4376-pruss1 # for AM437x SoC family and PRUSS unit 1
       - ti,am5728-pruss  # for AM57xx SoC family
+      - ti,am625-pruss   # for K3 AM62x SoC family
       - ti,am642-icssg   # for K3 AM64x SoC family
       - ti,am654-icssg   # for K3 AM65x SoC family
       - ti,j721e-icssg   # for K3 J721E SoC family
Signature · 1 line
2.17.1
#5 lore raw

PATCH v2 3/3 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 0e4ba0f89533..6882c86b3ce5 100644
@@ -338,6 +338,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
maintainer Applied
#6 lore raw
In reply to Kishon Vijay Abraham I

Hi Kishon Vijay Abraham I,

Quoted 8 lines · Kishon Vijay Abraham I

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

Changes from v1:
1) Added a new patch to re-arrange "compatible" in alphabetic order

[...]

I have applied the following to branch ti-drivers-soc-next on [1]. Thank you!

[1/3] dt-bindings: soc: ti: pruss: Re-arrange "compatible" in alphabetic order

      commit: b8c8d647f2fe4e263864b800f4647431ec0aabdf
[2/3] dt-bindings: soc: ti: pruss: Update bindings for K3 AM62x SoCs
      commit: 75938bab63a4bf5c654360aebfb96235de10d882
[3/3] soc: ti: pruss: Enable support for PRUSS-M subsystem on K3 AM62x SoCs
      commit: f16afe238a7ff3c71a943cf74392538974c29b22

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D