1 From 14ea778d2a5281a0f4c94230abccf30bc72c2bdd Mon Sep 17 00:00:00 2001
2 From: Jeff LaBundy <jeff@labundy.com>
3 Date: Sat, 19 Mar 2022 20:31:30 -0500
4 Subject: [PATCH] overlays: iqs550: Enable interrupt pull-down
6 The device's active-high interrupt normally serves as a push-pull
7 output, but becomes high-impedance during bootloader mode. Enable
8 a pull-down to hold the pin in the inactive state.
10 Signed-off-by: Jeff LaBundy <jeff@labundy.com>
12 arch/arm/boot/dts/overlays/iqs550-overlay.dts | 15 ++++++++++++++-
13 1 file changed, 14 insertions(+), 1 deletion(-)
15 --- a/arch/arm/boot/dts/overlays/iqs550-overlay.dts
16 +++ b/arch/arm/boot/dts/overlays/iqs550-overlay.dts
19 interrupt-parent = <&gpio>;
20 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
21 + pinctrl-names = "default";
22 + pinctrl-0 = <&iqs550_pins>;
23 touchscreen-size-x = <800>;
24 touchscreen-size-y = <480>;
33 + iqs550_pins: iqs550_pins {
41 - interrupt = <&iqs550>,"interrupts:0";
42 + interrupt = <&iqs550>,"interrupts:0",
43 + <&iqs550_pins>,"brcm,pins:0";
44 reset = <0>,"+1", <&iqs550_reset>,"reset-gpios:4";
45 sizex = <&iqs550>,"touchscreen-size-x:0";
46 sizey = <&iqs550>,"touchscreen-size-y:0";