diff mbox series

dt-bindings: iio: adc: ti,ads1015: Document optional interrupt line

Message ID 20230921192420.70643-1-marex@denx.de (mailing list archive)
State Accepted
Headers show
Series dt-bindings: iio: adc: ti,ads1015: Document optional interrupt line | expand

Commit Message

Marek Vasut Sept. 21, 2023, 7:24 p.m. UTC
The ADS1015 can have optional IRQ line connected, document it in the DT bindings.

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Alexandru Lazar <alazar@startmail.com>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Daniel Baluta <daniel.baluta@nxp.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Marco Felsch <m.felsch@pengutronix.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-iio@vger.kernel.org
---
 Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Conor Dooley Sept. 22, 2023, 11:30 a.m. UTC | #1
On Thu, Sep 21, 2023 at 09:24:20PM +0200, Marek Vasut wrote:
> The ADS1015 can have optional IRQ line connected, document it in the DT bindings.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> ---
> Cc: Alexandru Lazar <alazar@startmail.com>
> Cc: Conor Dooley <conor+dt@kernel.org>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

> Cc: Daniel Baluta <daniel.baluta@nxp.com>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
> Cc: Lars-Peter Clausen <lars@metafoo.de>
> Cc: Marco Felsch <m.felsch@pengutronix.de>
> Cc: Marek Vasut <marex@denx.de>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: devicetree@vger.kernel.org
> Cc: linux-iio@vger.kernel.org
> ---
>  Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml b/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml
> index e004659099c19..d605999ffe288 100644
> --- a/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml
> @@ -23,6 +23,9 @@ properties:
>    reg:
>      maxItems: 1
>  
> +  interrupts:
> +    maxItems: 1
> +
>    "#address-cells":
>      const: 1
>  
> -- 
> 2.40.1
>
Jonathan Cameron Sept. 23, 2023, 5:40 p.m. UTC | #2
On Fri, 22 Sep 2023 12:30:06 +0100
Conor Dooley <conor@kernel.org> wrote:

> On Thu, Sep 21, 2023 at 09:24:20PM +0200, Marek Vasut wrote:
> > The ADS1015 can have optional IRQ line connected, document it in the DT bindings.
> > 
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > ---
> > Cc: Alexandru Lazar <alazar@startmail.com>
> > Cc: Conor Dooley <conor+dt@kernel.org>  
> 
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
Applied to the togreg branch of iio.git

Thanks,

Jonathan

> 
> Thanks,
> Conor.
> 
> > Cc: Daniel Baluta <daniel.baluta@nxp.com>
> > Cc: Jonathan Cameron <jic23@kernel.org>
> > Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
> > Cc: Lars-Peter Clausen <lars@metafoo.de>
> > Cc: Marco Felsch <m.felsch@pengutronix.de>
> > Cc: Marek Vasut <marex@denx.de>
> > Cc: Rob Herring <robh+dt@kernel.org>
> > Cc: devicetree@vger.kernel.org
> > Cc: linux-iio@vger.kernel.org
> > ---
> >  Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml | 3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml b/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml
> > index e004659099c19..d605999ffe288 100644
> > --- a/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml
> > +++ b/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml
> > @@ -23,6 +23,9 @@ properties:
> >    reg:
> >      maxItems: 1
> >  
> > +  interrupts:
> > +    maxItems: 1
> > +
> >    "#address-cells":
> >      const: 1
> >  
> > -- 
> > 2.40.1
> >
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml b/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml
index e004659099c19..d605999ffe288 100644
--- a/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml
@@ -23,6 +23,9 @@  properties:
   reg:
     maxItems: 1
 
+  interrupts:
+    maxItems: 1
+
   "#address-cells":
     const: 1