Skip to contentSkip to conversation

ARM: mvebu: use improved armada spi device tree compatible name

PATCH New gerg at uclinux.org 4 participants 5 messages Sep 8, 2014 – Sep 28, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: mvebu: use improved armada spi device tree compatible name

From: Greg Ungerer <[email protected]>

Switch the Armada SoC SPI port device tree binding to use the new improved armada-370-spi compatible name. This allows for a wider range of baud rates to be used.

---
 arch/arm/boot/dts/armada-370-xp.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/armada-370-xp.dtsi +2 -2
index 23227e0..83286ec 100644
@@ -110,7 +110,7 @@
 			};
 
 			spi0: spi at 10600 {
-				compatible = "marvell,orion-spi";
+				compatible = "marvell,armada-370-spi", "marvell,orion-spi";
 				reg = <0x10600 0x28>;
 				#address-cells = <1>;
 				#size-cells = <0>;
@@ -121,7 +121,7 @@
 			};
 
 			spi1: spi at 10680 {
-				compatible = "marvell,orion-spi";
+				compatible = "marvell,armada-370-spi", "marvell,orion-spi";
 				reg = <0x10680 0x28>;
 				#address-cells = <1>;
 				#size-cells = <0>;
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: mvebu: use improved armada spi device tree compatible name

Sending to Jason (just in case)

Quoted 42 lines · gerg at uclinux.org

From: Greg Ungerer <[email protected]>

Switch the Armada SoC SPI port device tree binding to use the new improved armada-370-spi compatible name. This allows for a wider range of baud rates to be used.

---
 arch/arm/boot/dts/armada-370-xp.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/armada-370-xp.dtsi +2 -2
index 23227e0..83286ec 100644
@@ -110,7 +110,7 @@
 			};
 
 			spi0: spi at 10600 {
-				compatible = "marvell,orion-spi";
+				compatible = "marvell,armada-370-spi", "marvell,orion-spi";
 				reg = <0x10600 0x28>;
 				#address-cells = <1>;
 				#size-cells = <0>;
@@ -121,7 +121,7 @@
 			};
 
 			spi1: spi at 10680 {
-				compatible = "marvell,orion-spi";
+				compatible = "marvell,armada-370-spi", "marvell,orion-spi";
 				reg = <0x10680 0x28>;
 				#address-cells = <1>;
 				#size-cells = <0>;
Signature · 6 lines
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 3 lines
Ezequiel Garc?a, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
Applied
#2 lore raw

PATCH 1/1 ARM: mvebu: use improved armada spi device tree compatible name

In reply to gerg at uclinux.org
Quoted 6 lines · gerg at uclinux.org

From: Greg Ungerer <[email protected]>

Switch the Armada SoC SPI port device tree binding to use the new improved armada-370-spi compatible name. This allows for a wider range of baud rates to be used.

Quoted 6 lines
---
 arch/arm/boot/dts/armada-370-xp.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to mvebu/dt.

thx,

Jason.

maintainer
#3 lore raw

PATCH 1/1 ARM: mvebu: use improved armada spi device tree compatible name

Quoted 7 lines · Jason Cooper
Quoted 3 lines · gerg at uclinux.org

Switch the Armada SoC SPI port device tree binding to use the new improved armada-370-spi compatible name. This allows for a wider range of baud rates to be used.

Applied to mvebu/dt.

Note that the corresponding driver change hasn't been applied (or sent
to me for review) so this will break users.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140928/7b164e11/attachment.sig>

#4 lore raw

PATCH 1/1 ARM: mvebu: use improved armada spi device tree compatible name

Hi Mark,

Quoted 8 lines · Mark Brown
Quoted 5 lines · Jason Cooper
Quoted 3 lines · gerg at uclinux.org

Switch the Armada SoC SPI port device tree binding to use the new improved armada-370-spi compatible name. This allows for a wider range of baud rates to be used.

Applied to mvebu/dt.

Note that the corresponding driver change hasn't been applied (or sent to me for review) so this will break users.

It still maintains the compatible "marvell,orion-spi" as well, so its shouldn't break anyone with only that applied.

I will resend the spi-orion.c change.

Regards
Greg