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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/serial/renesas,scifa.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,scifa.yaml (Architecture i386) and /Documentation/devicetree/bindings/serial/renesas,scifa.yaml (Architecture sparc)


  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,scifa.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Renesas Serial Communications Interface      7 title: Renesas Serial Communications Interface with FIFO A (SCIFA)
  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,scifa-r8a73a4      # R     20               - renesas,scifa-r8a73a4      # R-Mobile APE6
 21               - renesas,scifa-r8a7740      # R     21               - renesas,scifa-r8a7740      # R-Mobile A1
 22               - renesas,scifa-sh73a0       # S     22               - renesas,scifa-sh73a0       # SH-Mobile AG5
 23           - const: renesas,scifa           # g     23           - const: renesas,scifa           # generic SCIFA compatible UART
 24                                                    24 
 25       - items:                                     25       - items:
 26           - enum:                                  26           - enum:
 27               - renesas,scifa-r8a7742      # R     27               - renesas,scifa-r8a7742      # RZ/G1H
 28               - renesas,scifa-r8a7743      # R     28               - renesas,scifa-r8a7743      # RZ/G1M
 29               - renesas,scifa-r8a7744      # R     29               - renesas,scifa-r8a7744      # RZ/G1N
 30               - renesas,scifa-r8a7745      # R     30               - renesas,scifa-r8a7745      # RZ/G1E
 31               - renesas,scifa-r8a7790      # R     31               - renesas,scifa-r8a7790      # R-Car H2
 32               - renesas,scifa-r8a7791      # R     32               - renesas,scifa-r8a7791      # R-Car M2-W
 33               - renesas,scifa-r8a7793      # R     33               - renesas,scifa-r8a7793      # R-Car M2-N
 34               - renesas,scifa-r8a7794      # R     34               - renesas,scifa-r8a7794      # R-Car E2
 35           - const: renesas,rcar-gen2-scifa # R     35           - const: renesas,rcar-gen2-scifa # R-Car Gen2 and RZ/G1
 36           - const: renesas,scifa           # g     36           - const: renesas,scifa           # generic SCIFA compatible UART
 37                                                    37 
 38   reg:                                             38   reg:
 39     maxItems: 1                                    39     maxItems: 1
 40                                                    40 
 41   interrupts:                                      41   interrupts:
 42     maxItems: 1                                    42     maxItems: 1
 43                                                    43 
 44   clocks:                                          44   clocks:
 45     maxItems: 1                                    45     maxItems: 1
 46                                                    46 
 47   clock-names:                                     47   clock-names:
 48     enum:                                          48     enum:
 49       - fck # UART functional clock                49       - fck # UART functional clock
 50                                                    50 
 51   power-domains:                                   51   power-domains:
 52     maxItems: 1                                    52     maxItems: 1
 53                                                    53 
 54   resets:                                          54   resets:
 55     maxItems: 1                                    55     maxItems: 1
 56                                                    56 
 57   dmas:                                            57   dmas:
 58     minItems: 2                                    58     minItems: 2
 59     maxItems: 4                                    59     maxItems: 4
 60     description:                                   60     description:
 61       Must contain a list of pairs of referenc     61       Must contain a list of pairs of references to DMA specifiers, one for
 62       transmission, and one for reception.         62       transmission, and one for reception.
 63                                                    63 
 64   dma-names:                                       64   dma-names:
 65     minItems: 2                                    65     minItems: 2
 66     maxItems: 4                                    66     maxItems: 4
 67     items:                                         67     items:
 68       enum:                                        68       enum:
 69         - tx                                       69         - tx
 70         - rx                                       70         - rx
 71                                                    71 
 72 required:                                          72 required:
 73   - compatible                                     73   - compatible
 74   - reg                                            74   - reg
 75   - interrupts                                     75   - interrupts
 76   - clocks                                         76   - clocks
 77   - clock-names                                    77   - clock-names
 78   - power-domains                                  78   - power-domains
 79                                                    79 
 80 if:                                                80 if:
 81   properties:                                      81   properties:
 82     compatible:                                    82     compatible:
 83       contains:                                    83       contains:
 84         enum:                                      84         enum:
 85           - renesas,rcar-gen2-scifa                85           - renesas,rcar-gen2-scifa
 86 then:                                              86 then:
 87   required:                                        87   required:
 88     - resets                                       88     - resets
 89                                                    89 
 90 unevaluatedProperties: false                       90 unevaluatedProperties: false
 91                                                    91 
 92 examples:                                          92 examples:
 93   - |                                              93   - |
 94     #include <dt-bindings/clock/r8a7790-cpg-ms     94     #include <dt-bindings/clock/r8a7790-cpg-mssr.h>
 95     #include <dt-bindings/interrupt-controller     95     #include <dt-bindings/interrupt-controller/arm-gic.h>
 96     #include <dt-bindings/power/r8a7790-sysc.h     96     #include <dt-bindings/power/r8a7790-sysc.h>
 97     aliases {                                      97     aliases {
 98         serial0 = &scifa0;                         98         serial0 = &scifa0;
 99     };                                             99     };
100                                                   100 
101     scifa0: serial@e6c40000 {                     101     scifa0: serial@e6c40000 {
102         compatible = "renesas,scifa-r8a7790",     102         compatible = "renesas,scifa-r8a7790", "renesas,rcar-gen2-scifa",
103                      "renesas,scifa";             103                      "renesas,scifa";
104         reg = <0xe6c40000 64>;                    104         reg = <0xe6c40000 64>;
105         interrupts = <GIC_SPI 144 IRQ_TYPE_LEV    105         interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
106         clocks = <&cpg CPG_MOD 204>;              106         clocks = <&cpg CPG_MOD 204>;
107         clock-names = "fck";                      107         clock-names = "fck";
108         power-domains = <&sysc R8A7790_PD_ALWA    108         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
109         resets = <&cpg 204>;                      109         resets = <&cpg 204>;
110         dmas = <&dmac0 0x21>, <&dmac0 0x22>, <    110         dmas = <&dmac0 0x21>, <&dmac0 0x22>, <&dmac1 0x21>, <&dmac1 0x22>;
111         dma-names = "tx", "rx", "tx", "rx";       111         dma-names = "tx", "rx", "tx", "rx";
112     };                                            112     };
                                                      

~ [ 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