From 86477c231c16a41d9b9805ce43c7a140a0dae4c0 Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Sat, 9 Oct 2021 00:11:21 +0200 Subject: [PATCH] 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 --- Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.7.4