All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio: accel: bma255: Fix bmc150/bmi055 compatible
@ 2020-12-02  8:35 Stephan Gerhold
  2020-12-02 12:08 ` Linus Walleij
  2020-12-09 18:17 ` Rob Herring
  0 siblings, 2 replies; 8+ messages in thread
From: Stephan Gerhold @ 2020-12-02  8:35 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Lars-Peter Clausen, Peter Meerwald-Stadler, Rob Herring,
	linux-iio, devicetree, Stephan Gerhold, Linus Walleij

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.

Cc: Linus Walleij <linus.walleij@linaro.org>
Fixes: 496a39526fce8 ("iio: accel: bmc150-accel: Add DT bindings")
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml b/Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml
index 6eef3480ea8f..c2efbb813ca2 100644
--- a/Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml
@@ -16,8 +16,8 @@ description:
 properties:
   compatible:
     enum:
-      - bosch,bmc150
-      - bosch,bmi055
+      - bosch,bmc150_accel
+      - bosch,bmi055_accel
       - bosch,bma255
       - bosch,bma250e
       - bosch,bma222
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-01-15 13:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02  8:35 [PATCH] dt-bindings: iio: accel: bma255: Fix bmc150/bmi055 compatible Stephan Gerhold
2020-12-02 12:08 ` Linus Walleij
2020-12-02 14:07   ` Stephan Gerhold
2020-12-09 18:17 ` Rob Herring
2020-12-13 13:25   ` Jonathan Cameron
2021-01-14 20:59     ` Jonathan Cameron
2021-01-15  8:37       ` Stephan Gerhold
2021-01-15 13:56         ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.