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

From: Suman Anna
Date: Tue Feb 09 2021 - 17:16:04 EST


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.

Signed-off-by: Suman Anna <s-anna@xxxxxx>
---
v2: No changes

drivers/mailbox/omap-mailbox.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/mailbox/omap-mailbox.c b/drivers/mailbox/omap-mailbox.c
index 93fe08aef3ca..7295e3835e30 100644
--- a/drivers/mailbox/omap-mailbox.c
+++ b/drivers/mailbox/omap-mailbox.c
@@ -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 <Hiroshi.DOYU@xxxxxxxxx>
* Suman Anna <s-anna@xxxxxx>
@@ -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 */
},
--
2.29.2