]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Fix lcdpwr_en pin for Cool Pi GenBook
authorAndy Yan <andyshrk@163.com>
Mon, 13 Jan 2025 10:47:34 +0000 (18:47 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 3 Feb 2025 08:59:24 +0000 (09:59 +0100)
According to the schematic, the lcdpwr_en pin is GPIO0_C4,
not GPIO1_C4.

Fixes: 4a8c1161b843 ("arm64: dts: rockchip: Add support for rk3588 based Cool Pi CM5 GenBook")
Signed-off-by: Andy Yan <andyshrk@163.com>
Link: https://lore.kernel.org/r/20250113104825.2390427-1-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-genbook.dts

index 92f0ed83c990228e91997eaaf0d354b493fc51df..bc6b43a771537b7b10fa4937d327ef9cdf33b55e 100644 (file)
                compatible = "regulator-fixed";
                regulator-name = "vcc3v3_lcd";
                enable-active-high;
-               gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>;
+               gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
                pinctrl-names = "default";
                pinctrl-0 = <&lcdpwr_en>;
                vin-supply = <&vcc3v3_sys>;
 &pinctrl {
        lcd {
                lcdpwr_en: lcdpwr-en {
-                       rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_down>;
+                       rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_down>;
                };
 
                bl_en: bl-en {