2023-05-05 05:51:27

by Hermes Zhang

[permalink] [raw]
Subject: [PATCH v3 1/2] dt-bindings: iio: imu: mpu6050: Add icm20600 bindings to mpu6050

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 <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
---

Notes:
v2: require specifying "invensense,icm20602" as a fallback compatible
in the binding, as suggested
v3: reorder "invensense,icm20602" entry before icm20608 and add
Reviewed-by tag from Krzysztof

.../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..1db6952ddca5 100644
--- a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml
@@ -30,6 +30,9 @@ properties:
- invensense,mpu9150
- invensense,mpu9250
- invensense,mpu9255
+ - items:
+ - const: invensense,icm20600
+ - const: invensense,icm20602
- items:
- const: invensense,icm20608d
- const: invensense,icm20608
--
2.30.2


2023-05-09 09:22:12

by Jean-Baptiste Maneyrol

[permalink] [raw]
Subject: Re: [PATCH v3 1/2] dt-bindings: iio: imu: mpu6050: Add icm20600 bindings to mpu6050

Hello,

looks good for me, thanks for the patch.

Acked-by: Jean-Baptiste Maneyrol <[email protected]>


From: Hermes Zhang <[email protected]>
Sent: Friday, May 5, 2023 07:48
To: [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; Jean-Baptiste Maneyrol <[email protected]>
Cc: [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; Hermes Zhang <[email protected]>; Krzysztof Kozlowski <[email protected]>; Lars-Peter Clausen <[email protected]>; [email protected] <[email protected]>
Subject: [PATCH v3 1/2] dt-bindings: iio: imu: mpu6050: Add icm20600 bindings to mpu6050
?
[CAUTION] This is an EXTERNAL email. Do not click links or open attachments unless you recognize the sender and know the content is safe.

======================================================================
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 <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
---

Notes:
??? v2: require specifying "invensense,icm20602" as a fallback compatible
??????? in the binding, as suggested
??? v3: reorder "invensense,icm20602" entry before icm20608 and add
??????? Reviewed-by tag from Krzysztof

?.../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..1db6952ddca5 100644
--- a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml
@@ -30,6 +30,9 @@ properties:
?????????? - invensense,mpu9150
?????????? - invensense,mpu9250
?????????? - invensense,mpu9255
+????? - items:
+????????? - const: invensense,icm20600
+????????? - const: invensense,icm20602
?????? - items:
?????????? - const: invensense,icm20608d
?????????? - const: invensense,icm20608
--
2.30.2