diff options
author | Peter Rosin <[email protected]> | 2021-10-09 00:11:21 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2021-10-21 20:03:01 +0100 |
commit | 86477c231c16a41d9b9805ce43c7a140a0dae4c0 (patch) | |
tree | 22f62494a15ee71bd8b77bc434a9f47eabbc7fd9 | |
parent | 16cc9aa4a8a4dcd40eabd245f4533e1ea1b1e37f (diff) |
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 <[email protected]>
Signed-off-by: Peter Rosin <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml | 3 |
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 |