Commit 2f8608f7 authored by Subhajit Ghosh's avatar Subhajit Ghosh Committed by Jonathan Cameron

dt-bindings: iio: light: adps9300: Update interrupt definitions

Include irq.h and irq level macro in the example for readability
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarSubhajit Ghosh <subhajit.ghosh@tweaklogic.com>
Link: https://lore.kernel.org/r/20240309105031.10313-4-subhajit.ghosh@tweaklogic.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 59ee1882
......@@ -35,6 +35,8 @@ required:
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
......@@ -43,7 +45,7 @@ examples:
compatible = "avago,apds9300";
reg = <0x39>;
interrupt-parent = <&gpio2>;
interrupts = <29 8>;
interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
vdd-supply = <&regulator_3v3>;
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment