aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubhajit Ghosh <subhajit.ghosh@tweaklogic.com>2024-03-09 21:20:29 +1030
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-03-23 17:55:21 +0000
commit752686a5b1a21a73e66dbaf4208fff83cb82090e (patch)
treef14db212a977031b574af40a8cf806937855d926
parent5533fef1049d2ad619b4e90fa555f9dead85a755 (diff)
downloadiio-752686a5b1a21a73e66dbaf4208fff83cb82090e.tar.gz
dt-bindings: iio: light: adps9300: Update interrupt definitions
Include irq.h and irq level macro in the example for readability Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Subhajit Ghosh <subhajit.ghosh@tweaklogic.com> Link: https://lore.kernel.org/r/20240309105031.10313-4-subhajit.ghosh@tweaklogic.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
index a328c8a1daef8..e07a074f6acf8 100644
--- a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
+++ b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
@@ -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>;
};
};