* [PATCH v2 01/11] serial: sh-sci: Update DT binding documentation for GPIO modem lines
[not found] <1461934714-18681-1-git-send-email-geert+renesas@glider.be>
@ 2016-04-29 12:58 ` Geert Uytterhoeven
2016-04-29 12:58 ` [PATCH v2 02/11] serial: sh-sci: Update DT binding documentation for dedicated RTS/CTS Geert Uytterhoeven
1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2016-04-29 12:58 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Peter Hurley
Cc: Magnus Damm, Laurent Pinchart, Yoshinori Sato, linux-serial,
linux-renesas-soc, linux-sh, linux-kernel, Geert Uytterhoeven,
devicetree
Amend the DT bindings for the Renesas SCI driver to allow describing
optional GPIO-controlled modem lines, which can be used where dedicated
modem lines are not available.
The property naming is dictated by the Generic Serial DT Bindings.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org
---
v2:
- Add Acked-by,
- Drop RFC status,
- Refer to the Generic Serial DT Bindings,
- Drop out[12]-gpios.
---
Documentation/devicetree/bindings/serial/renesas,sci-serial.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
index 528c3b90f23cb04b..997baeaa869baa6f 100644
--- a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
+++ b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
@@ -76,6 +76,8 @@ Optional properties:
- dmas: Must contain a list of two references to DMA specifiers, one for
transmission, and one for reception.
- dma-names: Must contain a list of two DMA names, "tx" and "rx".
+ - {cts,dsr,dcd,rng,rts,dtr}-gpios: Specify GPIOs for modem lines, cfr. the
+ generic serial DT bindings in serial.txt.
Example:
aliases {
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 02/11] serial: sh-sci: Update DT binding documentation for dedicated RTS/CTS
[not found] <1461934714-18681-1-git-send-email-geert+renesas@glider.be>
2016-04-29 12:58 ` [PATCH v2 01/11] serial: sh-sci: Update DT binding documentation for GPIO modem lines Geert Uytterhoeven
@ 2016-04-29 12:58 ` Geert Uytterhoeven
2016-05-03 18:01 ` Rob Herring
1 sibling, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2016-04-29 12:58 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Peter Hurley
Cc: Magnus Damm, Laurent Pinchart, Yoshinori Sato, linux-serial,
linux-renesas-soc, linux-sh, linux-kernel, Geert Uytterhoeven,
devicetree
Some Renesas SCIF UARTs have dedicated lines for RTS/CTS hardware flow
control. Whether these lines exist depends on SoC and UART instance
inside the SoC. Whether these lines can be used for hardware flow
control depends on board wiring.
Amend the DT bindings with an optional property to indicate that RTS/CTS
hardware flow control lines exist, and can be used as such, according to
the Generic Serial DT Bindings.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: devicetree@vger.kernel.org
---
v2:
- Drop RFC status,
- Use "uart-has-rtscts" instead of "renesas,uart-has-rtscts",
- Refer to the Generic Serial DT Bindings.
---
Documentation/devicetree/bindings/serial/renesas,sci-serial.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
index 997baeaa869baa6f..7a0e15053db97481 100644
--- a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
+++ b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
@@ -78,6 +78,8 @@ Optional properties:
- dma-names: Must contain a list of two DMA names, "tx" and "rx".
- {cts,dsr,dcd,rng,rts,dtr}-gpios: Specify GPIOs for modem lines, cfr. the
generic serial DT bindings in serial.txt.
+ - uart-has-rtscts: Indicates dedicated lines for RTS/CTS hardware flow
+ control, cfr. the generic serial DT bindings in serial.txt.
Example:
aliases {
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread