[PATCH v2] dt-bindings: iio: imu: st,lsm6dsx: add mount-matrix property

From: Martin Kepplinger
Date: Thu Oct 12 2023 - 10:21:35 EST


Add the mount-matrix optional property to the binding since it's supported
and very useful when using the chip on a board.

Signed-off-by: Martin Kepplinger <martink@xxxxxxxxx>
---

revision history
----------------
v2: (thanks Jonathan)
* remove the addition to the example to avoid unrelated discussions :)

v1:
https://lore.kernel.org/linux-devicetree/20230721103410.575555-1-martink@xxxxxxxxx/


Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
index ee8724ad33ab..28b667a9cb76 100644
--- a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
@@ -93,6 +93,9 @@ properties:
wakeup-source:
$ref: /schemas/types.yaml#/definitions/flag

+ mount-matrix:
+ description: an optional 3x3 mounting rotation matrix
+
required:
- compatible
- reg
--
2.39.2