Skip to content

Commit

Permalink
ipq40xx: use PHY to control USB GPIO
Browse files Browse the repository at this point in the history
Instead of using regulator-output to manually control USB GPIO, let the
PHY handle it.

Signed-off-by: Rosen Penev <[email protected]>

Link: openwrt#17221
Signed-off-by: John Crispin <[email protected]>
  • Loading branch information
neheb authored and blogic committed Dec 12, 2024
1 parent 4a08383 commit 3bd2cee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@
};
};

output-usb-power {
compatible = "regulator-output";
vout-supply = <&reg_usb>;
};

reg_usb: regulator-usb {
compatible = "regulator-fixed";

Expand Down Expand Up @@ -419,6 +414,8 @@

&usb2_hs_phy {
status = "okay";

phy-supply = <&reg_usb>;
};

&watchdog {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ipq40xx/generic/config-default
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3bd2cee

Please sign in to comment.