]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: set correct pwm0 pinctrl on rk3588-tiger
authorHeiko Stuebner <heiko.stuebner@cherry.de>
Mon, 3 Jun 2024 19:22:54 +0000 (21:22 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 8 Jun 2024 14:45:29 +0000 (16:45 +0200)
PWM0 on rk3588-tiger is connected to the BLT_CTRL pin of the Q7 connector
meant as the name implies to control a backlight device.

Therefore set the correct M1 pinctrl variant for it. The M0 variant
cannot ever be used because that pin is routed to a connector pin on the
Q7 connector that is reserved for CAN use and the pin reachable by the M2
variant is reserved for the embedded MCU on the SoM.

Fixes: 6173ef24b35b ("arm64: dts: rockchip: add RK3588-Q7 (Tiger) SoM")
Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Link: https://lore.kernel.org/r/20240603192254.2441025-1-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi

index aebe1fedd2d81b30a68f9cedd80ba2f329860b7f..615094bb8ba380a5907aab1e318ca7e6365bcda3 100644 (file)
        };
 };
 
+&pwm0 {
+       pinctrl-0 = <&pwm0m1_pins>;
+       pinctrl-names = "default";
+};
+
 &saradc {
        vref-supply = <&vcc_1v8_s0>;
        status = "okay";