diff mbox

[1/2] bus: mvebu-mbus: Add support for the Armada 375 SoCs

Message ID 1392060298-27094-2-git-send-email-ezequiel.garcia@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ezequiel Garcia Feb. 10, 2014, 7:24 p.m. UTC
From: Gregory CLEMENT <gregory.clement@free-electrons.com>

The mvebu-mbus driver handles the special MBus mechanism of Marvell
EBU SoCs. The new members of the EBU family, the Armada 375, is
identical in terms of MBus handling, and share the same number of
windows and register organization as Armada 370/XP.

Therefore, this commit adds a new "marvell,armada375-mbus" compatible
string, which for now uses the same data structure as the one for
Armada 370 and Armada XP.

The SoC-specific compatible string is added in order to allow
the support of SoC-specific quirks in the future.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
---
 Documentation/devicetree/bindings/bus/mvebu-mbus.txt | 1 +
 drivers/bus/mvebu-mbus.c                             | 2 ++
 2 files changed, 3 insertions(+)
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/bus/mvebu-mbus.txt b/Documentation/devicetree/bindings/bus/mvebu-mbus.txt
index 7586fb6..ac21b16 100644
--- a/Documentation/devicetree/bindings/bus/mvebu-mbus.txt
+++ b/Documentation/devicetree/bindings/bus/mvebu-mbus.txt
@@ -7,6 +7,7 @@  Required properties:
 		 marvell,armada370-mbus
 		 marvell,armadaxp-mbus
 		 marvell,armada370-mbus
+		 marvell,armada375-mbus
 		 marvell,armadaxp-mbus
 		 marvell,kirkwood-mbus
 		 marvell,dove-mbus
diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c
index 725c461..23af1b8 100644
--- a/drivers/bus/mvebu-mbus.c
+++ b/drivers/bus/mvebu-mbus.c
@@ -591,6 +591,8 @@  static const struct mvebu_mbus_soc_data mv78xx0_mbus_data = {
 static const struct of_device_id of_mvebu_mbus_ids[] = {
 	{ .compatible = "marvell,armada370-mbus",
 	  .data = &armada_370_xp_mbus_data, },
+	{ .compatible = "marvell,armada375-mbus",
+	  .data = &armada_370_xp_mbus_data, },
 	{ .compatible = "marvell,armadaxp-mbus",
 	  .data = &armada_370_xp_mbus_data, },
 	{ .compatible = "marvell,kirkwood-mbus",