[PATCH] arm: mvebu: Add SPI1 pinctrl defines for Armada XP

Subsystems: the rest

STALE3671d

3 messages, 2 authors, 2016-07-13 · open the first message on its own page

[PATCH] arm: mvebu: Add SPI1 pinctrl defines for Armada XP

From: sr@denx.de (Stefan Roese)
Date: 2016-02-29 09:58:34

This patch defines and uses common Armada XP pinctrl settings in
armada-xp.dtsi for the SPI1 interface (MPP13,14,16,17).

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Thomas Petazzoni <redacted>
Cc: Gregory CLEMENT <redacted>
---
 arch/arm/boot/dts/armada-xp.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
index be23196..c779e31 100644
--- a/arch/arm/boot/dts/armada-xp.dtsi
+++ b/arch/arm/boot/dts/armada-xp.dtsi
@@ -94,6 +94,8 @@
 			spi1: spi at 10680 {
 				compatible = "marvell,armada-xp-spi",
 						"marvell,orion-spi";
+				pinctrl-0 = <&spi1_pins>;
+				pinctrl-names = "default";
 			};
 
 
@@ -343,6 +345,12 @@
 		marvell,function = "spi0";
 	};
 
+	spi1_pins: spi1-pins {
+		marvell,pins = "mpp13", "mpp14",
+			       "mpp16", "mpp17";
+		marvell,function = "spi1";
+	};
+
 	uart2_pins: uart2-pins {
 		marvell,pins = "mpp42", "mpp43";
 		marvell,function = "uart2";
-- 
2.7.2

[PATCH] arm: mvebu: Add SPI1 pinctrl defines for Armada XP

From: Thomas Petazzoni <hidden>
Date: 2016-02-29 10:42:30

Dear Stefan Roese,

On Mon, 29 Feb 2016 10:58:34 +0100, Stefan Roese wrote:
This patch defines and uses common Armada XP pinctrl settings in
armada-xp.dtsi for the SPI1 interface (MPP13,14,16,17).

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Thomas Petazzoni <redacted>
Cc: Gregory CLEMENT <redacted>
---
 arch/arm/boot/dts/armada-xp.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
Reviewed-by: Thomas Petazzoni <redacted>

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[PATCH] arm: mvebu: Add SPI1 pinctrl defines for Armada XP

From: sr@denx.de (Stefan Roese)
Date: 2016-07-13 09:38:09

Hi Gregory,

On 29.02.2016 11:42, Thomas Petazzoni wrote:
On Mon, 29 Feb 2016 10:58:34 +0100, Stefan Roese wrote:
quoted
This patch defines and uses common Armada XP pinctrl settings in
armada-xp.dtsi for the SPI1 interface (MPP13,14,16,17).

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Thomas Petazzoni <redacted>
Cc: Gregory CLEMENT <redacted>
---
  arch/arm/boot/dts/armada-xp.dtsi | 8 ++++++++
  1 file changed, 8 insertions(+)
Reviewed-by: Thomas Petazzoni <redacted>
I'm currently rebasing my SPI dts patches and noticed that this
patch is not in mailine yet. Should I perhaps send it again with
the SPI dts move patches?

Thanks,
Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help