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

Justin Weiss posted 4 patches 4 weeks ago
[PATCH v4 3/4] dt-bindings: iio: imu: bmi270: Add Bosch BMI260
Posted by Justin Weiss 4 weeks ago
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(-)

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
-- 
2.47.0
Re: [PATCH v4 3/4] dt-bindings: iio: imu: bmi270: Add Bosch BMI260
Posted by Krzysztof Kozlowski 4 weeks ago
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