Skip to contentSkip to conversation

Add Mailbox support for TI K3 AM64x SoCs

PATCH In review Suman Anna 2 participants 4 messages Feb 9, 2021 – Feb 10, 2021

Subsystems (2)
lore
Share & tools
lore

Suman Anna

author
#0 lore raw

v2 cover Add Mailbox support for TI K3 AM64x SoCs

Hi Jassi,

The following is a minor revision of the series [1] that extends the OMAP Mailbox driver for the IP on TI K3 AM64x SoCs.

Only change is in patch 1 to drop the example in the dt-bindings patch.

regards
Suman

[1] https://patchwork.kernel.org/project/linux-arm-kernel/cover/[email protected]/

Suman Anna (2):
dt-bindings: mailbox: omap: Update binding for AM64x SoCs
mailbox: omap: Add support for K3 AM64x SoCs

 Documentation/devicetree/bindings/mailbox/omap-mailbox.txt | 4 ++++
 drivers/mailbox/omap-mailbox.c                             | 6 +++++-
 2 files changed, 9 insertions(+), 1 deletion(-)
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author
#1 lore raw

PATCH v2 1/2 dt-bindings: mailbox: omap: Update binding for AM64x SoCs

Update the existing OMAP Mailbox binding to include the info for AM64x SoCs. There are some minor IP integration differences between the AM64x SoCs and the previous AM65x and J721E SoC families.

---
v2: Remove AM64x example as per Rob's comments
v1: https://patchwork.kernel.org/project/linux-arm-kernel/patch/[email protected]/

 Documentation/devicetree/bindings/mailbox/omap-mailbox.txt | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/mailbox/omap-mailbox.txt +4 -0
index 5fe80c1c19fc..12371f5c6cd9 100644
@@ -28,6 +28,9 @@ SoCs has each of these instances form a cluster and combine multiple clusters
 into a single IP block present within the Main NavSS. The interrupt lines from
 all these clusters are multiplexed and routed to different processor subsystems
 over a limited number of common interrupt output lines of an Interrupt Router.
+The AM64x SoCS also uses a single IP block comprising of multiple clusters,
+but the number of clusters are smaller, and the interrupt output lines are
+connected directly to various processors.
 
 Mailbox Device Node:
 ====================
@@ -42,6 +45,7 @@ Required properties:
 			    "ti,omap4-mailbox" for OMAP44xx, OMAP54xx, AM33xx,
 						   AM43xx and DRA7xx SoCs
 			    "ti,am654-mailbox" for K3 AM65x and J721E SoCs
+			    "ti,am64-mailbox" for K3 AM64x SoCs
 - reg:			Contains the mailbox register address range (base
 			address and length)
 - interrupts:		Contains the interrupt information for the mailbox
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Acked-by on v2 1/2
#2 lore raw

Re: [PATCH v2 1/2] dt-bindings: mailbox: omap: Update binding for AM64x SoCs

Quoted 4 lines · Suman Anna

Update the existing OMAP Mailbox binding to include the info for AM64x SoCs. There are some minor IP integration differences between the AM64x SoCs and the previous AM65x and J721E SoC families.

Quoted 8 lines

---
v2: Remove AM64x example as per Rob's comments
v1: https://patchwork.kernel.org/project/linux-arm-kernel/patch/[email protected]/

 Documentation/devicetree/bindings/mailbox/omap-mailbox.txt | 4 ++++
 1 file changed, 4 insertions(+)
author
#3 lore raw

PATCH v2 2/2 mailbox: omap: Add support for K3 AM64x SoCs

In reply to Suman Anna

The AM64x SoC contains a Mailbox IP instance with multiple clusters in the MAIN domain, and is a variant of the IP on current AM65x and J721E SoCs. The AM64x SoC has only 8 clusters with no interrupts routed to the A53 core on the first 2 clusters. The interrupt outputs from the IP do not go through any Interrupt Routers and are hard-wired to each processor, with only couple of interrupts from each cluster reaching the A53 core. The IP is also not built with the K3 safety feature in hardware.

Add the support for this IP through a new compatible.

---
v2: No changes

 drivers/mailbox/omap-mailbox.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/mailbox/omap-mailbox.c +5 -1
index 93fe08aef3ca..7295e3835e30 100644
@@ -3,7 +3,7 @@
  * OMAP mailbox driver
  *
  * Copyright (C) 2006-2009 Nokia Corporation. All rights reserved.
- * Copyright (C) 2013-2019 Texas Instruments Incorporated - https://www.ti.com
+ * Copyright (C) 2013-2021 Texas Instruments Incorporated - https://www.ti.com
  *
  * Contact: Hiroshi DOYU <[email protected]>
  *          Suman Anna <[email protected]>
@@ -663,6 +663,10 @@ static const struct of_device_id omap_mailbox_of_match[] = {
 		.compatible	= "ti,am654-mailbox",
 		.data		= &omap4_data,
 	},
+	{
+		.compatible	= "ti,am64-mailbox",
+		.data		= &omap4_data,
+	},
 	{
 		/* end */
 	},
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel