devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * [PATCH v3 02/27] serial: sh-sci: Add fallback compatibility strings
           [not found] <1450119456-964-1-git-send-email-geert+renesas@glider.be>
           [not found] ` <1450119456-964-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
    @ 2015-12-14 18:57 ` Geert Uytterhoeven
      2015-12-20  3:39   ` Rob Herring
      2015-12-14 18:57 ` [PATCH v3 03/27] serial: sh-sci: Update DT binding documentation for external clock input Geert Uytterhoeven
      2015-12-14 18:57 ` [PATCH v3 04/27] serial: sh-sci: Update DT binding documentation for BRG support Geert Uytterhoeven
      3 siblings, 1 reply; 8+ messages in thread
    From: Geert Uytterhoeven @ 2015-12-14 18:57 UTC (permalink / raw)
      To: Greg Kroah-Hartman, Simon Horman, Magnus Damm, Yoshinori Sato
      Cc: linux-serial, linux-sh, Geert Uytterhoeven, devicetree
    
    Add fallback compatibility strings for R-Car Gen1, Gen2, and Gen3.
    This is in keeping with the fallback scheme being adopted wherever
    appropriate for drivers for Renesas SoCs.
    
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Cc: devicetree@vger.kernel.org
    ---
    v3:
      - New.
    ---
     .../devicetree/bindings/serial/renesas,sci-serial.txt   | 17 +++++++++++++----
     1 file changed, 13 insertions(+), 4 deletions(-)
    
    diff --git a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
    index 2c9e6b8477e92792..7091213f02513cda 100644
    --- a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
    +++ b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
    @@ -2,7 +2,7 @@
     
     Required properties:
     
    -  - compatible: Must contain one of the following:
    +  - compatible: Must contain one or more of the following:
     
         - "renesas,scif-r7s72100" for R7S72100 (RZ/A1H) SCIF compatible UART.
         - "renesas,scifa-r8a73a4" for R8A73A4 (R-Mobile APE6) SCIFA compatible UART.
    @@ -27,6 +27,14 @@ Required properties:
         - "renesas,hscif-r8a7795" for R8A7795 (R-Car H3) HSCIF compatible UART.
         - "renesas,scifa-sh73a0" for SH73A0 (SH-Mobile AG5) SCIFA compatible UART.
         - "renesas,scifb-sh73a0" for SH73A0 (SH-Mobile AG5) SCIFB compatible UART.
    +    - "renesas,rcar-gen1-scif" for R-Car Gen1 SCIF compatible UART,
    +    - "renesas,rcar-gen2-scif" for R-Car Gen2 SCIF compatible UART,
    +    - "renesas,rcar-gen3-scif" for R-Car Gen3 SCIF compatible UART,
    +    - "renesas,rcar-gen2-scifa" for R-Car Gen2 SCIFA compatible UART,
    +    - "renesas,rcar-gen2-scifb" for R-Car Gen2 SCIFB compatible UART,
    +    - "renesas,rcar-gen1-hscif" for R-Car Gen1 HSCIF compatible UART,
    +    - "renesas,rcar-gen2-hscif" for R-Car Gen2 HSCIF compatible UART,
    +    - "renesas,rcar-gen3-hscif" for R-Car Gen3 HSCIF compatible UART,
         - "renesas,scif" for generic SCIF compatible UART.
         - "renesas,scifa" for generic SCIFA compatible UART.
         - "renesas,scifb" for generic SCIFB compatible UART.
    @@ -34,8 +42,8 @@ Required properties:
         - "renesas,sci" for generic SCI compatible UART.
     
         When compatible with the generic version, nodes must list the
    -    SoC-specific version corresponding to the platform first followed by the
    -    generic version.
    +    SoC-specific version corresponding to the platform first, followed by the
    +    family-specific and/or generic versions.
     
       - reg: Base address and length of the I/O registers used by the UART.
       - interrupts: Must contain an interrupt-specifier for the SCIx interrupt.
    @@ -58,7 +66,8 @@ Example:
     	};
     
     	scifa0: serial@e6c40000 {
    -		compatible = "renesas,scifa-r8a7790", "renesas,scifa";
    +		compatible = "renesas,scifa-r8a7790",
    +			     "renesas,rcar-gen2-scifa", "renesas,scifa";
     		reg = <0 0xe6c40000 0 64>;
     		interrupt-parent = <&gic>;
     		interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
    -- 
    1.9.1
    
    
    ^ permalink raw reply related	[flat|nested] 8+ messages in thread
  • * [PATCH v3 03/27] serial: sh-sci: Update DT binding documentation for external clock input
           [not found] <1450119456-964-1-git-send-email-geert+renesas@glider.be>
           [not found] ` <1450119456-964-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
      2015-12-14 18:57 ` [PATCH v3 02/27] serial: sh-sci: Add fallback compatibility strings Geert Uytterhoeven
    @ 2015-12-14 18:57 ` Geert Uytterhoeven
      2015-12-20  3:39   ` Rob Herring
      2015-12-14 18:57 ` [PATCH v3 04/27] serial: sh-sci: Update DT binding documentation for BRG support Geert Uytterhoeven
      3 siblings, 1 reply; 8+ messages in thread
    From: Geert Uytterhoeven @ 2015-12-14 18:57 UTC (permalink / raw)
      To: Greg Kroah-Hartman, Simon Horman, Magnus Damm, Yoshinori Sato
      Cc: linux-serial, linux-sh, Geert Uytterhoeven, devicetree
    
    Amend the DT bindings to include the optional external clock on
    (H)SCI(F) and some SCIFA, where this pin can serve as a clock input,
    depending on board wiring.
    
    Clarify the use of the divided functional clock as a source for the
    sampling clock.
    
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: devicetree@vger.kernel.org
    ---
    v3:
      - Add Acked-by,
      - Clarify the use of the divided functional clock.
    ---
     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 7091213f02513cda..31cc0631ef7ca22d 100644
    --- a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
    +++ b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
    @@ -51,6 +51,11 @@ Required properties:
       - clocks: Must contain a phandle and clock-specifier pair for each entry
         in clock-names.
       - clock-names: Must contain "fck" for the SCIx UART functional clock.
    +    Apart from the divided functional clock, there may be other possible
    +    sources for the sampling clock, depending on SCIx variant.
    +    On (H)SCI(F) and some SCIFA, an additional clock may be specified:
    +      - "hsck" for the optional external clock input (on HSCIF),
    +      - "sck" for the optional external clock input (on other variants).
     
     Note: Each enabled SCIx UART should have an alias correctly numbered in the
     "aliases" node.
    -- 
    1.9.1
    
    
    ^ permalink raw reply related	[flat|nested] 8+ messages in thread
  • * [PATCH v3 04/27] serial: sh-sci: Update DT binding documentation for BRG support
           [not found] <1450119456-964-1-git-send-email-geert+renesas@glider.be>
                       ` (2 preceding siblings ...)
      2015-12-14 18:57 ` [PATCH v3 03/27] serial: sh-sci: Update DT binding documentation for external clock input Geert Uytterhoeven
    @ 2015-12-14 18:57 ` Geert Uytterhoeven
      2015-12-20  3:39   ` Rob Herring
      3 siblings, 1 reply; 8+ messages in thread
    From: Geert Uytterhoeven @ 2015-12-14 18:57 UTC (permalink / raw)
      To: Greg Kroah-Hartman, Simon Horman, Magnus Damm, Yoshinori Sato
      Cc: linux-serial, linux-sh, Geert Uytterhoeven, devicetree
    
    Amend the DT bindings to include the optional clock sources for the Baud
    Rate Generator for External Clock (BRG), as found on some SCIF variants
    and on HSCIF.
    
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: devicetree@vger.kernel.org
    ---
    v3:
      - Add Acked-by,
      - Rename "int_clk" to "brg_int".
    ---
     Documentation/devicetree/bindings/serial/renesas,sci-serial.txt | 6 ++++++
     1 file changed, 6 insertions(+)
    
    diff --git a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
    index 31cc0631ef7ca22d..f4ad30ef1628f8da 100644
    --- a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
    +++ b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
    @@ -56,6 +56,12 @@ Required properties:
         On (H)SCI(F) and some SCIFA, an additional clock may be specified:
           - "hsck" for the optional external clock input (on HSCIF),
           - "sck" for the optional external clock input (on other variants).
    +    On UARTs equipped with a Baud Rate Generator for External Clock (BRG)
    +    (some SCIF and HSCIF), additional clocks may be specified:
    +      - "brg_int" for the optional internal clock source for the frequency
    +	divider (typically the (AXI or SHwy) bus clock),
    +      - "scif_clk" for the optional external clock source for the frequency
    +	divider (SCIF_CLK).
     
     Note: Each enabled SCIx UART should have an alias correctly numbered in the
     "aliases" node.
    -- 
    1.9.1
    
    
    ^ permalink raw reply related	[flat|nested] 8+ messages in thread

  • end of thread, other threads:[~2015-12-20  3:39 UTC | newest]
    
    Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1450119456-964-1-git-send-email-geert+renesas@glider.be>
         [not found] ` <1450119456-964-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
    2015-12-14 18:57   ` [PATCH v3 01/27] serial: sh-sci: Drop the interface clock Geert Uytterhoeven
    2015-12-14 18:57   ` [PATCH v3 20/27] serial: sh-sci: Correct SCIF type on R-Car for BRG Geert Uytterhoeven
    2015-12-14 18:57 ` [PATCH v3 02/27] serial: sh-sci: Add fallback compatibility strings Geert Uytterhoeven
    2015-12-20  3:39   ` Rob Herring
    2015-12-14 18:57 ` [PATCH v3 03/27] serial: sh-sci: Update DT binding documentation for external clock input Geert Uytterhoeven
    2015-12-20  3:39   ` Rob Herring
    2015-12-14 18:57 ` [PATCH v3 04/27] serial: sh-sci: Update DT binding documentation for BRG support Geert Uytterhoeven
    2015-12-20  3:39   ` 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).