spi-gpio.yaml (6f84981772535e670e4e2df051a672af229b6694) spi-gpio.yaml (99a7fa0e75a3a595a577fb5efa4b84a491f664a2)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/spi-gpio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: SPI-GPIO
8
9maintainers:
10 - Rob Herring <robh@kernel.org>
11
12description:
13 This represents a group of 3-n GPIO lines used for bit-banged SPI on
14 dedicated GPIO lines.
15
16allOf:
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/spi-gpio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: SPI-GPIO
8
9maintainers:
10 - Rob Herring <robh@kernel.org>
11
12description:
13 This represents a group of 3-n GPIO lines used for bit-banged SPI on
14 dedicated GPIO lines.
15
16allOf:
17 - $ref: "/schemas/spi/spi-controller.yaml#"
17 - $ref: /schemas/spi/spi-controller.yaml#
18
19properties:
20 compatible:
21 const: spi-gpio
22
23 sck-gpios:
24 description: GPIO spec for the SCK line to use
25 maxItems: 1

--- 10 unchanged lines hidden (view full) ---

36 description: GPIOs to use for chipselect lines.
37 Not needed if num-chipselects = <0>.
38 minItems: 1
39 maxItems: 1024
40
41 num-chipselects:
42 description: Number of chipselect lines. Should be <0> if a single device
43 with no chip select is connected.
18
19properties:
20 compatible:
21 const: spi-gpio
22
23 sck-gpios:
24 description: GPIO spec for the SCK line to use
25 maxItems: 1

--- 10 unchanged lines hidden (view full) ---

36 description: GPIOs to use for chipselect lines.
37 Not needed if num-chipselects = <0>.
38 minItems: 1
39 maxItems: 1024
40
41 num-chipselects:
42 description: Number of chipselect lines. Should be <0> if a single device
43 with no chip select is connected.
44 $ref: "/schemas/types.yaml#/definitions/uint32"
44 $ref: /schemas/types.yaml#/definitions/uint32
45
46 # Deprecated properties
47 gpio-sck: false
48 gpio-miso: false
49 gpio-mosi: false
50
51required:
52 - compatible

--- 22 unchanged lines hidden ---
45
46 # Deprecated properties
47 gpio-sck: false
48 gpio-miso: false
49 gpio-mosi: false
50
51required:
52 - compatible

--- 22 unchanged lines hidden ---