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>
};
};
- output-usb-power {
- compatible = "regulator-output";
- vout-supply = <®_usb>;
- };
-
reg_usb: regulator-usb {
compatible = "regulator-fixed";
&usb2_hs_phy {
status = "okay";
+
+ phy-supply = <®_usb>;
};
&watchdog {
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