Re: [PATCH] dt-bindings: iio: adc: Add schema for AD7816/7/8 digital temperature sensor
From: Conor Dooley
Date: Sat May 30 2026 - 19:13:23 EST
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?
>
> > + };
> > + };
>
Attachment:
signature.asc
Description: PGP signature