mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
Revert "ipq40xx: use PHY to control USB GPIO"
This reverts commit 3bd2cee9bf
.
Based on my testing, we are unable to control USB power supply
through some third-party tools (e.g. uhubctl) or sysfs in userspace.
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17339
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
363f52d067
commit
0de59fb952
@ -68,6 +68,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
output-usb-power {
|
||||
compatible = "regulator-output";
|
||||
vout-supply = <®_usb>;
|
||||
};
|
||||
|
||||
reg_usb: regulator-usb {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
@ -414,8 +419,6 @@
|
||||
|
||||
&usb2_hs_phy {
|
||||
status = "okay";
|
||||
|
||||
phy-supply = <®_usb>;
|
||||
};
|
||||
|
||||
&watchdog {
|
||||
|
@ -3,4 +3,5 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user