dt-bindings: iio: io-channel-mux: allow duplicate channel, labels
authorPeter Rosin <peda@axentia.se>
Fri, 8 Oct 2021 22:11:30 +0000 (00:11 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 21 Oct 2021 19:03:01 +0000 (20:03 +0100)
commit392998a8032a59bff4ec14dc9d5098c60b50baf9
treed726ed9b23c2e228f5a64dca020592b32e31361f
parent86477c231c16a41d9b9805ce43c7a140a0dae4c0
dt-bindings: iio: io-channel-mux: allow duplicate channel, labels

This is needed since an empty channel label is used to indicate an
unused channel, and there can be more that one of those.

Fixes the following problem reported by dtbs_check:
envelope-detector-mux: channels: ['', '', 'sync-1', 'in', 'out', 'sync-2', 'sys-reg', 'ana-reg'] has non-unique elements
arch/arm/boot/dts/at91-tse850-3.dt.yaml

Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Peter Rosin <peda@axentia.se>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml