]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx93-kontron: Fix GPIO for panel regulator
authorAnnette Kobou <annette.kobou@kontron.de>
Mon, 21 Jul 2025 10:05:45 +0000 (12:05 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 22 Aug 2025 03:04:19 +0000 (11:04 +0800)
The regulator uses the wrong GPIO. Fix this.

Signed-off-by: Annette Kobou <annette.kobou@kontron.de>
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Fixes: 2b52fd6035b7 ("arm64: dts: Add support for Kontron i.MX93 OSM-S SoM and BL carrier board")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dts

index 89e97c604bd3e4fc0a04e6e627673bd27e0e8825..9a9e5d0daf3babc1dcb950a3215ccf05ba36d5d5 100644 (file)
@@ -33,7 +33,9 @@
 
        reg_vcc_panel: regulator-vcc-panel {
                compatible = "regulator-fixed";
-               gpio = <&gpio4 3 GPIO_ACTIVE_HIGH>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_reg_vcc_panel>;
+               gpio = <&gpio2 21 GPIO_ACTIVE_HIGH>;
                enable-active-high;
                regulator-max-microvolt = <3300000>;
                regulator-min-microvolt = <3300000>;
        vmmc-supply = <&reg_vdd_3v3>;
        status = "okay";
 };
+
+&iomuxc {
+       pinctrl_reg_vcc_panel: regvccpanelgrp {
+               fsl,pins = <
+                       MX93_PAD_GPIO_IO21__GPIO2_IO21          0x31e /* PWM_2 */
+               >;
+       };
+};