devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: iio: imu: st,lsm6dsx: add mount-matrix property
@ 2023-10-12 14:20 Martin Kepplinger
  2023-10-13 15:19 ` Conor Dooley
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Kepplinger @ 2023-10-12 14:20 UTC (permalink / raw)
  To: lorenzo, jic23, lars, robh+dt, krzysztof.kozlowski+dt, conor+dt
  Cc: kernel, linux-iio, devicetree, linux-kernel, Martin Kepplinger

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@posteo.de>
---

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@posteo.de/


 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-14 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-12 14:20 [PATCH v2] dt-bindings: iio: imu: st,lsm6dsx: add mount-matrix property Martin Kepplinger
2023-10-13 15:19 ` Conor Dooley
2023-10-14 12:56   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).