aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubhajit Ghosh <[email protected]>2024-03-09 21:20:29 +1030
committerJonathan Cameron <[email protected]>2024-03-25 20:10:12 +0000
commit2f8608f71bfecd9aaeb571ea688e66e4ba225d12 (patch)
treee3d7689ec8cbb0dd04d30a783fe2c4612227a64d
parent59ee18822a24ebbf23327895436b705e39c857fd (diff)
dt-bindings: iio: light: adps9300: Update interrupt definitions
Include irq.h and irq level macro in the example for readability Acked-by: Conor Dooley <[email protected]> Signed-off-by: Subhajit Ghosh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
-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 a328c8a1daef..e07a074f6acf 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>;
};
};