diff mbox series

[1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix

Message ID 20230507173923.263741-1-krzysztof.kozlowski@linaro.org
State Accepted
Commit 787eb0c0cb7b504dd3e9822e1a90f6d351c39b93
Headers show
Series [1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix | expand

Commit Message

Krzysztof Kozlowski May 7, 2023, 5:39 p.m. UTC
Reference iio.yaml schema from dtschema to allow already used
mount-matrix property:

  msm8953-xiaomi-daisy.dtb: imu@6a: Unevaluated properties are not allowed ('mount-matrix' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
index b39f5217d8ff..ee8724ad33ab 100644
--- a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
@@ -98,6 +98,7 @@  required:
   - reg
 
 allOf:
+  - $ref: /schemas/iio/iio.yaml#
   - $ref: /schemas/spi/spi-peripheral-props.yaml#
 
 unevaluatedProperties: false