diff mbox series

[v1,7/7] dt-bindings: iio: st,st-sensors: Add LSM9DS0 compatible string

Message ID 20210414195454.84183-7-andriy.shevchenko@linux.intel.com
State New
Headers show
Series [v1,1/7] iio: accel: st_accel: Move platform data from header to C file | expand

Commit Message

Andy Shevchenko April 14, 2021, 7:54 p.m. UTC
Enumerate LSM9DS0 (accelerometer and magnetometer parts) via
'st,lsm9ds0-imu' compatible string.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 Documentation/devicetree/bindings/iio/st,st-sensors.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring (Arm) April 20, 2021, 7:55 p.m. UTC | #1
On Wed, 14 Apr 2021 22:54:54 +0300, Andy Shevchenko wrote:
> Enumerate LSM9DS0 (accelerometer and magnetometer parts) via

> 'st,lsm9ds0-imu' compatible string.

> 

> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

> ---

>  Documentation/devicetree/bindings/iio/st,st-sensors.yaml | 2 ++

>  1 file changed, 2 insertions(+)

> 


Acked-by: Rob Herring <robh@kernel.org>
Jonathan Cameron May 3, 2021, 12:09 p.m. UTC | #2
On Wed, 14 Apr 2021 22:54:54 +0300
Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:

> Enumerate LSM9DS0 (accelerometer and magnetometer parts) via

> 'st,lsm9ds0-imu' compatible string.

> 

> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

This one crossed with a cleanup set from Linus so I've adjusted it to match
the new style of that file.

Series applied to togreg branch of iio.git and pushed out as testing for
the autobuilders to see if we missed anything.

Thanks,

Jonathan

> ---

>  Documentation/devicetree/bindings/iio/st,st-sensors.yaml | 2 ++

>  1 file changed, 2 insertions(+)

> 

> diff --git a/Documentation/devicetree/bindings/iio/st,st-sensors.yaml b/Documentation/devicetree/bindings/iio/st,st-sensors.yaml

> index db291a9390b7..43d29a7d46f1 100644

> --- a/Documentation/devicetree/bindings/iio/st,st-sensors.yaml

> +++ b/Documentation/devicetree/bindings/iio/st,st-sensors.yaml

> @@ -74,6 +74,8 @@ properties:

>        - st,lps33hw

>        - st,lps35hw

>        - st,lps22hh

> +        # IMU

> +      - st,lsm9ds0-imu

>  

>    reg:

>      maxItems: 1
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/st,st-sensors.yaml b/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
index db291a9390b7..43d29a7d46f1 100644
--- a/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
+++ b/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
@@ -74,6 +74,8 @@  properties:
       - st,lps33hw
       - st,lps35hw
       - st,lps22hh
+        # IMU
+      - st,lsm9ds0-imu
 
   reg:
     maxItems: 1