dt-bindings: iio: adc: use spi-peripheral-props.yaml
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 16 Aug 2022 12:43:12 +0000 (15:43 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 19 Aug 2022 18:34:16 +0000 (19:34 +0100)
commit801373884560e707883adb2aa7ef9bf2293bf88a
tree6143b684fe708b11023bd1c89817c5b7a5635134
parent59d1c811c1dd9ab3bd2d216d1453eb0e4cacd52c
dt-bindings: iio: adc: use spi-peripheral-props.yaml

Instead of listing directly properties typical for SPI peripherals,
reference the spi-peripheral-props.yaml schema.  This allows using all
properties typical for SPI-connected devices, even these which device
bindings author did not tried yet.

Remove the spi-* properties which now come via spi-peripheral-props.yaml
schema, except for the cases when device schema adds some constraints
like maximum frequency.

While changing additionalProperties->unevaluatedProperties, put it in
typical place, just before example DTS.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220816124321.67817-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
30 files changed:
Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
Documentation/devicetree/bindings/iio/adc/adi,ad7280a.yaml
Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
Documentation/devicetree/bindings/iio/adc/adi,ad7298.yaml
Documentation/devicetree/bindings/iio/adc/adi,ad7476.yaml
Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
Documentation/devicetree/bindings/iio/adc/adi,ad7768-1.yaml
Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
Documentation/devicetree/bindings/iio/adc/adi,ad7949.yaml
Documentation/devicetree/bindings/iio/adc/holt,hi8435.yaml
Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml
Documentation/devicetree/bindings/iio/adc/maxim,max1027.yaml
Documentation/devicetree/bindings/iio/adc/maxim,max11100.yaml
Documentation/devicetree/bindings/iio/adc/maxim,max1118.yaml
Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
Documentation/devicetree/bindings/iio/adc/microchip,mcp3201.yaml
Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml
Documentation/devicetree/bindings/iio/adc/ti,adc0832.yaml
Documentation/devicetree/bindings/iio/adc/ti,adc084s021.yaml
Documentation/devicetree/bindings/iio/adc/ti,adc108s102.yaml
Documentation/devicetree/bindings/iio/adc/ti,adc12138.yaml
Documentation/devicetree/bindings/iio/adc/ti,adc128s052.yaml
Documentation/devicetree/bindings/iio/adc/ti,adc161s626.yaml
Documentation/devicetree/bindings/iio/adc/ti,ads124s08.yaml
Documentation/devicetree/bindings/iio/adc/ti,ads131e08.yaml
Documentation/devicetree/bindings/iio/adc/ti,ads8344.yaml
Documentation/devicetree/bindings/iio/adc/ti,ads8688.yaml
Documentation/devicetree/bindings/iio/adc/ti,tlc4541.yaml
Documentation/devicetree/bindings/iio/adc/ti,tsc2046.yaml