aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-10-01 10:02:56 -0400
committerArnd Bergmann <arnd@arndb.de>2018-10-02 06:05:18 -0400
commit7ab78d02cae7963da9abefa15464b53adf04bc64 (patch)
tree4a6c0c2becf67cf12b6f256392ed250d809a82a3
parent1c15f655d160cce3779a4c7a5862407a90e0313f (diff)
parent40ad192f9e88d1376320399e49b9d978b56a9477 (diff)
Merge tag 'mvebu-soc-4.20-1' of git://git.infradead.org/linux-mvebu into next/soc
mvebu soc for 4.20 (part 1) - use dt_fixup to provide fallback for enable-method for Armada XP - document the marvell,prestera compatible string - update Thomas Petazzoni email in MAINTAINERS file * tag 'mvebu-soc-4.20-1' of git://git.infradead.org/linux-mvebu: dt-bindings: marvell,prestera: Add common compatible string MAINTAINERS: replace free-electrons.com by bootlin.com for Thomas Petazzoni ARM: mvebu: use dt_fixup to provide fallback for enable-method Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--Documentation/devicetree/bindings/net/marvell,prestera.txt4
-rw-r--r--MAINTAINERS8
-rw-r--r--arch/arm/mach-mvebu/board-v7.c14
3 files changed, 14 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/net/marvell,prestera.txt b/Documentation/devicetree/bindings/net/marvell,prestera.txt
index c329608fa887..83370ebf5b89 100644
--- a/Documentation/devicetree/bindings/net/marvell,prestera.txt
+++ b/Documentation/devicetree/bindings/net/marvell,prestera.txt
@@ -2,7 +2,7 @@ Marvell Prestera Switch Chip bindings
2------------------------------------- 2-------------------------------------
3 3
4Required properties: 4Required properties:
5- compatible: one of the following 5- compatible: must be "marvell,prestera" and one of the following
6 "marvell,prestera-98dx3236", 6 "marvell,prestera-98dx3236",
7 "marvell,prestera-98dx3336", 7 "marvell,prestera-98dx3336",
8 "marvell,prestera-98dx4251", 8 "marvell,prestera-98dx4251",
@@ -21,7 +21,7 @@ switch {
21 ranges = <0 MBUS_ID(0x03, 0x00) 0 0x100000>; 21 ranges = <0 MBUS_ID(0x03, 0x00) 0 0x100000>;
22 22
23 packet-processor@0 { 23 packet-processor@0 {
24 compatible = "marvell,prestera-98dx3236"; 24 compatible = "marvell,prestera-98dx3236", "marvell,prestera";
25 reg = <0 0x4000000>; 25 reg = <0 0x4000000>;
26 interrupts = <33>, <34>, <35>; 26 interrupts = <33>, <34>, <35>;
27 dfx = <&dfx>; 27 dfx = <&dfx>;
diff --git a/MAINTAINERS b/MAINTAINERS
index 2efd6c87005e..2ae55e7f6b2a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8745,7 +8745,7 @@ S: Maintained
8745F: drivers/net/phy/marvell10g.c 8745F: drivers/net/phy/marvell10g.c
8746 8746
8747MARVELL MVNETA ETHERNET DRIVER 8747MARVELL MVNETA ETHERNET DRIVER
8748M: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 8748M: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
8749L: netdev@vger.kernel.org 8749L: netdev@vger.kernel.org
8750S: Maintained 8750S: Maintained
8751F: drivers/net/ethernet/marvell/mvneta.* 8751F: drivers/net/ethernet/marvell/mvneta.*
@@ -11081,7 +11081,7 @@ S: Maintained
11081F: drivers/firmware/pcdp.* 11081F: drivers/firmware/pcdp.*
11082 11082
11083PCI DRIVER FOR AARDVARK (Marvell Armada 3700) 11083PCI DRIVER FOR AARDVARK (Marvell Armada 3700)
11084M: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 11084M: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
11085L: linux-pci@vger.kernel.org 11085L: linux-pci@vger.kernel.org
11086L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 11086L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
11087S: Maintained 11087S: Maintained
@@ -11113,7 +11113,7 @@ F: Documentation/devicetree/bindings/pci/versatile.txt
11113F: drivers/pci/controller/pci-versatile.c 11113F: drivers/pci/controller/pci-versatile.c
11114 11114
11115PCI DRIVER FOR ARMADA 8K 11115PCI DRIVER FOR ARMADA 8K
11116M: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 11116M: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
11117L: linux-pci@vger.kernel.org 11117L: linux-pci@vger.kernel.org
11118L: linux-arm-kernel@lists.infradead.org 11118L: linux-arm-kernel@lists.infradead.org
11119S: Maintained 11119S: Maintained
@@ -11175,7 +11175,7 @@ F: include/linux/switchtec.h
11175F: drivers/ntb/hw/mscc/ 11175F: drivers/ntb/hw/mscc/
11176 11176
11177PCI DRIVER FOR MVEBU (Marvell Armada 370 and Armada XP SOC support) 11177PCI DRIVER FOR MVEBU (Marvell Armada 370 and Armada XP SOC support)
11178M: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 11178M: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
11179M: Jason Cooper <jason@lakedaemon.net> 11179M: Jason Cooper <jason@lakedaemon.net>
11180L: linux-pci@vger.kernel.org 11180L: linux-pci@vger.kernel.org
11181L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 11181L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
diff --git a/arch/arm/mach-mvebu/board-v7.c b/arch/arm/mach-mvebu/board-v7.c
index ccca95173e17..0b10acd7d1b9 100644
--- a/arch/arm/mach-mvebu/board-v7.c
+++ b/arch/arm/mach-mvebu/board-v7.c
@@ -145,6 +145,13 @@ static void __init mvebu_dt_init(void)
145 i2c_quirk(); 145 i2c_quirk();
146} 146}
147 147
148static void __init armada_370_xp_dt_fixup(void)
149{
150#ifdef CONFIG_SMP
151 smp_set_ops(smp_ops(armada_xp_smp_ops));
152#endif
153}
154
148static const char * const armada_370_xp_dt_compat[] __initconst = { 155static const char * const armada_370_xp_dt_compat[] __initconst = {
149 "marvell,armada-370-xp", 156 "marvell,armada-370-xp",
150 NULL, 157 NULL,
@@ -153,17 +160,12 @@ static const char * const armada_370_xp_dt_compat[] __initconst = {
153DT_MACHINE_START(ARMADA_370_XP_DT, "Marvell Armada 370/XP (Device Tree)") 160DT_MACHINE_START(ARMADA_370_XP_DT, "Marvell Armada 370/XP (Device Tree)")
154 .l2c_aux_val = 0, 161 .l2c_aux_val = 0,
155 .l2c_aux_mask = ~0, 162 .l2c_aux_mask = ~0,
156/*
157 * The following field (.smp) is still needed to ensure backward
158 * compatibility with old Device Trees that were not specifying the
159 * cpus enable-method property.
160 */
161 .smp = smp_ops(armada_xp_smp_ops),
162 .init_machine = mvebu_dt_init, 163 .init_machine = mvebu_dt_init,
163 .init_irq = mvebu_init_irq, 164 .init_irq = mvebu_init_irq,
164 .restart = mvebu_restart, 165 .restart = mvebu_restart,
165 .reserve = mvebu_memblock_reserve, 166 .reserve = mvebu_memblock_reserve,
166 .dt_compat = armada_370_xp_dt_compat, 167 .dt_compat = armada_370_xp_dt_compat,
168 .dt_fixup = armada_370_xp_dt_fixup,
167MACHINE_END 169MACHINE_END
168 170
169static const char * const armada_375_dt_compat[] __initconst = { 171static const char * const armada_375_dt_compat[] __initconst = {