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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/spi/spi-gpio.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-gpio.yaml (Architecture mips) and /Documentation/devicetree/bindings/spi/spi-gpio.yaml (Architecture sparc64)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/spi/spi-gpi      4 $id: http://devicetree.org/schemas/spi/spi-gpio.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: SPI-GPIO                                     7 title: SPI-GPIO
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Rob Herring <robh@kernel.org>                   10   - Rob Herring <robh@kernel.org>
 11                                                    11 
 12 description:                                       12 description:
 13   This represents a group of 3-n GPIO lines us     13   This represents a group of 3-n GPIO lines used for bit-banged SPI on
 14   dedicated GPIO lines.                            14   dedicated GPIO lines.
 15                                                    15 
 16 allOf:                                             16 allOf:
 17   - $ref: /schemas/spi/spi-controller.yaml#        17   - $ref: /schemas/spi/spi-controller.yaml#
 18                                                    18 
 19 properties:                                        19 properties:
 20   compatible:                                      20   compatible:
 21     const: spi-gpio                                21     const: spi-gpio
 22                                                    22 
 23   sck-gpios:                                       23   sck-gpios:
 24     description: GPIO spec for the SCK line to     24     description: GPIO spec for the SCK line to use
 25     maxItems: 1                                    25     maxItems: 1
 26                                                    26 
 27   miso-gpios:                                      27   miso-gpios:
 28     description: GPIO spec for the MISO line t     28     description: GPIO spec for the MISO line to use
 29     maxItems: 1                                    29     maxItems: 1
 30                                                    30 
 31   mosi-gpios:                                      31   mosi-gpios:
 32     description: GPIO spec for the MOSI line t     32     description: GPIO spec for the MOSI line to use
 33     maxItems: 1                                    33     maxItems: 1
 34                                                    34 
 35   cs-gpios:                                        35   cs-gpios:
 36     description: GPIOs to use for chipselect l     36     description: GPIOs to use for chipselect lines.
 37       Not needed if num-chipselects = <0>.         37       Not needed if num-chipselects = <0>.
 38     minItems: 1                                    38     minItems: 1
 39     maxItems: 1024                                 39     maxItems: 1024
 40                                                    40 
 41   num-chipselects:                                 41   num-chipselects:
 42     description: Number of chipselect lines. S     42     description: Number of chipselect lines. Should be <0> if a single device
 43       with no chip select is connected.            43       with no chip select is connected.
 44     $ref: /schemas/types.yaml#/definitions/uin     44     $ref: /schemas/types.yaml#/definitions/uint32
 45                                                    45 
 46   # Deprecated properties                          46   # Deprecated properties
 47   gpio-sck: false                                  47   gpio-sck: false
 48   gpio-miso: false                                 48   gpio-miso: false
 49   gpio-mosi: false                                 49   gpio-mosi: false
 50                                                    50 
 51 required:                                          51 required:
 52   - compatible                                     52   - compatible
 53   - num-chipselects                                53   - num-chipselects
 54   - sck-gpios                                      54   - sck-gpios
 55                                                    55 
 56 unevaluatedProperties: false                       56 unevaluatedProperties: false
 57                                                    57 
 58 examples:                                          58 examples:
 59   - |                                              59   - |
 60     spi {                                          60     spi {
 61       compatible = "spi-gpio";                     61       compatible = "spi-gpio";
 62       #address-cells = <0x1>;                      62       #address-cells = <0x1>;
 63       #size-cells = <0x0>;                         63       #size-cells = <0x0>;
 64                                                    64 
 65       sck-gpios = <&gpio 95 0>;                    65       sck-gpios = <&gpio 95 0>;
 66       miso-gpios = <&gpio 98 0>;                   66       miso-gpios = <&gpio 98 0>;
 67       mosi-gpios = <&gpio 97 0>;                   67       mosi-gpios = <&gpio 97 0>;
 68       cs-gpios = <&gpio 125 0>;                    68       cs-gpios = <&gpio 125 0>;
 69       num-chipselects = <1>;                       69       num-chipselects = <1>;
 70                                                    70 
 71       /* clients */                                71       /* clients */
 72     };                                             72     };
 73                                                    73 
 74 ...                                                74 ...
                                                      

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