Skip to content

Commit ff7875e

Browse files
fabioestevammmind
authored andcommitted
ARM: dts: rockchip: Add missing the touchscreen interrupt on rk3288-phycore-rdk
According to the phyCORE - RK3288 Hardware Manual, GPIO5_B4 corresponds to the touchscreen interrupt line: https://www.phytec.eu/fileadmin/legacy/downloads/Manuals/L-826e_1.pdf Describe it to improve the devicetree representation. This fixes the following dt-schema warning: 'interrupts' is a required property 'interrupts-extended' is a required property Signed-off-by: Fabio Estevam <festevam@gmail.com> Link: https://patch.msgid.link/20260303193855.828892-1-festevam@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 2d05076 commit ff7875e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@
8686
touchscreen@44 {
8787
compatible = "st,stmpe811";
8888
reg = <0x44>;
89+
interrupt-parent = <&gpio5>;
90+
interrupts = <RK_PB4 IRQ_TYPE_EDGE_FALLING>;
91+
pinctrl-names = "default";
92+
pinctrl-0 = <&ts_irq_pin>;
8993
};
9094

9195
adc@64 {
@@ -199,7 +203,7 @@
199203

200204
touchscreen {
201205
ts_irq_pin: ts-irq-pin {
202-
rockchip,pins = <5 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
206+
rockchip,pins = <5 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
203207
};
204208
};
205209

0 commit comments

Comments
 (0)