Skip to content

Commit 460c258

Browse files
finley1226rkhuangtao
authored andcommitted
arm64: dts: rockchip: rk3368-xikp: Enable dmc and dfi
Change-Id: Ic839a159b225b06dbb300268a6cd0a66fd9d83a9 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
1 parent 550c440 commit 460c258

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3368-xikp.dts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,37 @@
253253
logic-supply = <&vdd_logic>;
254254
};
255255

256+
&dfi {
257+
status = "okay";
258+
};
259+
260+
&dmc {
261+
status = "okay";
262+
center-supply = <&vdd_logic>;
263+
devfreq-events = <&dfi>;
264+
upthreshold = <60>;
265+
downdifferential = <20>;
266+
system-status-freq = <
267+
/*system status freq(KHz)*/
268+
SYS_STATUS_NORMAL 600000
269+
SYS_STATUS_REBOOT 600000
270+
SYS_STATUS_SUSPEND 240000
271+
SYS_STATUS_VIDEO_1080P 240000
272+
SYS_STATUS_VIDEO_4K 600000
273+
SYS_STATUS_PERFORMANCE 600000
274+
SYS_STATUS_BOOST 396000
275+
SYS_STATUS_DUALVIEW 600000
276+
SYS_STATUS_ISP 528000
277+
>;
278+
vop-bw-dmc-freq = <
279+
/* min_bw(MB/s) max_bw(MB/s) freq(KHz) */
280+
0 531 240000
281+
532 99999 396000
282+
>;
283+
auto-min-freq = <240000>;
284+
auto-freq-en = <1>;
285+
};
286+
256287
&rockchip_suspend {
257288
status = "okay";
258289
rockchip,sleep-mode-config = <

0 commit comments

Comments
 (0)