Skip to contentSkip to conversation

vf610-twr device updates

PATCH New Bill Pringlemeir 3 participants 6 messages Aug 5, 2014 – Aug 6, 2014 Device tree bindings

lore
Share & tools
lore
#0 lore raw

cover vf610-twr device updates

 arch/arm/boot/dts/vf610-twr.dts | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

[PATCH 1/2] ARM: dts: vf610-twr: Fix pinctrl_esdhc1 pin definitions. [PATCH 2/2] ARM: dts: vf610-twr: Add ttyLP2 device.

#1 lore raw

PATCH 1/2 ARM: dts: vf610-twr: Fix pinctrl_esdhc1 pin definitions.

Previous version had an extra 'fsl' which made the pins not match any entry. The console message,

 vf610-pinctrl 40048000.iomuxc: no fsl,pins property in node \
    /soc/aips-bus at 40000000/iomuxc at 40048000/vf610-twr/esdhc1grp

is displayed without the fix. The prior version would generally work as u-boot sets the pins properly for sdhc. This change allows Linux sdhc use even if u-boot is built without sdhc support.

---
 arch/arm/boot/dts/vf610-twr.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/vf610-twr.dts +1 -1
index 11d7334..b8a5e8c 100644
@@ -168,7 +168,7 @@
 		};
 
 		pinctrl_esdhc1: esdhc1grp {
-			fsl,fsl,pins = <
+			fsl,pins = <
 				VF610_PAD_PTA24__ESDHC1_CLK	0x31ef
 				VF610_PAD_PTA25__ESDHC1_CMD	0x31ef
 				VF610_PAD_PTA26__ESDHC1_DAT0	0x31ef
Signature · 1 line
1.8.0.2
#2 lore raw

PATCH 1/2 ARM: dts: vf610-twr: Fix pinctrl_esdhc1 pin definitions.

Quoted 2 lines · bpringlemeir at nbsps.com

Previous version had an extra 'fsl' which made the pins not match any entry. The console message,

All patches are based off 'for-next' (5424d6fd) in,

git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git

Thanks,
Bill Pringlemeir.

#3 lore raw

PATCH 2/2 ARM: dts: vf610-twr: Add ttyLP2 device.

In reply to Bill Pringlemeir

The ttyLP1 is already the default console/serial port. The tower board will route ttyLP2 to the same connectors depending on the JP23/24 settings.

See:
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-July/276457.html
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-July/275576.html

---
 arch/arm/boot/dts/vf610-twr.dts | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
arch/arm/boot/dts/vf610-twr.dts +13 -2
index b8a5e8c..58e988e 100644
@@ -221,8 +221,6 @@
 				VF610_PAD_PTB1__FTM0_CH1		0x1582
 				VF610_PAD_PTB2__FTM0_CH2		0x1582
 				VF610_PAD_PTB3__FTM0_CH3		0x1582
-				VF610_PAD_PTB6__FTM0_CH6		0x1582
-				VF610_PAD_PTB7__FTM0_CH7		0x1582
 			>;
 		};
 
@@ -244,6 +242,13 @@
 				VF610_PAD_PTB5__UART1_RX		0x21a1
 			>;
 		};
+
+		pinctrl_uart2: uart2grp {
+			fsl,pins = <
+				VF610_PAD_PTB6__UART2_TX		0x21a2
+				VF610_PAD_PTB7__UART2_RX		0x21a1
+			>;
+		};
 	};
 };
 
@@ -265,3 +270,9 @@
 	pinctrl-0 = <&pinctrl_uart1>;
 	status = "okay";
 };
+
+&uart2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart2>;
+	status = "okay";
+};
Signature · 1 line
1.8.0.2
#4 lore raw

cover vf610-twr device updates

In reply to Bill Pringlemeir

Am 2014-08-05 19:33, schrieb Bill Pringlemeir:

Quoted 7 lines

arch/arm/boot/dts/vf610-twr.dts | 17 ++++++++++++++---

 1 file changed, 14 insertions(+), 3 deletions(-)

[PATCH 1/2] ARM: dts: vf610-twr: Fix pinctrl_esdhc1 pin definitions. [PATCH 2/2] ARM: dts: vf610-twr: Add ttyLP2 device.

Both patches,

--
Stefan

Applied
#5 lore raw

cover vf610-twr device updates

In reply to Bill Pringlemeir
Quoted 5 lines · Bill Pringlemeir
 arch/arm/boot/dts/vf610-twr.dts | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

[PATCH 1/2] ARM: dts: vf610-twr: Fix pinctrl_esdhc1 pin definitions. [PATCH 2/2] ARM: dts: vf610-twr: Add ttyLP2 device.

Applied both, thanks.