diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-06-29 12:05:36 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-07-07 20:24:07 +0100 |
commit | 8cc41f3c8028b023611c96a5a5b9a6164b45d87f (patch) | |
tree | 8fcb3f5a946bc383f304f6818ce779ae8f49c7c2 | |
parent | iio: adis16480: Use irq types instead of flags (diff) | |
download | linux-dev-8cc41f3c8028b023611c96a5a5b9a6164b45d87f.tar.xz linux-dev-8cc41f3c8028b023611c96a5a5b9a6164b45d87f.zip |
dt-bindings: iio: bmc150_magn: Document and fix missing compatibles
The driver supports also BMC156B and BMM150B. Add existing compatibles
marking the BMM150B one as deprecated (due to redundant suffix "_magn"
because the device unlike two others is a magnetometer only). Introduce
a new, proper compatible for the deprecated one.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r-- | Documentation/devicetree/bindings/iio/magnetometer/bmc150_magn.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/iio/magnetometer/bmc150_magn.txt b/Documentation/devicetree/bindings/iio/magnetometer/bmc150_magn.txt index fd5fca90fb39..22912e43b60c 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_magn" + "bosch,bmm150" + "bosch,bmm150_magn" (DEPRECATED, use bosch,bmm150) - reg : the I2C address of the magnetometer Optional properties: |