~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/serial/renesas,hscif.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/serial/renesas,hscif.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/serial/renesas,hscif.yaml (Version linux-6.2.16)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/serial/rene !!   4 $id: "http://devicetree.org/schemas/serial/renesas,hscif.yaml#"
  5 $schema: http://devicetree.org/meta-schemas/co !!   5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
  6                                                     6 
  7 title: Renesas High Speed Serial Communication      7 title: Renesas High Speed Serial Communication Interface with FIFO (HSCIF)
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Geert Uytterhoeven <geert+renesas@glider.be     10   - Geert Uytterhoeven <geert+renesas@glider.be>
 11                                                    11 
 12 allOf:                                             12 allOf:
 13   - $ref: serial.yaml#                             13   - $ref: serial.yaml#
 14                                                    14 
 15 properties:                                        15 properties:
 16   compatible:                                      16   compatible:
 17     oneOf:                                         17     oneOf:
 18       - items:                                     18       - items:
 19           - enum:                                  19           - enum:
 20               - renesas,hscif-r8a7778      # R     20               - renesas,hscif-r8a7778      # R-Car M1
 21               - renesas,hscif-r8a7779      # R     21               - renesas,hscif-r8a7779      # R-Car H1
 22           - const: renesas,rcar-gen1-hscif # R     22           - const: renesas,rcar-gen1-hscif # R-Car Gen1
 23           - const: renesas,hscif           # g     23           - const: renesas,hscif           # generic HSCIF compatible UART
 24                                                    24 
 25       - items:                                     25       - items:
 26           - enum:                                  26           - enum:
 27               - renesas,hscif-r8a7742      # R     27               - renesas,hscif-r8a7742      # RZ/G1H
 28               - renesas,hscif-r8a7743      # R     28               - renesas,hscif-r8a7743      # RZ/G1M
 29               - renesas,hscif-r8a7744      # R     29               - renesas,hscif-r8a7744      # RZ/G1N
 30               - renesas,hscif-r8a7745      # R     30               - renesas,hscif-r8a7745      # RZ/G1E
 31               - renesas,hscif-r8a77470     # R     31               - renesas,hscif-r8a77470     # RZ/G1C
 32               - renesas,hscif-r8a7790      # R     32               - renesas,hscif-r8a7790      # R-Car H2
 33               - renesas,hscif-r8a7791      # R     33               - renesas,hscif-r8a7791      # R-Car M2-W
 34               - renesas,hscif-r8a7792      # R     34               - renesas,hscif-r8a7792      # R-Car V2H
 35               - renesas,hscif-r8a7793      # R     35               - renesas,hscif-r8a7793      # R-Car M2-N
 36               - renesas,hscif-r8a7794      # R     36               - renesas,hscif-r8a7794      # R-Car E2
 37           - const: renesas,rcar-gen2-hscif # R     37           - const: renesas,rcar-gen2-hscif # R-Car Gen2 and RZ/G1
 38           - const: renesas,hscif           # g     38           - const: renesas,hscif           # generic HSCIF compatible UART
 39                                                    39 
 40       - items:                                     40       - items:
 41           - enum:                                  41           - enum:
 42               - renesas,hscif-r8a774a1     # R     42               - renesas,hscif-r8a774a1     # RZ/G2M
 43               - renesas,hscif-r8a774b1     # R     43               - renesas,hscif-r8a774b1     # RZ/G2N
 44               - renesas,hscif-r8a774c0     # R     44               - renesas,hscif-r8a774c0     # RZ/G2E
 45               - renesas,hscif-r8a774e1     # R     45               - renesas,hscif-r8a774e1     # RZ/G2H
 46               - renesas,hscif-r8a7795      # R     46               - renesas,hscif-r8a7795      # R-Car H3
 47               - renesas,hscif-r8a7796      # R     47               - renesas,hscif-r8a7796      # R-Car M3-W
 48               - renesas,hscif-r8a77961     # R     48               - renesas,hscif-r8a77961     # R-Car M3-W+
 49               - renesas,hscif-r8a77965     # R     49               - renesas,hscif-r8a77965     # R-Car M3-N
 50               - renesas,hscif-r8a77970     # R     50               - renesas,hscif-r8a77970     # R-Car V3M
 51               - renesas,hscif-r8a77980     # R     51               - renesas,hscif-r8a77980     # R-Car V3H
 52               - renesas,hscif-r8a77990     # R     52               - renesas,hscif-r8a77990     # R-Car E3
 53               - renesas,hscif-r8a77995     # R     53               - renesas,hscif-r8a77995     # R-Car D3
 54           - const: renesas,rcar-gen3-hscif # R     54           - const: renesas,rcar-gen3-hscif # R-Car Gen3 and RZ/G2
 55           - const: renesas,hscif           # g     55           - const: renesas,hscif           # generic HSCIF compatible UART
 56                                                    56 
 57       - items:                                     57       - items:
 58           - enum:                                  58           - enum:
 59               - renesas,hscif-r8a779a0     # R     59               - renesas,hscif-r8a779a0     # R-Car V3U
 60               - renesas,hscif-r8a779f0     # R     60               - renesas,hscif-r8a779f0     # R-Car S4-8
 61               - renesas,hscif-r8a779g0     # R     61               - renesas,hscif-r8a779g0     # R-Car V4H
 62               - renesas,hscif-r8a779h0     # R << 
 63           - const: renesas,rcar-gen4-hscif # R     62           - const: renesas,rcar-gen4-hscif # R-Car Gen4
 64           - const: renesas,hscif           # g     63           - const: renesas,hscif           # generic HSCIF compatible UART
 65                                                    64 
 66   reg:                                             65   reg:
 67     maxItems: 1                                    66     maxItems: 1
 68                                                    67 
 69   interrupts:                                      68   interrupts:
 70     maxItems: 1                                    69     maxItems: 1
 71                                                    70 
 72   clocks:                                          71   clocks:
 73     minItems: 1                                    72     minItems: 1
 74     maxItems: 4                                    73     maxItems: 4
 75                                                    74 
 76   clock-names:                                     75   clock-names:
 77     minItems: 1                                    76     minItems: 1
 78     maxItems: 4                                    77     maxItems: 4
 79     items:                                         78     items:
 80       enum:                                        79       enum:
 81         - fck # UART functional clock              80         - fck # UART functional clock
 82         - hsck # optional external clock input     81         - hsck # optional external clock input
 83         - brg_int # optional internal clock so     82         - brg_int # optional internal clock source for BRG frequency divider
 84         - scif_clk # optional external clock s     83         - scif_clk # optional external clock source for BRG frequency divider
 85                                                    84 
 86   power-domains:                                   85   power-domains:
 87     maxItems: 1                                    86     maxItems: 1
 88                                                    87 
 89   resets:                                          88   resets:
 90     maxItems: 1                                    89     maxItems: 1
 91                                                    90 
 92   dmas:                                            91   dmas:
 93     minItems: 2                                    92     minItems: 2
 94     maxItems: 4                                    93     maxItems: 4
 95     description:                                   94     description:
 96       Must contain a list of pairs of referenc     95       Must contain a list of pairs of references to DMA specifiers, one for
 97       transmission, and one for reception.         96       transmission, and one for reception.
 98                                                    97 
 99   dma-names:                                       98   dma-names:
100     minItems: 2                                    99     minItems: 2
101     maxItems: 4                                   100     maxItems: 4
102     items:                                        101     items:
103       enum:                                       102       enum:
104         - tx                                      103         - tx
105         - rx                                      104         - rx
106                                                   105 
107 required:                                         106 required:
108   - compatible                                    107   - compatible
109   - reg                                           108   - reg
110   - interrupts                                    109   - interrupts
111   - clocks                                        110   - clocks
112   - clock-names                                   111   - clock-names
113   - power-domains                                 112   - power-domains
114                                                   113 
                                                   >> 114 unevaluatedProperties: false
                                                   >> 115 
115 if:                                               116 if:
116   properties:                                     117   properties:
117     compatible:                                   118     compatible:
118       contains:                                   119       contains:
119         enum:                                     120         enum:
120           - renesas,rcar-gen2-hscif               121           - renesas,rcar-gen2-hscif
121           - renesas,rcar-gen3-hscif               122           - renesas,rcar-gen3-hscif
122           - renesas,rcar-gen4-hscif               123           - renesas,rcar-gen4-hscif
123 then:                                             124 then:
124   required:                                       125   required:
125     - resets                                      126     - resets
126                                                   127 
127 unevaluatedProperties: false                   << 
128                                                << 
129 examples:                                         128 examples:
130   - |                                             129   - |
131     #include <dt-bindings/clock/r8a7795-cpg-ms    130     #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
132     #include <dt-bindings/interrupt-controller    131     #include <dt-bindings/interrupt-controller/arm-gic.h>
133     #include <dt-bindings/power/r8a7795-sysc.h    132     #include <dt-bindings/power/r8a7795-sysc.h>
134     aliases {                                     133     aliases {
135         serial1 = &hscif1;                     !! 134             serial1 = &hscif1;
136     };                                            135     };
137                                                   136 
138     hscif1: serial@e6550000 {                     137     hscif1: serial@e6550000 {
139         compatible = "renesas,hscif-r8a7795",  !! 138             compatible = "renesas,hscif-r8a7795", "renesas,rcar-gen3-hscif",
140                      "renesas,hscif";          !! 139                          "renesas,hscif";
141         reg = <0xe6550000 96>;                 !! 140             reg = <0xe6550000 96>;
142         interrupts = <GIC_SPI 155 IRQ_TYPE_LEV !! 141             interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
143         clocks = <&cpg CPG_MOD 519>, <&cpg CPG !! 142             clocks = <&cpg CPG_MOD 519>, <&cpg CPG_CORE R8A7795_CLK_S3D1>,
144                  <&scif_clk>;                  !! 143                      <&scif_clk>;
145         clock-names = "fck", "brg_int", "scif_ !! 144             clock-names = "fck", "brg_int", "scif_clk";
146         dmas = <&dmac1 0x33>, <&dmac1 0x32>, < !! 145             dmas = <&dmac1 0x33>, <&dmac1 0x32>, <&dmac2 0x33>, <&dmac2 0x32>;
147         dma-names = "tx", "rx", "tx", "rx";    !! 146             dma-names = "tx", "rx", "tx", "rx";
148         power-domains = <&sysc R8A7795_PD_ALWA !! 147             power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
149         resets = <&cpg 519>;                   !! 148             resets = <&cpg 519>;
150         uart-has-rtscts;                       !! 149             uart-has-rtscts;
151     };                                            150     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php