Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Subhajit Ghosh and committed by
Jonathan Cameron
2f8608f7 59ee1882

+3 -1
+3 -1
Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
··· 35 35 36 36 examples: 37 37 - | 38 + #include <dt-bindings/interrupt-controller/irq.h> 39 + 38 40 i2c { 39 41 #address-cells = <1>; 40 42 #size-cells = <0>; ··· 45 43 compatible = "avago,apds9300"; 46 44 reg = <0x39>; 47 45 interrupt-parent = <&gpio2>; 48 - interrupts = <29 8>; 46 + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; 49 47 vdd-supply = <&regulator_3v3>; 50 48 }; 51 49 };