Skip to contentSkip to conversation

KingFisher: fix SCIF1, add HSCIF1

PATCH In review Wolfram Sang 2 participants 5 messages May 25, 2023 – May 30, 2023

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

v2 cover KingFisher: fix SCIF1, add HSCIF1

Changes since v1:
* split into two patches
* added Geert's tags (thanks!)

Wolfram Sang (2):
arm64: dts: renesas: ulcb-kf: remove flow control for SCIF1
arm64: dts: renesas: ulcb-kf: add HSCIF1 node

 arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
Signature · 1 line
2.30.2
#1 lore raw

PATCH v2 1/2 arm64: dts: renesas: ulcb-kf: remove flow control for SCIF1

The schematics are misleading, the flow control is for HSCIF1. We need SCIF1 for GNSS/GPS which does not use flow control.

Fixes c6c816e22bc8 ("arm64: dts: ulcb-kf: enable SCIF1")
---
 arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +1 -2
index ff3a9ab6e6b0..4c6d50acfab1 100644
@@ -388,7 +388,7 @@ hscif0_pins: hscif0 {
 	};
 
 	scif1_pins: scif1 {
-		groups = "scif1_data_b", "scif1_ctrl";
+		groups = "scif1_data_b";
 		function = "scif1";
 	};
 
@@ -418,7 +418,6 @@ &sound_clk_pins
 &scif1 {
 	pinctrl-0 = <&scif1_pins>;
 	pinctrl-names = "default";
-	uart-has-rtscts;
 
 	status = "okay";
 };
Signature · 1 line
2.30.2
#2 lore raw

Re: [PATCH v2 1/2] arm64: dts: renesas: ulcb-kf: remove flow control for SCIF1

Quoted 6 lines · Wolfram Sang

The schematics are misleading, the flow control is for HSCIF1. We need SCIF1 for GNSS/GPS which does not use flow control.

Fixes c6c816e22bc8 ("arm64: dts: ulcb-kf: enable SCIF1")

Thanks, will queue in renesas-devel for v6.5.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
#3 lore raw

PATCH v2 2/2 arm64: dts: renesas: ulcb-kf: add HSCIF1 node

In reply to Wolfram Sang

Exposed on CN4. Tested by connecting it to a Renesas Ebisu board.

---
 arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +14 -0
index 4c6d50acfab1..e62f5359f64b 100644
@@ -10,6 +10,7 @@ / {
 	aliases {
 		serial1 = &hscif0;
 		serial2 = &scif1;
+		serial3 = &hscif1;
 		mmc2 = &sdhi3;
 	};
 
@@ -132,6 +133,14 @@ &hscif0 {
 	status = "okay";
 };
 
+&hscif1 {
+	pinctrl-0 = <&hscif1_pins>;
+	pinctrl-names = "default";
+	uart-has-rtscts;
+
+	status = "okay";
+};
+
 &hsusb {
 	dr_mode = "otg";
 	status = "okay";
@@ -387,6 +396,11 @@ hscif0_pins: hscif0 {
 		function = "hscif0";
 	};
 
+	hscif1_pins: hscif1 {
+		groups = "hscif1_data_a", "hscif1_ctrl_a";
+		function = "hscif1";
+	};
+
 	scif1_pins: scif1 {
 		groups = "scif1_data_b";
 		function = "scif1";
Signature · 1 line
2.30.2
#4 lore raw

Re: [PATCH v2 2/2] arm64: dts: renesas: ulcb-kf: add HSCIF1 node

Quoted 4 lines · Wolfram Sang

Exposed on CN4. Tested by connecting it to a Renesas Ebisu board.

Thanks, will queue in renesas-devel for v6.5.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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