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

Commit 51a02146 authored by Rohit Gupta's avatar Rohit Gupta
Browse files

ARM: dts: msm: Add memory latency devices for msm8996



This change adds the memory latency monitor device nodes for
the two clusters.

Change-Id: Id83a6918e3be5760724cecd2551a1204ec97e6d0
Signed-off-by: default avatarRohit Gupta <rohgup@codeaurora.org>
parent 54567a93
Loading
Loading
Loading
Loading
+48 −0
Original line number Diff line number Diff line
@@ -483,6 +483,54 @@
			< 13763 /* 1804 MHz */ >;
	};

	memlat_cpu0: qcom,memlat-cpu0 {
		compatible = "qcom,devbw";
		governor = "powersave";
		qcom,src-dst-ports = <1 512>;
		qcom,active-only;
		qcom,bw-tbl =
			<  1525 /* 200 MHz */ >,
			<  2288 /* 300 MHz */ >,
			<  3509 /* 460 MHz */ >,
			<  4066 /* 533 MHz */ >,
			<  5126 /* 672 MHz */ >,
			<  5928 /* 777 MHz */ >,
			<  7904 /* 1036 MHz */ >,
			<  9887 /* 1296 MHz */ >,
			< 11863 /* 1555 MHz */ >,
			< 13763 /* 1804 MHz */ >;
	};

	memlat_cpu2: qcom,memlat-cpu2 {
		compatible = "qcom,devbw";
		governor = "powersave";
		qcom,src-dst-ports = <1 512>;
		qcom,active-only;
		qcom,bw-tbl =
			<  1525 /* 200 MHz */ >,
			<  2288 /* 300 MHz */ >,
			<  3509 /* 460 MHz */ >,
			<  4066 /* 533 MHz */ >,
			<  5126 /* 672 MHz */ >,
			<  5928 /* 777 MHz */ >,
			<  7904 /* 1036 MHz */ >,
			<  9887 /* 1296 MHz */ >,
			< 11863 /* 1555 MHz */ >,
			< 13763 /* 1804 MHz */ >;
	};

	qcom,arm-memlat-mon-0 {
		compatible = "qcom,arm-memlat-mon";
		qcom,firstcpu = <&CPU0>;
		qcom,target-dev = <&memlat_cpu0>;
	};

	qcom,arm-memlat-mon-2 {
		compatible = "qcom,arm-memlat-mon";
		qcom,firstcpu = <&CPU2>;
		qcom,target-dev = <&memlat_cpu2>;
	};

	devfreq_cpufreq: devfreq-cpufreq {
		cpubw-cpufreq {
			target-dev = <&cpubw>;