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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.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/spi/spi-sunplus-sp7021.yaml (Architecture i386) and /Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml (Architecture alpha)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 # Copyright (C) Sunplus Co., Ltd. 2021              2 # Copyright (C) Sunplus Co., Ltd. 2021
  3 %YAML 1.2                                           3 %YAML 1.2
  4 ---                                                 4 ---
  5 $id: http://devicetree.org/schemas/spi/spi-sun      5 $id: http://devicetree.org/schemas/spi/spi-sunplus-sp7021.yaml#
  6 $schema: http://devicetree.org/meta-schemas/co      6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7                                                     7 
  8 title: Sunplus sp7021 SPI controller                8 title: Sunplus sp7021 SPI controller
  9                                                     9 
 10 allOf:                                             10 allOf:
 11   - $ref: spi-controller.yaml                      11   - $ref: spi-controller.yaml
 12                                                    12 
 13 maintainers:                                       13 maintainers:
 14   - Li-hao Kuo <lhjeff911@gmail.com>                14   - Li-hao Kuo <lhjeff911@gmail.com>
 15                                                    15 
 16 properties:                                        16 properties:
 17   compatible:                                      17   compatible:
 18     enum:                                          18     enum:
 19       - sunplus,sp7021-spi                         19       - sunplus,sp7021-spi
 20                                                    20 
 21   reg:                                             21   reg:
 22     items:                                         22     items:
 23       - description: the SPI master registers      23       - description: the SPI master registers
 24       - description: the SPI slave registers       24       - description: the SPI slave registers
 25                                                    25 
 26   reg-names:                                       26   reg-names:
 27     items:                                         27     items:
 28       - const: master                              28       - const: master
 29       - const: slave                               29       - const: slave
 30                                                    30 
 31   interrupt-names:                                 31   interrupt-names:
 32     items:                                         32     items:
 33       - const: dma_w                               33       - const: dma_w
 34       - const: master_risc                         34       - const: master_risc
 35       - const: slave_risc                          35       - const: slave_risc
 36                                                    36 
 37   interrupts:                                      37   interrupts:
 38     minItems: 3                                    38     minItems: 3
 39                                                    39 
 40   clocks:                                          40   clocks:
 41     maxItems: 1                                    41     maxItems: 1
 42                                                    42 
 43   resets:                                          43   resets:
 44     maxItems: 1                                    44     maxItems: 1
 45                                                    45 
 46 required:                                          46 required:
 47   - compatible                                     47   - compatible
 48   - reg                                            48   - reg
 49   - reg-names                                      49   - reg-names
 50   - interrupts                                     50   - interrupts
 51   - interrupt-names                                51   - interrupt-names
 52   - clocks                                         52   - clocks
 53   - resets                                         53   - resets
 54   - pinctrl-names                                  54   - pinctrl-names
 55   - pinctrl-0                                      55   - pinctrl-0
 56                                                    56 
 57 unevaluatedProperties: false                       57 unevaluatedProperties: false
 58                                                    58 
 59 examples:                                          59 examples:
 60   - |                                              60   - |
 61     #include <dt-bindings/interrupt-controller     61     #include <dt-bindings/interrupt-controller/irq.h>
 62     spi@9c002d80 {                                 62     spi@9c002d80 {
 63         compatible = "sunplus,sp7021-spi";         63         compatible = "sunplus,sp7021-spi";
 64         reg = <0x9c002d80 0x80>, <0x9c002e00 0     64         reg = <0x9c002d80 0x80>, <0x9c002e00 0x80>;
 65         reg-names = "master", "slave";             65         reg-names = "master", "slave";
 66         interrupt-parent = <&intc>;                66         interrupt-parent = <&intc>;
 67         interrupt-names = "dma_w",                 67         interrupt-names = "dma_w",
 68                           "master_risc",           68                           "master_risc",
 69                           "slave_risc";            69                           "slave_risc";
 70         interrupts = <144 IRQ_TYPE_LEVEL_HIGH>     70         interrupts = <144 IRQ_TYPE_LEVEL_HIGH>,
 71                      <146 IRQ_TYPE_LEVEL_HIGH>     71                      <146 IRQ_TYPE_LEVEL_HIGH>,
 72                      <145 IRQ_TYPE_LEVEL_HIGH>     72                      <145 IRQ_TYPE_LEVEL_HIGH>;
 73         clocks = <&clkc 0x32>;                     73         clocks = <&clkc 0x32>;
 74         resets = <&rstc 0x22>;                     74         resets = <&rstc 0x22>;
 75         pinctrl-names = "default";                 75         pinctrl-names = "default";
 76         pinctrl-0 = <&pins_spi0>;                  76         pinctrl-0 = <&pins_spi0>;
 77     };                                             77     };
 78 ...                                                78 ...
                                                      

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