ipq40xx: use PHY to control USB GPIO

Instead of using regulator-output to manually control USB GPIO, let the
PHY handle it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Link: https://github.com/openwrt/openwrt/pull/17221
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
Rosen Penev 2024-12-03 13:37:21 -08:00 committed by John Crispin
parent 4a08383339
commit 3bd2cee9bf
2 changed files with 2 additions and 6 deletions

View File

@ -68,11 +68,6 @@
};
};
output-usb-power {
compatible = "regulator-output";
vout-supply = <&reg_usb>;
};
reg_usb: regulator-usb {
compatible = "regulator-fixed";
@ -419,6 +414,8 @@
&usb2_hs_phy {
status = "okay";
phy-supply = <&reg_usb>;
};
&watchdog {

View File

@ -3,5 +3,4 @@ CONFIG_MTD_UBI_BEB_LIMIT=20
CONFIG_MTD_UBI_BLOCK=y
CONFIG_MTD_UBI_NVMEM=y
CONFIG_MTD_UBI_WL_THRESHOLD=4096
CONFIG_REGULATOR_USERSPACE_CONSUMER=y
CONFIG_UBIFS_FS=y