linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] KingFisher: fix SCIF1, add HSCIF1
@ 2023-05-25  8:48 Wolfram Sang
  2023-05-25  8:48 ` [PATCH v2 1/2] arm64: dts: renesas: ulcb-kf: remove flow control for SCIF1 Wolfram Sang
  2023-05-25  8:48 ` [PATCH v2 2/2] arm64: dts: renesas: ulcb-kf: add HSCIF1 node Wolfram Sang
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfram Sang @ 2023-05-25  8:48 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: Wolfram Sang

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(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 1/2] arm64: dts: renesas: ulcb-kf: remove flow control for SCIF1
  2023-05-25  8:48 [PATCH v2 0/2] KingFisher: fix SCIF1, add HSCIF1 Wolfram Sang
@ 2023-05-25  8:48 ` Wolfram Sang
  2023-05-30  9:11   ` Geert Uytterhoeven
  2023-05-25  8:48 ` [PATCH v2 2/2] arm64: dts: renesas: ulcb-kf: add HSCIF1 node Wolfram Sang
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2023-05-25  8:48 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: Wolfram Sang, Geert Uytterhoeven

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")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index ff3a9ab6e6b0..4c6d50acfab1 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -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";
 };
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v2 2/2] arm64: dts: renesas: ulcb-kf: add HSCIF1 node
  2023-05-25  8:48 [PATCH v2 0/2] KingFisher: fix SCIF1, add HSCIF1 Wolfram Sang
  2023-05-25  8:48 ` [PATCH v2 1/2] arm64: dts: renesas: ulcb-kf: remove flow control for SCIF1 Wolfram Sang
@ 2023-05-25  8:48 ` Wolfram Sang
  2023-05-30  9:12   ` Geert Uytterhoeven
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2023-05-25  8:48 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: Wolfram Sang, Geert Uytterhoeven

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

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 4c6d50acfab1..e62f5359f64b 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -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";
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/2] arm64: dts: renesas: ulcb-kf: remove flow control for SCIF1
  2023-05-25  8:48 ` [PATCH v2 1/2] arm64: dts: renesas: ulcb-kf: remove flow control for SCIF1 Wolfram Sang
@ 2023-05-30  9:11   ` Geert Uytterhoeven
  0 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2023-05-30  9:11 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linux-renesas-soc

On Thu, May 25, 2023 at 10:48 AM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> 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")
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 2/2] arm64: dts: renesas: ulcb-kf: add HSCIF1 node
  2023-05-25  8:48 ` [PATCH v2 2/2] arm64: dts: renesas: ulcb-kf: add HSCIF1 node Wolfram Sang
@ 2023-05-30  9:12   ` Geert Uytterhoeven
  0 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2023-05-30  9:12 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linux-renesas-soc

On Thu, May 25, 2023 at 10:48 AM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Exposed on CN4. Tested by connecting it to a Renesas Ebisu board.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-30  9:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25  8:48 [PATCH v2 0/2] KingFisher: fix SCIF1, add HSCIF1 Wolfram Sang
2023-05-25  8:48 ` [PATCH v2 1/2] arm64: dts: renesas: ulcb-kf: remove flow control for SCIF1 Wolfram Sang
2023-05-30  9:11   ` Geert Uytterhoeven
2023-05-25  8:48 ` [PATCH v2 2/2] arm64: dts: renesas: ulcb-kf: add HSCIF1 node Wolfram Sang
2023-05-30  9:12   ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).