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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Gregory CLEMENT <gregory.clement@xxxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxxxxxxxxxx>
---
 Documentation/devicetree/bindings/bus/mvebu-mbus.txt | 1 +
 drivers/bus/mvebu-mbus.c                             | 2 ++
 2 files changed, 3 insertions(+)

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",
-- 
1.8.1.5


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [CentOS ARM]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]     [Photos]