mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
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>
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
/plugin/;
|
/plugin/;
|
||||||
|
|
||||||
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "brcm,bcm2835";
|
compatible = "brcm,bcm2835";
|
||||||
|
|
||||||
@@ -29,7 +31,7 @@
|
|||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&ili251x_pins>;
|
pinctrl-0 = <&ili251x_pins>;
|
||||||
interrupt-parent = <&gpio>;
|
interrupt-parent = <&gpio>;
|
||||||
interrupts = <4 8>; // high-to-low edge triggered
|
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
|
||||||
touchscreen-size-x = <16384>;
|
touchscreen-size-x = <16384>;
|
||||||
touchscreen-size-y = <9600>;
|
touchscreen-size-y = <9600>;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user