* [PATCH 0/3] ARM/arm64: dts: renesas: Describe RTS/CTS hardware flow control
@ 2016-05-04 8:57 Geert Uytterhoeven
2016-05-04 8:57 ` [PATCH 1/3] ARM: dts: bockw: SCIF0 supports " Geert Uytterhoeven
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2016-05-04 8:57 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: linux-renesas-soc, linux-arm-kernel, devicetree, Geert Uytterhoeven
Hi Simon, Magnus,
This patch series updates the various Renesas DTSes to describe that
some UARTS have dedicated lines for RTS/CTS hardware flow control, and
that they are available for use (wired and enabled by pinmux
configuration), by adding the "uart-has-rtscts" property to
board-specific DTS files where appropriate.
While the actual DT binding updates documenting the "uart-has-rtscts"
property for SCIF(A) UARTs ("serial: sh-sci: Update DT binding
documentation for dedicated RTS/CTS") hasn't been accepted into tty-next
yet, this property is part of the Generic Serial DT Bindings
(Documentation/devicetree/bindings/serial/serial.txt), which has been
accepted.
Actual enablement of RTS/CTS hardware flow control (through setting the
CRTSCTS termios flag from userspace) depends on series "[PATCH v2 00/11]
serial: sh-sci: Hardware Flow Control Updates"
(http://www.spinics.net/lists/linux-serial/msg22535.html).
Note that setting the CRTSCTS flag for a serial port that is being used
as the kernel console is a bad idea ;-) You'll have better luck with
UARTs on expansion connectors, cfr. the topic/renesas-overlays branch of
https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git
Thanks!
Geert Uytterhoeven (3):
ARM: dts: bockw: SCIF0 supports RTS/CTS hardware flow control
ARM: dts: kzm9g: SCIFA4 supports RTS/CTS hardware flow control
arm64: dts: salvator-x: SCIF1 supports RTS/CTS hardware flow control
arch/arm/boot/dts/r8a7778-bockw.dts | 1 +
arch/arm/boot/dts/sh73a0-kzm9g.dts | 1 +
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 +
3 files changed, 3 insertions(+)
--
1.9.1
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] 6+ messages in thread
* [PATCH 1/3] ARM: dts: bockw: SCIF0 supports RTS/CTS hardware flow control
2016-05-04 8:57 [PATCH 0/3] ARM/arm64: dts: renesas: Describe RTS/CTS hardware flow control Geert Uytterhoeven
@ 2016-05-04 8:57 ` Geert Uytterhoeven
2016-05-04 8:57 ` [PATCH 2/3] ARM: dts: kzm9g: SCIFA4 " Geert Uytterhoeven
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2016-05-04 8:57 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: linux-renesas-soc, linux-arm-kernel, devicetree, Geert Uytterhoeven
On the BOCK-W development board, the RTS and CTS pins of the console
SCIF0 are wired to the "product serial" connector. Reflect this in the
DTS by adding the "uart-has-rtscts" property to the scif0 device node.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/r8a7778-bockw.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts
index e0dab14646488c6b..982a237ea6222a59 100644
--- a/arch/arm/boot/dts/r8a7778-bockw.dts
+++ b/arch/arm/boot/dts/r8a7778-bockw.dts
@@ -223,6 +223,7 @@
pinctrl-0 = <&scif0_pins>;
pinctrl-names = "default";
+ uart-has-rtscts;
status = "okay";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] ARM: dts: kzm9g: SCIFA4 supports RTS/CTS hardware flow control
2016-05-04 8:57 [PATCH 0/3] ARM/arm64: dts: renesas: Describe RTS/CTS hardware flow control Geert Uytterhoeven
2016-05-04 8:57 ` [PATCH 1/3] ARM: dts: bockw: SCIF0 supports " Geert Uytterhoeven
@ 2016-05-04 8:57 ` Geert Uytterhoeven
2016-05-04 8:57 ` [PATCH 3/3] arm64: dts: salvator-x: SCIF1 " Geert Uytterhoeven
2016-05-05 23:49 ` Simon Horman
3 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2016-05-04 8:57 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: linux-renesas-soc, linux-arm-kernel, devicetree, Geert Uytterhoeven
On the KZM-A9-GT development board, the RTS and CTS pins of the debug
console SCIFA4 are wired to the CP2102 Serial-USB bridge. Reflect
this in the DTS by adding the "uart-has-rtscts" property to the scifa4
device node.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/sh73a0-kzm9g.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts
index e6b2ef3785c7542a..b393b1f5bee24574 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts
@@ -378,6 +378,7 @@
pinctrl-0 = <&scifa4_pins>;
pinctrl-names = "default";
+ uart-has-rtscts;
status = "okay";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] arm64: dts: salvator-x: SCIF1 supports RTS/CTS hardware flow control
2016-05-04 8:57 [PATCH 0/3] ARM/arm64: dts: renesas: Describe RTS/CTS hardware flow control Geert Uytterhoeven
2016-05-04 8:57 ` [PATCH 1/3] ARM: dts: bockw: SCIF0 supports " Geert Uytterhoeven
2016-05-04 8:57 ` [PATCH 2/3] ARM: dts: kzm9g: SCIFA4 " Geert Uytterhoeven
@ 2016-05-04 8:57 ` Geert Uytterhoeven
2016-05-05 23:49 ` Simon Horman
3 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2016-05-04 8:57 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: linux-renesas-soc, linux-arm-kernel, devicetree, Geert Uytterhoeven
On the Salvator-X development board, the RTS and CTS pins of debug
serial-1 port SCIF1 are wired to the CP2102 Serial-USB bridge. Reflect
this in the DTS by adding the "uart-has-rtscts" property to the scif1
device node.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index 5232aad07062198b..c09ead3a29fb72cf 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -369,6 +369,7 @@
pinctrl-0 = <&scif1_pins>;
pinctrl-names = "default";
+ uart-has-rtscts;
status = "okay";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 0/3] ARM/arm64: dts: renesas: Describe RTS/CTS hardware flow control
2016-05-04 8:57 [PATCH 0/3] ARM/arm64: dts: renesas: Describe RTS/CTS hardware flow control Geert Uytterhoeven
@ 2016-05-05 23:49 ` Simon Horman
2016-05-04 8:57 ` [PATCH 2/3] ARM: dts: kzm9g: SCIFA4 " Geert Uytterhoeven
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2016-05-05 23:49 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Magnus Damm, linux-renesas-soc, linux-arm-kernel, devicetree
Hi Geert,
On Wed, May 04, 2016 at 10:57:55AM +0200, Geert Uytterhoeven wrote:
> Hi Simon, Magnus,
>
> This patch series updates the various Renesas DTSes to describe that
> some UARTS have dedicated lines for RTS/CTS hardware flow control, and
> that they are available for use (wired and enabled by pinmux
> configuration), by adding the "uart-has-rtscts" property to
> board-specific DTS files where appropriate.
>
> While the actual DT binding updates documenting the "uart-has-rtscts"
> property for SCIF(A) UARTs ("serial: sh-sci: Update DT binding
> documentation for dedicated RTS/CTS") hasn't been accepted into tty-next
> yet, this property is part of the Generic Serial DT Bindings
> (Documentation/devicetree/bindings/serial/serial.txt), which has been
> accepted.
On the basis of the binding being present in the generic documentation
I have queued up these patches. If that was not your intention please
let me know.
> Actual enablement of RTS/CTS hardware flow control (through setting the
> CRTSCTS termios flag from userspace) depends on series "[PATCH v2 00/11]
> serial: sh-sci: Hardware Flow Control Updates"
> (http://www.spinics.net/lists/linux-serial/msg22535.html).
> Note that setting the CRTSCTS flag for a serial port that is being used
> as the kernel console is a bad idea ;-) You'll have better luck with
> UARTs on expansion connectors, cfr. the topic/renesas-overlays branch of
> https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git
>
> Thanks!
>
> Geert Uytterhoeven (3):
> ARM: dts: bockw: SCIF0 supports RTS/CTS hardware flow control
> ARM: dts: kzm9g: SCIFA4 supports RTS/CTS hardware flow control
> arm64: dts: salvator-x: SCIF1 supports RTS/CTS hardware flow control
>
> arch/arm/boot/dts/r8a7778-bockw.dts | 1 +
> arch/arm/boot/dts/sh73a0-kzm9g.dts | 1 +
> arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 +
> 3 files changed, 3 insertions(+)
>
> --
> 1.9.1
>
> 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] 6+ messages in thread
* [PATCH 0/3] ARM/arm64: dts: renesas: Describe RTS/CTS hardware flow control
@ 2016-05-05 23:49 ` Simon Horman
0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2016-05-05 23:49 UTC (permalink / raw)
To: linux-arm-kernel
Hi Geert,
On Wed, May 04, 2016 at 10:57:55AM +0200, Geert Uytterhoeven wrote:
> Hi Simon, Magnus,
>
> This patch series updates the various Renesas DTSes to describe that
> some UARTS have dedicated lines for RTS/CTS hardware flow control, and
> that they are available for use (wired and enabled by pinmux
> configuration), by adding the "uart-has-rtscts" property to
> board-specific DTS files where appropriate.
>
> While the actual DT binding updates documenting the "uart-has-rtscts"
> property for SCIF(A) UARTs ("serial: sh-sci: Update DT binding
> documentation for dedicated RTS/CTS") hasn't been accepted into tty-next
> yet, this property is part of the Generic Serial DT Bindings
> (Documentation/devicetree/bindings/serial/serial.txt), which has been
> accepted.
On the basis of the binding being present in the generic documentation
I have queued up these patches. If that was not your intention please
let me know.
> Actual enablement of RTS/CTS hardware flow control (through setting the
> CRTSCTS termios flag from userspace) depends on series "[PATCH v2 00/11]
> serial: sh-sci: Hardware Flow Control Updates"
> (http://www.spinics.net/lists/linux-serial/msg22535.html).
> Note that setting the CRTSCTS flag for a serial port that is being used
> as the kernel console is a bad idea ;-) You'll have better luck with
> UARTs on expansion connectors, cfr. the topic/renesas-overlays branch of
> https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git
>
> Thanks!
>
> Geert Uytterhoeven (3):
> ARM: dts: bockw: SCIF0 supports RTS/CTS hardware flow control
> ARM: dts: kzm9g: SCIFA4 supports RTS/CTS hardware flow control
> arm64: dts: salvator-x: SCIF1 supports RTS/CTS hardware flow control
>
> arch/arm/boot/dts/r8a7778-bockw.dts | 1 +
> arch/arm/boot/dts/sh73a0-kzm9g.dts | 1 +
> arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 +
> 3 files changed, 3 insertions(+)
>
> --
> 1.9.1
>
> 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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-05-05 23:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-04 8:57 [PATCH 0/3] ARM/arm64: dts: renesas: Describe RTS/CTS hardware flow control Geert Uytterhoeven
2016-05-04 8:57 ` [PATCH 1/3] ARM: dts: bockw: SCIF0 supports " Geert Uytterhoeven
2016-05-04 8:57 ` [PATCH 2/3] ARM: dts: kzm9g: SCIFA4 " Geert Uytterhoeven
2016-05-04 8:57 ` [PATCH 3/3] arm64: dts: salvator-x: SCIF1 " Geert Uytterhoeven
2016-05-05 23:49 ` [PATCH 0/3] ARM/arm64: dts: renesas: Describe " Simon Horman
2016-05-05 23:49 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.