Skip to content

Commit b6bc1b4

Browse files
stephan-ghjic23
authored andcommitted
dt-bindings: iio: accel: bma255: Fix bmc150/bmi055 compatible
The bmc150-accel-i2c.c driver has an "_accel" suffix for the compatibles of BMC150 and BMI055. This is necessary because BMC150 contains both accelerometer (bosch,bmc150_accel) and magnetometer (bosch,bmc150_magn) and therefore "bosch,bmc150" would be ambiguous. However, the binding documentation suggests using "bosch,bmc150". Add the "_accel" suffix for BMC150 and BMI055 so the binding docs match what is expected by the driver. Fixes: 6259551 ("iio: accel: bmc150-accel: Add DT bindings") Signed-off-by: Stephan Gerhold <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
1 parent a06b63a commit b6bc1b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ description:
1616
properties:
1717
compatible:
1818
enum:
19-
- bosch,bmc150
20-
- bosch,bmi055
19+
- bosch,bmc150_accel
20+
- bosch,bmi055_accel
2121
- bosch,bma255
2222
- bosch,bma250e
2323
- bosch,bma222

0 commit comments

Comments
 (0)