summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2024-12-03 13:37:21 -0800
committerJohn Crispin <john@phrozen.org>2024-12-12 19:54:09 +0100
commit3bd2cee9bf85f01732e05e0c8fb070fb18c74095 (patch)
treeb2f4386e27aac1076f9beaff3a50fa5a656c7ca8 /target
parent4a083833399077f54e8ff40a49d688d4c5c9e762 (diff)
downloadopenwrt-3bd2cee9bf85f01732e05e0c8fb070fb18c74095.tar.gz
openwrt-3bd2cee9bf85f01732e05e0c8fb070fb18c74095.tar.bz2
openwrt-3bd2cee9bf85f01732e05e0c8fb070fb18c74095.zip
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>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wia3300-20.dts7
-rw-r--r--target/linux/ipq40xx/generic/config-default1
2 files changed, 2 insertions, 6 deletions
diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wia3300-20.dts b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wia3300-20.dts
index 644329419d..85ad382223 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wia3300-20.dts
+++ b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wia3300-20.dts
@@ -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 {
diff --git a/target/linux/ipq40xx/generic/config-default b/target/linux/ipq40xx/generic/config-default
index 4999ad3622..bd9876a0b6 100644
--- a/target/linux/ipq40xx/generic/config-default
+++ b/target/linux/ipq40xx/generic/config-default
@@ -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