Re: [PATCH] dt-bindings: iio: adc: Add schema for AD7816/7/8 digital temperature sensor

From: Jonathan Cameron

Date: Sun May 31 2026 - 04:54:13 EST


On Sun, 31 May 2026 00:11:44 +0100
Conor Dooley <conor@xxxxxxxxxx> wrote:

> On Sat, May 30, 2026 at 03:58:17PM +0100, Jonathan Cameron wrote:
> > On Sat, 30 May 2026 13:53:00 +0000
> > > +
> > > + interrupts:
> > > + maxItems: 1
> > > + description: OTI (Over Temperature Indicator) interrupt.
>
> > > +unevaluatedProperties: false
> > > +
> > > +examples:
> > > + - |
> > > + #include <dt-bindings/gpio/gpio.h>
> > > + #include <dt-bindings/interrupt-controller/irq.h>
> > > +
> > > + spi {
> > > + #address-cells = <1>;
> > > + #size-cells = <0>;
> > > +
> > > + adc@0 {
> > > + compatible = "adi,ad7816";
> > > + reg = <0>;
> > > + spi-max-frequency = <1000000>;
> > > + rdwr-gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
> > > + convert-gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
> > > + busy-gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
> > > + interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
> > > + interrupt-parent = <&gpio>;
> >
> > You don't have any interrupts in the binding. So this shouldn't
> > pass testing.
>
> There is an interrupts property in the binding, unless you meant
> something else?
Huh. More coffee needed. Odd I missed it!

J
>
> >
> > > + };
> > > + };
> >