Re: [PATCH] dt-bindings: iio: afe: current-sense-shunt: add io-channel-cells

From: Rob Herring
Date: Fri May 07 2021 - 18:16:12 EST


On Thu, 06 May 2021 11:06:37 -0400, Krzysztof Kozlowski wrote:
> The current-sense-shunt is an IIO provider thus can be referenced by IIO
> consumers (via "io-channels" property in consumer device node).
> Such provider is required to describe number of cells used in phandle
> lookup with "io-channel-cells" property. This also fixes dtbs_check
> warnings like:
>
> arch/arm/boot/dts/s5pv210-fascinate4g.dt.yaml: current-sense-shunt:
> '#io-channel-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
>
> Fixes: ce66e52b6c16 ("dt-bindings:iio:afe:current-sense-shunt: txt to yaml conversion.")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/iio/afe/current-sense-shunt.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>