Skip to content

Commit

Permalink
dt-bindings: iio: io-channel-mux: add optional #io-channel-cells
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Rosin authored and Jonathan Cameron committed Oct 21, 2021
1 parent 16cc9aa commit 86477c2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ properties:
description:
Time required for analog signals to settle after muxing.

"#io-channel-cells":
const: 1

required:
- compatible
- io-channels
Expand Down

0 comments on commit 86477c2

Please sign in to comment.