diff mbox series

[v2,2/2] Documentation: dt: iio: st_lsm6dsx: add disable-sensor-hub property

Message ID 54287a93922ac839501b776d288cc368aa81f0ab.1636816719.git.lorenzo@kernel.org (mailing list archive)
State Accepted
Headers show
Series add the capability to disable st_lsm6dsx sensor-hub | expand

Commit Message

Lorenzo Bianconi Nov. 13, 2021, 3:23 p.m. UTC
Enable/disable internal i2c controller slave autoprobing at bootstrap.
Disable sensor-hub is useful if i2c controller clock/data lines are
connected through a pull-up with other chip lines (e.g. SDO/SA0).

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Rob Herring Nov. 29, 2021, 9:26 p.m. UTC | #1
On Sat, 13 Nov 2021 16:23:15 +0100, Lorenzo Bianconi wrote:
> Enable/disable internal i2c controller slave autoprobing at bootstrap.
> Disable sensor-hub is useful if i2c controller clock/data lines are
> connected through a pull-up with other chip lines (e.g. SDO/SA0).
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> ---
>  Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 7 +++++++
>  1 file changed, 7 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Jonathan Cameron Dec. 4, 2021, 3:12 p.m. UTC | #2
On Mon, 29 Nov 2021 15:26:17 -0600
Rob Herring <robh@kernel.org> wrote:

> On Sat, 13 Nov 2021 16:23:15 +0100, Lorenzo Bianconi wrote:
> > Enable/disable internal i2c controller slave autoprobing at bootstrap.
> > Disable sensor-hub is useful if i2c controller clock/data lines are
> > connected through a pull-up with other chip lines (e.g. SDO/SA0).
> > 
> > Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> > ---
> >  Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 7 +++++++
> >  1 file changed, 7 insertions(+)
> >   
> 
> Reviewed-by: Rob Herring <robh@kernel.org>

Series applied to the togreg branch of iio.git

Thanks,

Jonathan
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..0750f700a143 100644
--- a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
@@ -61,6 +61,13 @@  properties:
     type: boolean
     description: enable/disable internal i2c controller pullup resistors.
 
+  st,disable-sensor-hub:
+    type: boolean
+    description:
+      Enable/disable internal i2c controller slave autoprobing at bootstrap.
+      Disable sensor-hub is useful if i2c controller clock/data lines are
+      connected through a pull-up with other chip lines (e.g. SDO/SA0).
+
   drive-open-drain:
     type: boolean
     description: