lkml.org 
[lkml]   [2020]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 1/2] dt-bindings: iio: bmc150_magn: Document and fix missing compatibles
Date
The driver supports also BMC156B and BMM150B but these compatibles had
redundant suffix "_magn". Add existing compatibles marking them
deprecated along with adding a new, proper one for this family of
devices.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

Changes since v1:
1. Mark old compatibles as deprecated, add new one.
---
.../devicetree/bindings/iio/magnetometer/bmc150_magn.txt | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iio/magnetometer/bmc150_magn.txt b/Documentation/devicetree/bindings/iio/magnetometer/bmc150_magn.txt
index fd5fca90fb39..efeda055be6a 100644
--- a/Documentation/devicetree/bindings/iio/magnetometer/bmc150_magn.txt
+++ b/Documentation/devicetree/bindings/iio/magnetometer/bmc150_magn.txt
@@ -4,7 +4,11 @@ http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS00

Required properties:

- - compatible : should be "bosch,bmc150_magn"
+ - compatible : should be one of:
+ "bosch,bmc150_magn"
+ "bosch,bmc156"
+ "bosch,bmc156_magn" (DEPRECATED, use bosch,bmc156)
+ "bosch,bmm150_magn" (DEPRECATED, use bosch,bmc156)
- reg : the I2C address of the magnetometer

Optional properties:
--
2.17.1
\
 
 \ /
  Last update: 2020-06-22 08:02    [W:0.094 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site