Thread (27 messages) flat view 27 messages, 5 authors, 2021-02-05

RE: [EXT] Re: [PATCH 03/11] dts: mvebu: Add pin control definitions for SDIO interafce

From: Kostya Porotchkin <hidden>
Date: 2021-02-03 14:41:50
Also in: linux-arm-kernel, lkml

-----Original Message-----
From: Baruch Siach <baruch@tkos.co.il>
Sent: Wednesday, February 3, 2021 16:01
To: Kostya Porotchkin <redacted>
Cc: linux-kernel@vger.kernel.org; devicetree@vger.kernel.org;
andrew@lunn.ch; jaz@semihalf.com; gregory.clement@bootlin.com;
linux@armlinux.org.uk; Nadav Haklai [off-list ref];
robh+dt@kernel.org; Stefan Chulski [off-list ref];
mw@semihalf.com; Ben Peled [off-list ref];
sebastian.hesselbarth@gmail.com; linux-arm-kernel@lists.infradead.org
Subject: [EXT] Re: [PATCH 03/11] dts: mvebu: Add pin control definitions for
SDIO interafce

External Email

----------------------------------------------------------------------
Hi Konstantin,

On Wed, Feb 03 2021, kostap@marvell.com wrote:
quoted
From: Konstantin Porotchkin <redacted>

Add SDIO mode pin control configration for CP0 on A8K DB.
This patch does not touch the A8K DB device-tree file.
[KP] Right, it changes the SoC DTSI. I missed it when ported the patch.
Will fix in the next version

Kosta
baruch
quoted
Signed-off-by: Konstantin Porotchkin <redacted>
---
 arch/arm64/boot/dts/marvell/armada-70x0.dtsi | 6 ++++++
arch/arm64/boot/dts/marvell/armada-80x0.dtsi | 6 ++++++
 2 files changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/marvell/armada-70x0.dtsi
b/arch/arm64/boot/dts/marvell/armada-70x0.dtsi
index 293403a1a333..179218774ba9 100644
--- a/arch/arm64/boot/dts/marvell/armada-70x0.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-70x0.dtsi
@@ -47,6 +47,12 @@
 	cp0_pinctrl: pinctrl {
 		compatible = "marvell,armada-7k-pinctrl";

+		sdhci_pins: sdhi-pins {
+			marvell,pins = "mpp56", "mpp57", "mpp58",
+				       "mpp59", "mpp60", "mpp61", "mpp62";
+			marvell,function = "sdio";
+		};
+
 		nand_pins: nand-pins {
 			marvell,pins =
 			"mpp15", "mpp16", "mpp17", "mpp18", diff --git
a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
index ee67c70bf02e..64100ae204da 100644
--- a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
@@ -70,6 +70,12 @@
 &cp0_syscon0 {
 	cp0_pinctrl: pinctrl {
 		compatible = "marvell,armada-8k-cpm-pinctrl";
+
+		sdhci_pins: sdhi-pins {
+			marvell,pins = "mpp56", "mpp57", "mpp58",
+				       "mpp59", "mpp60", "mpp61", "mpp62";
+			marvell,function = "sdio";
+		};
 	};
 };

--
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656,
https://urldefense.proofpoint.com/v2/url?u=http-
3A__www.tkos.co.il&d=DwIBAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=-
N9sN4p5NSr0JGQoQ_2UCOgAqajG99W1EbSOww0WU8o&m=8Kz0ddezxxG41
9tiQOva_I9GUi6QZw9Pa6tRxYugqQw&s=Ky8dBlut-daLt2-
0j3BIwiBEBAVzKi8e9oJetRIzuPA&e=  -
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help