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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/serial/sprd-uart.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/sprd-uart.yaml (Architecture ppc) and /Documentation/devicetree/bindings/serial/sprd-uart.yaml (Architecture mips)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 # Copyright 2019 Unisoc Inc.                        2 # Copyright 2019 Unisoc Inc.
  3 %YAML 1.2                                           3 %YAML 1.2
  4 ---                                                 4 ---
  5 $id: http://devicetree.org/schemas/serial/sprd      5 $id: http://devicetree.org/schemas/serial/sprd-uart.yaml#
  6 $schema: http://devicetree.org/meta-schemas/co      6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7                                                     7 
  8 title: Spreadtrum serial UART                       8 title: Spreadtrum serial UART
  9                                                     9 
 10 maintainers:                                       10 maintainers:
 11   - Orson Zhai <orsonzhai@gmail.com>                11   - Orson Zhai <orsonzhai@gmail.com>
 12   - Baolin Wang <baolin.wang7@gmail.com>            12   - Baolin Wang <baolin.wang7@gmail.com>
 13   - Chunyan Zhang <zhang.lyra@gmail.com>            13   - Chunyan Zhang <zhang.lyra@gmail.com>
 14                                                    14 
 15 properties:                                        15 properties:
 16   compatible:                                      16   compatible:
 17     oneOf:                                         17     oneOf:
 18       - items:                                     18       - items:
 19           - enum:                                  19           - enum:
 20               - sprd,sc9860-uart                   20               - sprd,sc9860-uart
 21               - sprd,sc9863a-uart                  21               - sprd,sc9863a-uart
 22               - sprd,ums512-uart                   22               - sprd,ums512-uart
 23               - sprd,ums9620-uart                  23               - sprd,ums9620-uart
 24           - const: sprd,sc9836-uart                24           - const: sprd,sc9836-uart
 25       - const: sprd,sc9836-uart                    25       - const: sprd,sc9836-uart
 26                                                    26 
 27   reg:                                             27   reg:
 28     maxItems: 1                                    28     maxItems: 1
 29                                                    29 
 30   interrupts:                                      30   interrupts:
 31     maxItems: 1                                    31     maxItems: 1
 32                                                    32 
 33   clocks:                                          33   clocks:
 34     minItems: 1                                    34     minItems: 1
 35     maxItems: 3                                    35     maxItems: 3
 36                                                    36 
 37   clock-names:                                     37   clock-names:
 38     description: |                                 38     description: |
 39       "enable" for UART module enable clock, "     39       "enable" for UART module enable clock, "uart" for UART clock, "source"
 40       for UART source (parent) clock.              40       for UART source (parent) clock.
 41     items:                                         41     items:
 42       - const: enable                              42       - const: enable
 43       - const: uart                                43       - const: uart
 44       - const: source                              44       - const: source
 45                                                    45 
 46   dmas:                                            46   dmas:
 47     minItems: 1                                    47     minItems: 1
 48     maxItems: 2                                    48     maxItems: 2
 49                                                    49 
 50   dma-names:                                       50   dma-names:
 51     minItems: 1                                    51     minItems: 1
 52     items:                                         52     items:
 53       - const: rx                                  53       - const: rx
 54       - const: tx                                  54       - const: tx
 55                                                    55 
 56 required:                                          56 required:
 57   - compatible                                     57   - compatible
 58   - reg                                            58   - reg
 59   - interrupts                                     59   - interrupts
 60                                                    60 
 61 additionalProperties: false                        61 additionalProperties: false
 62                                                    62 
 63 examples:                                          63 examples:
 64   - |                                              64   - |
 65     #include <dt-bindings/interrupt-controller     65     #include <dt-bindings/interrupt-controller/arm-gic.h>
 66     serial@0 {                                     66     serial@0 {
 67       compatible = "sprd,sc9860-uart", "sprd,s     67       compatible = "sprd,sc9860-uart", "sprd,sc9836-uart";
 68       reg = <0x0 0x100>;                           68       reg = <0x0 0x100>;
 69       interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_H     69       interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
 70       dma-names = "rx", "tx";                      70       dma-names = "rx", "tx";
 71       dmas = <&ap_dma 19>, <&ap_dma 20>;           71       dmas = <&ap_dma 19>, <&ap_dma 20>;
 72       clock-names = "enable", "uart", "source"     72       clock-names = "enable", "uart", "source";
 73       clocks = <&clk_ap_apb_gates 9>, <&clk_ua     73       clocks = <&clk_ap_apb_gates 9>, <&clk_uart0>, <&ext_26m>;
 74     };                                             74     };
 75                                                    75 
 76 ...                                                76 ...
                                                      

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