]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: rockchip: Add missing the touchscreen interrupt on rk3288-phycore-rdk
authorFabio Estevam <festevam@gmail.com>
Tue, 3 Mar 2026 19:38:53 +0000 (16:38 -0300)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 23 Mar 2026 21:17:26 +0000 (22:17 +0100)
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>
arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts

index a878a2632de0740c3a2c9fec0d1af77e81c5d1a4..d411fd9811fd402a0efe51c3b01777c8703dd0cd 100644 (file)
        touchscreen@44 {
                compatible = "st,stmpe811";
                reg = <0x44>;
+               interrupt-parent = <&gpio5>;
+               interrupts = <RK_PB4 IRQ_TYPE_EDGE_FALLING>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&ts_irq_pin>;
        };
 
        adc@64 {
 
        touchscreen {
                ts_irq_pin: ts-irq-pin {
-                       rockchip,pins = <5 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
+                       rockchip,pins = <5 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
                };
        };