Message ID | 20230504091421.2054451-3-chenhuiz@axis.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Add support for the ICM 20600 IMU | expand |
On 04/05/2023 11:14, Hermes Zhang wrote: > ICM-20600 is almost same as ICM-20602 which already support in mpu6050 > driver. Specify "invensense,icm20602" as a fallback compatible > > Signed-off-by: Hermes Zhang <chenhuiz@axis.com> > --- > > Notes: > v2: require specifying "invensense,icm20602" as a fallback compatible > in the binding, as suggested > > .../devicetree/bindings/iio/imu/invensense,mpu6050.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml > index ec64d7877fe5..711a1beeaecf 100644 > --- a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml > +++ b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml > @@ -33,6 +33,9 @@ properties: > - items: > - const: invensense,icm20608d > - const: invensense,icm20608 > + - items: > + - const: invensense,icm20600 > + - const: invensense,icm20602 Don't stuff entries at the end. This should be rather before above icm20608 entry. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml index ec64d7877fe5..711a1beeaecf 100644 --- a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml +++ b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml @@ -33,6 +33,9 @@ properties: - items: - const: invensense,icm20608d - const: invensense,icm20608 + - items: + - const: invensense,icm20600 + - const: invensense,icm20602 reg: maxItems: 1
ICM-20600 is almost same as ICM-20602 which already support in mpu6050 driver. Specify "invensense,icm20602" as a fallback compatible Signed-off-by: Hermes Zhang <chenhuiz@axis.com> --- Notes: v2: require specifying "invensense,icm20602" as a fallback compatible in the binding, as suggested .../devicetree/bindings/iio/imu/invensense,mpu6050.yaml | 3 +++ 1 file changed, 3 insertions(+)