Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: imu: mpu6050: Improve i2c-gate disallow list

Before all supported sensors except for MPU{9150,9250,9255} were not
allowed to use i2c-gate in the bindings which excluded quite a few
supported sensors where this functionality is supported.

Switch the list of sensors to ones where the Linux driver explicitly
disallows support for the auxiliary bus ("inv_mpu_i2c_aux_bus"). Since
the driver is also based on "default: return true" this should scale
better into the future.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20240408-mpu6050-i2c-gate-v1-1-621f051ce7de@z3ntu.xyz
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Luca Weiss and committed by
Jonathan Cameron
d9dd38cb 77dc3b17

+9 -8
+9 -8
Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml
··· 62 62 allOf: 63 63 - $ref: /schemas/spi/spi-peripheral-props.yaml# 64 64 - if: 65 - not: 66 - properties: 67 - compatible: 68 - contains: 69 - enum: 70 - - invensense,mpu9150 71 - - invensense,mpu9250 72 - - invensense,mpu9255 65 + properties: 66 + compatible: 67 + contains: 68 + enum: 69 + - invensense,iam20680 70 + - invensense,icm20602 71 + - invensense,icm20608 72 + - invensense,icm20609 73 + - invensense,icm20689 73 74 then: 74 75 properties: 75 76 i2c-gate: false