Skip to contentSkip to conversation

arm64: dts: draak: Add serial console pins

PATCH New Geert Uytterhoeven 3 participants 4 messages Aug 28, 2017 – Sep 19, 2017

Subsystems (2)
lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: draak: Add serial console pins

Add pin control for SCIF2.

---
To be applied after v4.14-rc1, when commit 794a6711764658a1 ("pinctrl:
sh-pfc: Initial R8A77995 PFC support") has hit mainline.

Else the serial console will fail, reporting (on earlycon):

sh-sci e6e88000.serial: could not find pctldev for node /soc/pin-controller at e6060000/scif2, deferring probe

---
 arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/renesas/r8a77995-draak.dts +11 -0
index d144370051d559fc..19c5462d8b678bde 100644
@@ -36,7 +36,18 @@
 	clock-frequency = <48000000>;
 };
 
+&pfc {
+	scif2_pins: scif2 {
+		groups = "scif2_data";
+		function = "scif2";
+	};
+
+};
+
 &scif2 {
+	pinctrl-0 = <&scif2_pins>;
+	pinctrl-names = "default";
+
 	status = "okay";
 };
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 arm64: dts: draak: Add serial console pins

Quoted 10 lines · Geert Uytterhoeven

Add pin control for SCIF2.

---
To be applied after v4.14-rc1, when commit 794a6711764658a1 ("pinctrl:
sh-pfc: Initial R8A77995 PFC support") has hit mainline.

Else the serial console will fail, reporting (on earlycon):

sh-sci e6e88000.serial: could not find pctldev for node /soc/pin-controller at e6060000/scif2, deferring probe

Thanks, please ping me once that has happened. In the meantime I have marked this patch as deferred.

#2 lore raw

PATCH 1/1 arm64: dts: draak: Add serial console pins

Quoted 8 lines · Simon Horman
Quoted 7 lines · Geert Uytterhoeven

Add pin control for SCIF2.

---
To be applied after v4.14-rc1, when commit 794a6711764658a1 ("pinctrl:
sh-pfc: Initial R8A77995 PFC support") has hit mainline.

Quoted 6 lines
Quoted 3 lines

Else the serial console will fail, reporting (on earlycon):

sh-sci e6e88000.serial: could not find pctldev for node /soc/pin-controller at e6060000/scif2, deferring probe

Thanks, please ping me once that has happened. In the meantime I have marked this patch as deferred.

Ping...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

Applied
#3 lore raw

PATCH 1/1 arm64: dts: draak: Add serial console pins

Quoted 9 lines · Geert Uytterhoeven
Quoted 8 lines · Simon Horman
Quoted 7 lines · Geert Uytterhoeven

Add pin control for SCIF2.

---
To be applied after v4.14-rc1, when commit 794a6711764658a1 ("pinctrl:
sh-pfc: Initial R8A77995 PFC support") has hit mainline.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Else the serial console will fail, reporting (on earlycon):

sh-sci e6e88000.serial: could not find pctldev for node /soc/pin-controller at e6060000/scif2, deferring probe

Thanks, please ping me once that has happened. In the meantime I have marked this patch as deferred.

Ping...

Thanks, applied.