diff mbox series

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

Message ID 20231012142041.253332-1-martink@posteo.de (mailing list archive)
State Accepted
Headers show
Series [v2] dt-bindings: iio: imu: st,lsm6dsx: add mount-matrix property | expand

Commit Message

Martin Kepplinger-Novakovic Oct. 12, 2023, 2:20 p.m. UTC
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(+)

Comments

Conor Dooley Oct. 13, 2023, 3:19 p.m. UTC | #1
On Thu, Oct 12, 2023 at 02:20:41PM +0000, Martin Kepplinger wrote:
> 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>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Cnor.

> ---
> 
> 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
>
Jonathan Cameron Oct. 14, 2023, 12:56 p.m. UTC | #2
On Fri, 13 Oct 2023 16:19:54 +0100
Conor Dooley <conor@kernel.org> wrote:

> On Thu, Oct 12, 2023 at 02:20:41PM +0000, Martin Kepplinger wrote:
> > 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>  
> 
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> 
> Thanks,
> Cnor.
> 
> > ---
> > 
> > revision history
> > ----------------
> > v2: (thanks Jonathan)
> > * remove the addition to the example to avoid unrelated discussions :)
:)

Applied

> > 
> > 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
> >
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 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