diff mbox series

[v4,3/4] dt-bindings: iio: imu: bmi270: Add Bosch BMI260

Message ID 20241027172029.160134-4-justin@justinweiss.com (mailing list archive)
State Accepted
Headers show
Series Add i2c driver for Bosch BMI260 IMU | expand

Commit Message

Justin Weiss Oct. 27, 2024, 5:20 p.m. UTC
The BMI260's register map, configuration, and capabilities are nearly
identical to the BMI270, but the devices have different chip IDs and
require different initialization firmware.

Signed-off-by: Justin Weiss <justin@justinweiss.com>
---
 Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Krzysztof Kozlowski Oct. 27, 2024, 8:26 p.m. UTC | #1
On Sun, Oct 27, 2024 at 10:20:24AM -0700, Justin Weiss wrote:
> The BMI260's register map, configuration, and capabilities are nearly
> identical to the BMI270, but the devices have different chip IDs and
> require different initialization firmware.
> 
> Signed-off-by: Justin Weiss <justin@justinweiss.com>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml b/Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml
index 792d1483af3c..7b0cde1c9b0a 100644
--- a/Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml
@@ -18,7 +18,9 @@  description: |
 
 properties:
   compatible:
-    const: bosch,bmi270
+    enum:
+      - bosch,bmi260
+      - bosch,bmi270
 
   reg:
     maxItems: 1