devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * [PATCH/RFC 2/5] serial: sh-sci: Update DT binding documentation for dedicated RTS/CTS
           [not found] <1458222449-12324-1-git-send-email-geert+renesas@glider.be>
           [not found] ` <1458222449-12324-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
    @ 2016-03-17 13:47 ` Geert Uytterhoeven
      2016-03-20  0:10   ` Rob Herring
      1 sibling, 1 reply; 6+ messages in thread
    From: Geert Uytterhoeven @ 2016-03-17 13:47 UTC (permalink / raw)
      To: Greg Kroah-Hartman, Jiri Slaby, Peter Hurley, Magnus Damm
      Cc: Laurent Pinchart, Yoshinori Sato, linux-serial, linux-renesas-soc,
    	linux-sh, 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.
    
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Cc: devicetree@vger.kernel.org
    ---
    This has been mimicked after the "fsl,uart-has-rtscts" and
    "sirf,uart-has-rtscts" properties.
    
    However, as this is fairly generic, perhaps it should just be named
    "uart-has-rtscts" instead?
    ---
     Documentation/devicetree/bindings/serial/renesas,sci-serial.txt | 5 +++++
     1 file changed, 5 insertions(+)
    
    diff --git a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
    index f8d7b36742967163..8de177c187536c68 100644
    --- a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
    +++ b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
    @@ -79,6 +79,11 @@ Optional properties:
       - {cts,dsr,dcd,rng,rts,dtr,out1,out2}-gpios: Must contain a GPIO specifier,
         referring to the GPIO pin to be used as the UART's CTS, DSR, DCD, RNG, RTS,
         DTR, OUT1, or OUT2 line.
    +  - renesas,uart-has-rtscts: The presence of this property indicates that the
    +    UART has dedicated lines for RTS/CTS hardware flow control, and that
    +    they are available for use (wired and enabled by pinmux configuration).
    +    Note that this property is mutually-exclusive with "cts-gpios" and
    +    "rts-gpios" above.
     
     Example:
     	aliases {
    -- 
    1.9.1
    
    
    ^ permalink raw reply related	[flat|nested] 6+ messages in thread

  • end of thread, other threads:[~2016-03-20  0:10 UTC | newest]
    
    Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1458222449-12324-1-git-send-email-geert+renesas@glider.be>
         [not found] ` <1458222449-12324-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
    2016-03-17 13:47   ` [PATCH/RFC 1/5] serial: sh-sci: Update DT binding documentation for GPIO modem lines Geert Uytterhoeven
    2016-03-17 22:43     ` Simon Horman
    2016-03-18 15:18       ` Geert Uytterhoeven
         [not found]     ` <1458222449-12324-2-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
    2016-03-20  0:04       ` Rob Herring
    2016-03-17 13:47 ` [PATCH/RFC 2/5] serial: sh-sci: Update DT binding documentation for dedicated RTS/CTS Geert Uytterhoeven
    2016-03-20  0:10   ` Rob Herring
    

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