From: Peter Rosin Date: Fri, 8 Oct 2021 22:11:21 +0000 (+0200) Subject: dt-bindings: iio: io-channel-mux: add optional #io-channel-cells X-Git-Tag: v6.1-rc5~2728^2~15^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86477c231c16a41d9b9805ce43c7a140a0dae4c0;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Peter Rosin Acked-by: Rob Herring Signed-off-by: Jonathan Cameron --- diff --git a/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml b/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml index 5a73280..80b6229 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