]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dt-bindings: iio: Use unevaluatedProperties for SPI devices
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 24 Mar 2025 12:53:13 +0000 (13:53 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:09:51 +0000 (19:09 +0100)
SPI devices should use unevaluatedProperties:false instead of
additionalProperties:false, to allow any SPI device properties listed in
spi-peripheral-props.yaml.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/20250324125313.82226-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/dac/adi,ad3552r.yaml
Documentation/devicetree/bindings/iio/dac/adi,ltc2664.yaml
Documentation/devicetree/bindings/iio/dac/adi,ltc2672.yaml
Documentation/devicetree/bindings/iio/dac/microchip,mcp4821.yaml
Documentation/devicetree/bindings/iio/dac/rohm,bd79703.yaml
Documentation/devicetree/bindings/iio/imu/adi,adis16550.yaml
Documentation/devicetree/bindings/iio/pressure/honeywell,hsc030pa.yaml
Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml

index 2d2561a526838db1a02be625b4a431dfc13e9f73..547044b8e246e928ef7b2feea611ef71ffaa8a0e 100644 (file)
@@ -217,7 +217,7 @@ required:
   - reg
   - spi-max-frequency
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
index 33490853497b85882a7b63c2cf14b3a3af2e6012..1aece3392b77a0cced35caf3711ad363d01870e8 100644 (file)
@@ -144,7 +144,7 @@ required:
 allOf:
   - $ref: /schemas/spi/spi-peripheral-props.yaml#
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
index c8c434c1064348ef94e21b57c9e90b934b8083b8..3c8e5781e42cfbc3934f04f8e257c1531ec2858d 100644 (file)
@@ -124,7 +124,7 @@ required:
 allOf:
   - $ref: /schemas/spi/spi-peripheral-props.yaml#
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
index 0dc577c339181da19b04b3e20af035467baaf1d1..26011b5639d877cf2f4c537677f66195d9f6d314 100644 (file)
@@ -64,7 +64,7 @@ required:
   - reg
   - vdd-supply
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
index 941a49c93943ed11372f7cc38c273d22588705db..188b00333dfb9907f4c95e972c32015fe5f169d0 100644 (file)
@@ -43,7 +43,7 @@ required:
 allOf:
   - $ref: /schemas/spi/spi-peripheral-props.yaml#
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
index a4c273c7a67ffe3126a8aa1a8150bc744f383c2f..cf5324de4fd663c7aa5297368ae46c12cfcbe85f 100644 (file)
@@ -53,7 +53,7 @@ required:
 allOf:
   - $ref: /schemas/spi/spi-peripheral-props.yaml#
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
index 89977b9f01cfe1ef4dade090793d7058143130e6..412c7bcc310ff38d312124794280e1c8ca336bb1 100644 (file)
@@ -102,7 +102,7 @@ required:
 allOf:
   - $ref: /schemas/spi/spi-peripheral-props.yaml
 
-additionalProperties: false
+unevaluatedProperties: false
 
 dependentSchemas:
   honeywell,pmin-pascal:
index 6994b30015bdb69ac8e8d8cc847f93593bd029da..c756aa8631035cb4da1e2433f2394b1f333d2ffb 100644 (file)
@@ -115,7 +115,7 @@ allOf:
         honeywell,pmin-pascal: false
         honeywell,pmax-pascal: false
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |