summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2021-10-09 00:11:21 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-10-21 20:03:01 +0100
commit86477c231c16a41d9b9805ce43c7a140a0dae4c0 (patch)
tree22f62494a15ee71bd8b77bc434a9f47eabbc7fd9 /Documentation/devicetree/bindings/iio
parent16cc9aa4a8a4dcd40eabd245f4533e1ea1b1e37f (diff)
downloadlinux-86477c231c16a41d9b9805ce43c7a140a0dae4c0.tar.bz2
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>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r--Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml b/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml
index 5a7328042c76..80b6229a6fad 100644
--- a/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml
+++ b/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml
@@ -44,6 +44,9 @@ properties:
description:
Time required for analog signals to settle after muxing.
+ "#io-channel-cells":
+ const: 1
+
required:
- compatible
- io-channels