dt-bindings: iio: dac: use spi-peripheral-props.yaml
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 16 Aug 2022 12:43:15 +0000 (15:43 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 19 Aug 2022 18:34:16 +0000 (19:34 +0100)
commit25d0469946c3b528c34ef517dd57f6d4b5595e99
tree3907dee54b6e26d3ff09cf530e171b7bdca00740
parent1deca207e1544a1683e300cd6c3a71e46c7b58ef
dt-bindings: iio: dac: 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: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220816124321.67817-5-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
18 files changed:
Documentation/devicetree/bindings/iio/dac/adi,ad5064.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5360.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5380.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5421.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5449.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5624r.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5755.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5761.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5764.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml
Documentation/devicetree/bindings/iio/dac/adi,ad8801.yaml
Documentation/devicetree/bindings/iio/dac/microchip,mcp4922.yaml
Documentation/devicetree/bindings/iio/dac/ti,dac082s085.yaml
Documentation/devicetree/bindings/iio/dac/ti,dac7311.yaml
Documentation/devicetree/bindings/iio/dac/ti,dac7612.yaml