Re: [PATCH 4/5] dt-bindings: iio: ad74413r: add optional reset-gpios

From: Jonathan Cameron
Date: Sat Nov 12 2022 - 11:48:09 EST


On Fri, 11 Nov 2022 15:39:20 +0100
Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> wrote:

> The ad74412 and ad74413 devices have an active-low reset pin. Add a
> binding allowing one to specify a gpio tied to that.
>
> Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml b/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml
> index e954d5ae4f4f..70f82cc716ae 100644
> --- a/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml
> +++ b/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml
> @@ -51,6 +51,9 @@ properties:
> Shunt (sense) resistor value in micro-Ohms.
> default: 100000000
>
> + reset-gpios:
> + maxItems: 1
> +

Probably good to add to the example as well.

> required:
> - compatible
> - reg