Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3097ad73 authored by Rohit Gupta's avatar Rohit Gupta
Browse files

ARM: dts: msm: Add Hybrid Bus DCVS node for SDM845



Add a mincpubw device and a corresponding devfreq cpufreq mapping
table for SDM845.

Change-Id: I19d578c95ba6941a0bb3e3c8c2c4c60337da7325
Signed-off-by: default avatarRohit Gupta <rohgup@codeaurora.org>
parent d6686534
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -1011,6 +1011,35 @@
		interrupts = <1 5 4>;
	};

	mincpubw: qcom,mincpubw {
		compatible = "qcom,devbw";
		governor = "powersave";
		qcom,src-dst-ports = <1 512>;
		qcom,active-only;
		qcom,bw-tbl =
			<  762 /*  200 MHz */ >,
			< 1144 /*  300 MHz */ >,
			< 1720 /*  451 MHz */ >,
			< 2086 /*  547 MHz */ >,
			< 2597 /*  681 MHz */ >,
			< 2929 /*  768 MHz */ >,
			< 3879 /* 1017 MHz */ >,
			< 4943 /* 1296 MHz */ >,
			< 5931 /* 1555 MHz */ >,
			< 6881 /* 1804 MHz */ >;
	};

	devfreq-cpufreq {
		mincpubw-cpufreq {
			target-dev = <&mincpubw>;
			cpu-to-dev-map-0 =
				< 1708800  762 >;
			cpu-to-dev-map-4 =
				< 2035200  762 >,
				< 2092800 2597 >;
		};
	};

	clock_rpmh: qcom,rpmhclk {
		compatible = "qcom,rpmh-clk-sdm845";
		#clock-cells = <1>;