diff mbox series

[2/2] Documentation: dt: iio: st_lsm6dsx: add disable-shub property

Message ID c03385c4f862f04406dc4b5f15379c0be921c98a.1636552075.git.lorenzo@kernel.org
State Changes Requested, archived
Headers show
Series add the capability to disable st_lsm6dsx sensor-hub | expand

Checks

Context Check Description
robh/checkpatch warning total: 0 errors, 1 warnings, 10 lines checked
robh/dt-meta-schema success
robh/dtbs-check fail build log
robh/checkpatch warning total: 0 errors, 1 warnings, 10 lines checked
robh/dt-meta-schema success
robh/dtbs-check fail build log

Commit Message

Lorenzo Bianconi Nov. 10, 2021, 2:42 p.m. UTC
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Jonathan Cameron Nov. 12, 2021, 4:28 p.m. UTC | #1
On Wed, 10 Nov 2021 15:42:33 +0100
Lorenzo Bianconi <lorenzo@kernel.org> wrote:

A bit more description here would be good.

Also suggestion from patch 1 carries through to maybe spell
out sensor-hub in the property name?

> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> ---
>  Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
> index d9b3213318fb..502438f14e19 100644
> --- a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
> @@ -61,6 +61,10 @@ properties:
>      type: boolean
>      description: enable/disable internal i2c controller pullup resistors.
>  
> +  st,disable-shub:
> +    type: boolean
> +    description: enable/disable internal i2c controller.
> +
>    drive-open-drain:
>      type: boolean
>      description:
Lorenzo Bianconi Nov. 12, 2021, 5:50 p.m. UTC | #2
> On Wed, 10 Nov 2021 15:42:33 +0100
> Lorenzo Bianconi <lorenzo@kernel.org> wrote:
> 
> A bit more description here would be good.
> 
> Also suggestion from patch 1 carries through to maybe spell
> out sensor-hub in the property name?

ack, fine to me. I will fix it.

Regards,
Lorenzo

> 
> > Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> > ---
> >  Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
> > index d9b3213318fb..502438f14e19 100644
> > --- a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
> > +++ b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
> > @@ -61,6 +61,10 @@ properties:
> >      type: boolean
> >      description: enable/disable internal i2c controller pullup resistors.
> >  
> > +  st,disable-shub:
> > +    type: boolean
> > +    description: enable/disable internal i2c controller.
> > +
> >    drive-open-drain:
> >      type: boolean
> >      description:
>
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 d9b3213318fb..502438f14e19 100644
--- a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
@@ -61,6 +61,10 @@  properties:
     type: boolean
     description: enable/disable internal i2c controller pullup resistors.
 
+  st,disable-shub:
+    type: boolean
+    description: enable/disable internal i2c controller.
+
   drive-open-drain:
     type: boolean
     description: