]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: imx: Fix USB host power regulator polarity on M53Menlo
authorMarek Vasut <marex@denx.de>
Sun, 5 Sep 2021 00:01:37 +0000 (02:01 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 22 Sep 2021 08:14:26 +0000 (16:14 +0800)
The MIC2025 switch input signal nEN is active low, describe it as such
in the DT. The previous change to this regulator polarity was incorrectly
influenced by broken quirks in gpiolib-of.c, which is now long fixed. So
fix this regulator polarity setting here once and for all.

Fixes: 3dabc3646487a ("ARM: dts: imx53: Update USB configuration on M53Menlo")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx53-m53menlo.dts

index 48adcfd32cea908f91037f7da682f3fb0602ede1..4f88e96d81ddbdd42078409d0a94e43f3e194566 100644 (file)
@@ -77,8 +77,7 @@
                regulator-name = "vbus";
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
-               gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
+               gpio = <&gpio1 2 0>;
        };
 };