diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-10-01 10:02:56 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-10-02 06:05:18 -0400 |
commit | 7ab78d02cae7963da9abefa15464b53adf04bc64 (patch) | |
tree | 4a6c0c2becf67cf12b6f256392ed250d809a82a3 | |
parent | 1c15f655d160cce3779a4c7a5862407a90e0313f (diff) | |
parent | 40ad192f9e88d1376320399e49b9d978b56a9477 (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.txt | 4 | ||||
-rw-r--r-- | MAINTAINERS | 8 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/board-v7.c | 14 |
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 | ||
4 | Required properties: | 4 | Required 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 | |||
8745 | F: drivers/net/phy/marvell10g.c | 8745 | F: drivers/net/phy/marvell10g.c |
8746 | 8746 | ||
8747 | MARVELL MVNETA ETHERNET DRIVER | 8747 | MARVELL MVNETA ETHERNET DRIVER |
8748 | M: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 8748 | M: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
8749 | L: netdev@vger.kernel.org | 8749 | L: netdev@vger.kernel.org |
8750 | S: Maintained | 8750 | S: Maintained |
8751 | F: drivers/net/ethernet/marvell/mvneta.* | 8751 | F: drivers/net/ethernet/marvell/mvneta.* |
@@ -11081,7 +11081,7 @@ S: Maintained | |||
11081 | F: drivers/firmware/pcdp.* | 11081 | F: drivers/firmware/pcdp.* |
11082 | 11082 | ||
11083 | PCI DRIVER FOR AARDVARK (Marvell Armada 3700) | 11083 | PCI DRIVER FOR AARDVARK (Marvell Armada 3700) |
11084 | M: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 11084 | M: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
11085 | L: linux-pci@vger.kernel.org | 11085 | L: linux-pci@vger.kernel.org |
11086 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) | 11086 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) |
11087 | S: Maintained | 11087 | S: Maintained |
@@ -11113,7 +11113,7 @@ F: Documentation/devicetree/bindings/pci/versatile.txt | |||
11113 | F: drivers/pci/controller/pci-versatile.c | 11113 | F: drivers/pci/controller/pci-versatile.c |
11114 | 11114 | ||
11115 | PCI DRIVER FOR ARMADA 8K | 11115 | PCI DRIVER FOR ARMADA 8K |
11116 | M: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 11116 | M: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
11117 | L: linux-pci@vger.kernel.org | 11117 | L: linux-pci@vger.kernel.org |
11118 | L: linux-arm-kernel@lists.infradead.org | 11118 | L: linux-arm-kernel@lists.infradead.org |
11119 | S: Maintained | 11119 | S: Maintained |
@@ -11175,7 +11175,7 @@ F: include/linux/switchtec.h | |||
11175 | F: drivers/ntb/hw/mscc/ | 11175 | F: drivers/ntb/hw/mscc/ |
11176 | 11176 | ||
11177 | PCI DRIVER FOR MVEBU (Marvell Armada 370 and Armada XP SOC support) | 11177 | PCI DRIVER FOR MVEBU (Marvell Armada 370 and Armada XP SOC support) |
11178 | M: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 11178 | M: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
11179 | M: Jason Cooper <jason@lakedaemon.net> | 11179 | M: Jason Cooper <jason@lakedaemon.net> |
11180 | L: linux-pci@vger.kernel.org | 11180 | L: linux-pci@vger.kernel.org |
11181 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) | 11181 | L: 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 | ||
148 | static 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 | |||
148 | static const char * const armada_370_xp_dt_compat[] __initconst = { | 155 | static 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 = { | |||
153 | DT_MACHINE_START(ARMADA_370_XP_DT, "Marvell Armada 370/XP (Device Tree)") | 160 | DT_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, | ||
167 | MACHINE_END | 169 | MACHINE_END |
168 | 170 | ||
169 | static const char * const armada_375_dt_compat[] __initconst = { | 171 | static const char * const armada_375_dt_compat[] __initconst = { |