dt-bindings: iio: add missing reset-gpios constrain
The Documentation/devicetree/bindings/gpio/gpio-consumer-common.yaml schema does not enforce number of reset GPIOs, thus each device binding must do it. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20231005083650.92222-1-krzysztof.kozlowski@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
ffd1f150ff
commit
7b695ef669
|
@ -32,7 +32,8 @@ properties:
|
||||||
|
|
||||||
spi-cpol: true
|
spi-cpol: true
|
||||||
|
|
||||||
reset-gpios: true
|
reset-gpios:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
minItems: 1
|
minItems: 1
|
||||||
|
|
|
@ -78,7 +78,8 @@ properties:
|
||||||
- const: -1000
|
- const: -1000
|
||||||
- const: 22000
|
- const: 22000
|
||||||
|
|
||||||
reset-gpios: true
|
reset-gpios:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
adi,dc-dc-ilim-microamp:
|
adi,dc-dc-ilim-microamp:
|
||||||
enum: [150000, 200000, 250000, 300000, 350000, 400000]
|
enum: [150000, 200000, 250000, 300000, 350000, 400000]
|
||||||
|
|
|
@ -23,7 +23,8 @@ properties:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
description: Connected to ADC_RDY pin.
|
description: Connected to ADC_RDY pin.
|
||||||
|
|
||||||
reset-gpios: true
|
reset-gpios:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
|
|
|
@ -23,7 +23,8 @@ properties:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
description: Connected to ADC_RDY pin.
|
description: Connected to ADC_RDY pin.
|
||||||
|
|
||||||
reset-gpios: true
|
reset-gpios:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue