Commit b6bc1b4f authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Jonathan Cameron

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: 6259551c ("iio: accel: bmc150-accel: Add DT bindings")
Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20201202083551.7753-1-stephan@gerhold.netSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent a06b63a1
...@@ -16,8 +16,8 @@ description: ...@@ -16,8 +16,8 @@ description:
properties: properties:
compatible: compatible:
enum: enum:
- bosch,bmc150 - bosch,bmc150_accel
- bosch,bmi055 - bosch,bmi055_accel
- bosch,bma255 - bosch,bma255
- bosch,bma250e - bosch,bma250e
- bosch,bma222 - bosch,bma222
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment