On Mon, Oct 28, 2024 at 05:07:50PM +0100, Uwe Kleine-König wrote: > Using IRQ_TYPE_EDGE_FALLING instead of 2 makes the example easier to > understand for a human (and adds only little more effort for a parser). > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx> > --- > Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml > index 35ed04350e28..de49b571bd57 100644 > --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml > @@ -111,6 +111,7 @@ unevaluatedProperties: false > > examples: > - | > + #include <dt-bindings/interrupt-controller/irq.h> > spi { > #address-cells = <1>; > #size-cells = <0>; > @@ -119,7 +120,7 @@ examples: > compatible = "adi,ad7124-4"; > reg = <0>; > spi-max-frequency = <5000000>; > - interrupts = <25 2>; > + interrupts = <25 IRQ_TYPE_EDGE_FALLING>; Sorry, but this is trivial. Do it for all the bindings in IIO or IIO/ADC in one patch. Or just leave it because old code was correct. Best regards, Krzysztof