Message ID | 20221111143921.742194-5-linux@rasmusvillemoes.dk (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | iio: addac: ad74413r: various fixups | expand |
On Fri, 11 Nov 2022 15:39:20 +0100 Rasmus Villemoes <linux@rasmusvillemoes.dk> 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@rasmusvillemoes.dk> > --- > 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
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 + required: - compatible - reg
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@rasmusvillemoes.dk> --- Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml | 3 +++ 1 file changed, 3 insertions(+)