aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio
diff options
context:
space:
mode:
authorGravatar Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 2022-10-04 13:56:40 +0200
committerGravatar Jonathan Cameron <Jonathan.Cameron@huawei.com> 2022-11-23 19:43:59 +0000
commit87748b25c65a0fda5f605b7cf07cf9b79b257308 (patch)
tree72069f1829e4c7da3b876b868d530ceb48a28160 /Documentation/devicetree/bindings/iio
parentdt-bindings: iio: imu: adi,adis16475: use spi-peripheral-props.yaml (diff)
downloadlinux-87748b25c65a0fda5f605b7cf07cf9b79b257308.tar.gz
linux-87748b25c65a0fda5f605b7cf07cf9b79b257308.tar.bz2
linux-87748b25c65a0fda5f605b7cf07cf9b79b257308.zip
dt-bindings: iio: pressure: use spi-peripheral-props.yaml
For devices connectable by SPI bus (e.g. already using "spi-max-frequency" property), reference the "spi-peripheral-props.yaml" schema to allow using all SPI device properties, even these which device bindings author did not tried yet. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20221004115642.63749-6-krzysztof.kozlowski@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r--Documentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml5
-rw-r--r--Documentation/devicetree/bindings/iio/pressure/murata,zpa2326.yaml5
2 files changed, 8 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml b/Documentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml
index 4f06707450bf..7fed750fa3ff 100644
--- a/Documentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml
+++ b/Documentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml
@@ -30,7 +30,10 @@ required:
- compatible
- reg
-additionalProperties: false
+allOf:
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
examples:
- |
diff --git a/Documentation/devicetree/bindings/iio/pressure/murata,zpa2326.yaml b/Documentation/devicetree/bindings/iio/pressure/murata,zpa2326.yaml
index d6103be03460..c33640ddde58 100644
--- a/Documentation/devicetree/bindings/iio/pressure/murata,zpa2326.yaml
+++ b/Documentation/devicetree/bindings/iio/pressure/murata,zpa2326.yaml
@@ -33,7 +33,10 @@ required:
- compatible
- reg
-additionalProperties: false
+allOf:
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
examples:
- |