dt-bindings: iio: io-channel-mux: add optional #io-channel-cells
authorPeter Rosin <peda@axentia.se>
Fri, 8 Oct 2021 22:11:21 +0000 (00:11 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 21 Oct 2021 19:03:01 +0000 (20:03 +0100)
commit86477c231c16a41d9b9805ce43c7a140a0dae4c0
tree22f62494a15ee71bd8b77bc434a9f47eabbc7fd9
parent16cc9aa4a8a4dcd40eabd245f4533e1ea1b1e37f
dt-bindings: iio: io-channel-mux: add optional #io-channel-cells

Needed for in-kernel use of the child channels of the mux.

Fixes problems like this, reported by dtbs_check:
adc0mux: '#io-channel-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dt.yaml

Suggested-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
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