[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <43e22ba4-0619-49bc-8062-b561cf19ca23@axentia.se>
Date: Sat, 9 Oct 2021 00:11:21 +0200
From: Peter Rosin <peda@...ntia.se>
To: Rob Herring <robh@...nel.org>,
Vincent Whitchurch <vincent.whitchurch@...s.com>
Cc: kernel@...s.com, linux-iio@...r.kernel.org, robh+dt@...nel.org,
lars@...afoo.de, jic23@...nel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: [PATCH 4/3] 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@...s.com>
Signed-off-by: Peter Rosin <peda@...ntia.se>
---
.../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 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
--
2.20.1
Powered by blists - more mailing lists