From 2cea4f2ea6f207e271c452795b6f993c05e9c77a Mon Sep 17 00:00:00 2001 From: Wang Jie Date: Fri, 7 Jan 2022 09:51:59 +0800 Subject: [PATCH] arm64: dts: rockchip: rk3588s-tablet: add fusb302 interrupt gpio configuration for uboot The uboot Type-C PD driver needs to poll the interrupt gpio level, but the uboot code does not have a suitable interface to convert the attributes of "interrupt-parent" and "interrupts" to standard gpio, so add int-n-gpios configure for uboot to analyze and use. Change-Id: Ib415902f11a35f8f8ee141297a53aa80dbb1cbaa Signed-off-by: Wang Jie --- arch/arm64/boot/dts/rockchip/rk3588s-tablet.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-tablet.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s-tablet.dtsi index 7e8c98ea78cd..c4fa32172c02 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-tablet.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s-tablet.dtsi @@ -682,6 +682,7 @@ reg = <0x22>; interrupt-parent = <&gpio0>; interrupts = ; + int-n-gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; pinctrl-0 = <&usbc0_int>; vbus-supply = <&vbus5v0_typec>;