diff mbox series

[v2,1/2] dt-bindings: iio: imu: add icm20602 bindings to mpu6050

Message ID 20190128185010.8275-1-gaireg@gaireg.de (mailing list archive)
State New, archived
Headers show
Series [v2,1/2] dt-bindings: iio: imu: add icm20602 bindings to mpu6050 | expand

Commit Message

Randolph Maaßen Jan. 28, 2019, 6:50 p.m. UTC
Adding the invensense ICM-20602 to the compatible list of the mpu6050
driver

Signed-off-by: Randolph Maaßen <gaireg@gaireg.de>

---
Changes in v2:
- write i2c disable register using reg_set instead of define
- decide to write to i2c disable register based on reg_set instead of
  chip type
---
 Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt | 1 +
 1 file changed, 1 insertion(+)

Comments

Rob Herring Jan. 30, 2019, 7:49 p.m. UTC | #1
On Mon, 28 Jan 2019 19:50:02 +0100, =?UTF-8?q?Randolph=20Maa=C3=9Fen?= wrote:
> Adding the invensense ICM-20602 to the compatible list of the mpu6050
> driver
> 
> Signed-off-by: Randolph Maaßen <gaireg@gaireg.de>
> 
> ---
> Changes in v2:
> - write i2c disable register using reg_set instead of define
> - decide to write to i2c disable register based on reg_set instead of
>   chip type
> ---
>  Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Jonathan Cameron Feb. 2, 2019, 9:52 a.m. UTC | #2
On Wed, 30 Jan 2019 13:49:42 -0600
Rob Herring <robh@kernel.org> wrote:

> On Mon, 28 Jan 2019 19:50:02 +0100, =?UTF-8?q?Randolph=20Maa=C3=9Fen?= wrote:
> > Adding the invensense ICM-20602 to the compatible list of the mpu6050
> > driver
> > 
> > Signed-off-by: Randolph Maaßen <gaireg@gaireg.de>
> > 
> > ---
> > Changes in v2:
> > - write i2c disable register using reg_set instead of define
> > - decide to write to i2c disable register based on reg_set instead of
> >   chip type
> > ---
> >  Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt | 1 +
> >  1 file changed, 1 insertion(+)
> >   
> 
> Reviewed-by: Rob Herring <robh@kernel.org>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to play with it.

Thanks,

Jonathan
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt b/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
index 6ab9a9d196b0..268bf7568e19 100644
--- a/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
+++ b/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
@@ -11,6 +11,7 @@  Required properties:
 		"invensense,mpu9250"
 		"invensense,mpu9255"
 		"invensense,icm20608"
+		"invensense,icm20602"
  - reg : the I2C address of the sensor
  - interrupts: interrupt mapping for IRQ. It should be configured with flags
    IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or