summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev2024-11-06 21:23:35 +0000
committerPetr Štetiar2024-11-28 18:46:39 +0000
commit68465e524bb8134ac514b4257c5cd5c1cb97dd83 (patch)
treebd481dfbb1c9b6f3f038a5c34972c852ba21e71d
parent79c711a035e5a98dcb16b1e68d323c865a08db1e (diff)
downloadopenwrt-68465e524bb8134ac514b4257c5cd5c1cb97dd83.tar.gz
ramips: mt7621: add missing regulator-boot-on
What seems to be happening is that the kernel requests an ACTIVE_LOW gpio initially and sets it to high later based on gpios in dts. This seems to break some devices where the bootloader sets it to high. Fixes: e612900ae0 ("ramips: mt7621: convert usb power to regulators") Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16877 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit a7bc6bf7dba98c77724cb8284d21a9c77c263d56) Link: https://github.com/openwrt/openwrt/pull/17097 Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r--target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts1
-rw-r--r--target/linux/ramips/dts/mt7621_humax_e10.dts1
-rw-r--r--target/linux/ramips/dts/mt7621_mikrotik_routerboard-7xx.dtsi1
-rw-r--r--target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts1
-rw-r--r--target/linux/ramips/dts/mt7621_zyxel_lte5398-m904.dts1
5 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts b/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
index 00ff80e3ca..cba4ceae72 100644
--- a/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
+++ b/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
@@ -87,6 +87,7 @@
regulator-max-microvolt = <5000000>;
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
enable-active-high;
+ regulator-boot-on;
};
};
diff --git a/target/linux/ramips/dts/mt7621_humax_e10.dts b/target/linux/ramips/dts/mt7621_humax_e10.dts
index 7ba772d5e5..fd66578eaf 100644
--- a/target/linux/ramips/dts/mt7621_humax_e10.dts
+++ b/target/linux/ramips/dts/mt7621_humax_e10.dts
@@ -63,6 +63,7 @@
regulator-max-microvolt = <5000000>;
gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
enable-active-high;
+ regulator-boot-on;
};
};
diff --git a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-7xx.dtsi b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-7xx.dtsi
index 4a3de8cfba..7429ce673d 100644
--- a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-7xx.dtsi
+++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-7xx.dtsi
@@ -22,6 +22,7 @@
regulator-max-microvolt = <5000000>;
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
enable-active-high;
+ regulator-boot-on;
};
};
diff --git a/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts b/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts
index 88894325b5..2a556190d0 100644
--- a/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts
+++ b/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts
@@ -103,6 +103,7 @@
regulator-max-microvolt = <5000000>;
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
enable-active-high;
+ regulator-boot-on;
};
};
diff --git a/target/linux/ramips/dts/mt7621_zyxel_lte5398-m904.dts b/target/linux/ramips/dts/mt7621_zyxel_lte5398-m904.dts
index e6ff5ecf6a..2d06b949f2 100644
--- a/target/linux/ramips/dts/mt7621_zyxel_lte5398-m904.dts
+++ b/target/linux/ramips/dts/mt7621_zyxel_lte5398-m904.dts
@@ -101,6 +101,7 @@
regulator-max-microvolt = <5000000>;
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
enable-active-high;
+ regulator-boot-on;
};
};