Skip to content

Commit 6d84ec9

Browse files
committed
rockchip: fix memory controller voltage excursion for a sensitive board
1 parent 8eae228 commit 6d84ec9

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

patch/kernel/archive/rockchip-6.18/dt/rk322x-box.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@
210210
regulator-name = "vdd_log";
211211
regulator-min-microvolt = <1000000>;
212212
regulator-max-microvolt = <1300000>;
213+
regulator-settling-time-us = <50>;
213214
regulator-always-on;
214215
regulator-boot-on;
215216
};

patch/kernel/archive/rockchip-6.18/overlay/rk322x-led-conf5.dtso

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,32 @@
9393
};
9494
};
9595

96+
fragment@6 {
97+
target = <&dmc_opp_table>;
98+
__overlay__ {
99+
compatible = "operating-points-v2";
100+
101+
opp-330000000 {
102+
opp-hz = /bits/ 64 <330000000>;
103+
opp-microvolt = <1100000>;
104+
};
105+
106+
opp-534000000 {
107+
opp-hz = /bits/ 64 <534000000>;
108+
opp-microvolt = <1100000>;
109+
};
110+
111+
opp-660000000 {
112+
opp-hz = /bits/ 64 <660000000>;
113+
opp-microvolt = <1100000>;
114+
};
115+
116+
opp-786000000 {
117+
opp-hz = /bits/ 64 <786000000>;
118+
opp-microvolt = <1150000>;
119+
};
120+
};
121+
};
122+
96123

97124
};

patch/kernel/archive/rockchip-6.19/dt/rk322x-box.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@
210210
regulator-name = "vdd_log";
211211
regulator-min-microvolt = <1000000>;
212212
regulator-max-microvolt = <1300000>;
213+
regulator-settling-time-us = <50>;
213214
regulator-always-on;
214215
regulator-boot-on;
215216
};

patch/kernel/archive/rockchip-6.19/overlay/rk322x-led-conf5.dtso

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,32 @@
9393
};
9494
};
9595

96+
fragment@6 {
97+
target = <&dmc_opp_table>;
98+
__overlay__ {
99+
compatible = "operating-points-v2";
100+
101+
opp-330000000 {
102+
opp-hz = /bits/ 64 <330000000>;
103+
opp-microvolt = <1100000>;
104+
};
105+
106+
opp-534000000 {
107+
opp-hz = /bits/ 64 <534000000>;
108+
opp-microvolt = <1100000>;
109+
};
110+
111+
opp-660000000 {
112+
opp-hz = /bits/ 64 <660000000>;
113+
opp-microvolt = <1100000>;
114+
};
115+
116+
opp-786000000 {
117+
opp-hz = /bits/ 64 <786000000>;
118+
opp-microvolt = <1150000>;
119+
};
120+
};
121+
};
122+
96123

97124
};

0 commit comments

Comments
 (0)