Skip to content

Commit 987b6b7

Browse files
6by9pelwell
authored andcommitted
dtoverlays: ili251x: Replace incorrect comment on irq trigger
The comment said "high-to-low edge triggered", but used a value of 8 which is IRQ_TYPE_LEVEL_LOW. Update to use the define. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
1 parent 599de3a commit 987b6b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/arm/boot/dts/overlays/ilitek251x-overlay.dts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
/dts-v1/;
33
/plugin/;
44

5+
#include <dt-bindings/interrupt-controller/irq.h>
6+
57
/ {
68
compatible = "brcm,bcm2835";
79

@@ -29,7 +31,7 @@
2931
pinctrl-names = "default";
3032
pinctrl-0 = <&ili251x_pins>;
3133
interrupt-parent = <&gpio>;
32-
interrupts = <4 8>; // high-to-low edge triggered
34+
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
3335
touchscreen-size-x = <16384>;
3436
touchscreen-size-y = <9600>;
3537
};

0 commit comments

Comments
 (0)