diff options
author | Rob Herring <robh@kernel.org> | 2020-03-26 01:05:38 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-03-26 19:06:10 +0300 |
commit | 04bd645a0f24f6870f81e9abbc0b865c22b86c67 (patch) | |
tree | 5e8df566e25fd90206383ad6d1a1dfe8abc7b9ae /Documentation/devicetree/bindings/iio/accel | |
parent | 2dccf69454997cc176bf7d6d1d3dbfc56416ee48 (diff) | |
download | linux-04bd645a0f24f6870f81e9abbc0b865c22b86c67.tar.xz |
dt-bindings: iio/accel: Drop duplicate adi,adxl345/6 from trivial-devices.yaml
The 'adi,adxl345' definition is a duplicate as there's a full binding in:
Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
The trivial-devices binding doesn't capture that 'adi,adxl346' has a
fallback compatible 'adi,adxl345', so let's add it to adi,adxl345.yaml.
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Cc: Michael Hennerich <michael.hennerich@analog.com>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: linux-iio@vger.kernel.org
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/accel')
-rw-r--r-- | Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml index c602b6fe1c0c..d124eba1ce54 100644 --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml @@ -17,9 +17,13 @@ description: | properties: compatible: - enum: - - adi,adxl345 - - adi,adxl375 + oneOf: + - items: + - const: adi,adxl346 + - const: adi,adxl345 + - enum: + - adi,adxl345 + - adi,adxl375 reg: maxItems: 1 |