Skip to content

Commit 87ed617

Browse files
jlabundypopcornmix
authored andcommitted
overlays: iqs550: Enable interrupt pull-down
The device's active-high interrupt normally serves as a push-pull output, but becomes high-impedance during bootloader mode. Enable a pull-down to hold the pin in the inactive state. Signed-off-by: Jeff LaBundy <[email protected]>
1 parent c3d93f2 commit 87ed617

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
reg = <0x74>;
2121
interrupt-parent = <&gpio>;
2222
interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
23+
pinctrl-names = "default";
24+
pinctrl-0 = <&iqs550_pins>;
2325
touchscreen-size-x = <800>;
2426
touchscreen-size-y = <480>;
2527
};
@@ -34,8 +36,19 @@
3436
};
3537
};
3638

39+
fragment@2 {
40+
target = <&gpio>;
41+
__overlay__ {
42+
iqs550_pins: iqs550_pins {
43+
brcm,pins = <4>;
44+
brcm,pull = <1>;
45+
};
46+
};
47+
};
48+
3749
__overrides__ {
38-
interrupt = <&iqs550>,"interrupts:0";
50+
interrupt = <&iqs550>,"interrupts:0",
51+
<&iqs550_pins>,"brcm,pins:0";
3952
reset = <0>,"+1", <&iqs550_reset>,"reset-gpios:4";
4053
sizex = <&iqs550>,"touchscreen-size-x:0";
4154
sizey = <&iqs550>,"touchscreen-size-y:0";

0 commit comments

Comments
 (0)