[PATCH 1/3] ARM: dts: rockchip: Describe the touchscreen interrupt on rk3288-phycore-rdk
Fabio Estevam
festevam at gmail.com
Tue Mar 3 11:38:53 PST 2026
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 at gmail.com>
---
arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts b/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts
index a878a2632de0..fb2f585caba2 100644
--- a/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts
+++ b/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts
@@ -86,6 +86,10 @@ &i2c1 {
touchscreen at 44 {
compatible = "st,stmpe811";
reg = <0x44>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ts_irq_pin>;
+ interrupt-parent = <&gpio5>;
+ interrupts = <RK_PB4 IRQ_TYPE_EDGE_FALLING>;
};
adc at 64 {
@@ -199,7 +203,7 @@ sdmmc_pwr: sdmmc-pwr {
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>;
};
};
--
2.34.1
More information about the Linux-rockchip
mailing list