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

Commit 0a3ccd25 authored by Santosh Mardi's avatar Santosh Mardi
Browse files

ARM: dts: msm: update mapping table for lagoon target

Update devfreq nodes mapping table for lagoon target,
these mapping tables used to scale L3, LLCC and DDR
frequency based on power and perf inputs.

Change-Id: Ieabdff1f98bc5cee23d97fa77122721e1df542c2
parent 96e5bad9
Loading
Loading
Loading
Loading
+41 −43
Original line number Diff line number Diff line
@@ -2175,7 +2175,6 @@
		BW_OPP_ENTRY( 600, 16); /*  9155 MB/s */
		BW_OPP_ENTRY( 806, 16); /* 12298 MB/s */
		BW_OPP_ENTRY( 933, 16); /* 14236 MB/s */
		BW_OPP_ENTRY(1066, 16); /* 16265 MB/s */
	};

	suspendable_llcc_bw_opp_table: suspendable-llcc-bw-opp-table {
@@ -2187,7 +2186,6 @@
		BW_OPP_ENTRY( 600, 16); /*  9155 MB/s */
		BW_OPP_ENTRY( 806, 16); /* 12298 MB/s */
		BW_OPP_ENTRY( 933, 16); /* 14236 MB/s */
		BW_OPP_ENTRY(1066, 16); /* 16265 MB/s */
	};

	cpu_cpu_llcc_bw: qcom,cpu-cpu-llcc-bw {
@@ -2257,7 +2255,7 @@
		BW_OPP_ENTRY(1353, 4); /* 5161 MB/s */
		BW_OPP_ENTRY(1555, 4); /* 5931 MB/s */
		BW_OPP_ENTRY(1804, 4); /* 6881 MB/s */
		BW_OPP_ENTRY(2092, 4); /* 7980 MB/s */
		BW_OPP_ENTRY(2092, 4); /* 8136 MB/s */
	};

	npu_npu_llcc_bw: qcom,npu-npu-llcc-bw {
@@ -2369,11 +2367,12 @@
			qcom,target-dev = <&cpu0_l3>;
			qcom,cachemiss-ev = <0x17>;
			qcom,core-dev-table =
				<  672000  300000000 >,
				<  940800  556800000 >,
				< 1228800  806400000 >,
				< 1459200  940800000 >,
				< 1728000 1420000000 >;
				<  768000  300000000 >,
				< 1017600  556800000 >,
				< 1248000  806400000 >,
				< 1516800  940800000 >,
				< 1612800 1286000000 >,
				< 1804800 1459000000 >;
		};

		cpu0_cpu_llcc_latmon: qcom,cpu0-cpu-llcc-latmon {
@@ -2382,9 +2381,9 @@
			qcom,target-dev = <&cpu0_cpu_llcc_lat>;
			qcom,cachemiss-ev = <0x2A>;
			qcom,core-dev-table =
				< 1228800 MHZ_TO_MBPS(300, 16) >,
				< 1459200 MHZ_TO_MBPS(466, 16) >,
				< 1728000 MHZ_TO_MBPS(600, 16) >;
				< 1248000 MHZ_TO_MBPS(300, 16) >,
				< 1516800 MHZ_TO_MBPS(466, 16) >,
				< 1804800 MHZ_TO_MBPS(600, 16) >;
		};

		cpu0_llcc_ddr_latmon: qcom,cpu0-llcc-ddr-latmon {
@@ -2393,11 +2392,11 @@
			qcom,target-dev = <&cpu0_llcc_ddr_lat>;
			qcom,cachemiss-ev = <0x1000>;
			qcom,core-dev-table =
				<  672000 MHZ_TO_MBPS( 300, 4) >,
				<  940800 MHZ_TO_MBPS( 451, 4) >,
				< 1228800 MHZ_TO_MBPS( 547, 4) >,
				< 1459200 MHZ_TO_MBPS( 768, 4) >,
				< 1728000 MHZ_TO_MBPS(1017, 4) >;
				<  768000 MHZ_TO_MBPS( 300, 4) >,
				< 1017600 MHZ_TO_MBPS( 451, 4) >,
				< 1248000 MHZ_TO_MBPS( 547, 4) >,
				< 1516800 MHZ_TO_MBPS( 768, 4) >,
				< 1804800 MHZ_TO_MBPS(1017, 4) >;
		};

		cpu0_computemon: qcom,cpu0-computemon {
@@ -2405,10 +2404,10 @@
			qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3 &CPU4 &CPU5>;
			qcom,target-dev = <&cpu0_cpu_ddr_latfloor>;
			qcom,core-dev-table =
				<  672000 MHZ_TO_MBPS( 300, 4) >,
				< 1228800 MHZ_TO_MBPS( 451, 4) >,
				< 1459200 MHZ_TO_MBPS( 547, 4) >,
				< 1728000 MHZ_TO_MBPS( 768, 4) >;
				<  768000 MHZ_TO_MBPS( 300, 4) >,
				< 1248000 MHZ_TO_MBPS( 451, 4) >,
				< 1516800 MHZ_TO_MBPS( 547, 4) >,
				< 1804800 MHZ_TO_MBPS( 768, 4) >;
		};
	};

@@ -2449,11 +2448,12 @@
			qcom,target-dev = <&cpu6_l3>;
			qcom,cachemiss-ev = <0x17>;
			qcom,core-dev-table =
				<  940800  556800000 >,
				< 1228800  806400000 >,
				< 1708800 1190400000 >,
				< 1900800 1382400000 >,
				< 2323200 1420000000 >;
				< 1036800  556800000 >,
				< 1248000  806400000 >,
				< 1555400  940800000 >,
				< 1766400 1209600000 >,
				< 1900800 1290000000 >,
				< 2246000 1459000000 >;
		};

		cpu6_cpu_llcc_latmon: qcom,cpu6-cpu-llcc-latmon {
@@ -2462,12 +2462,11 @@
			qcom,target-dev = <&cpu6_cpu_llcc_lat>;
			qcom,cachemiss-ev = <0x2A>;
			qcom,core-dev-table =
				<  672000 MHZ_TO_MBPS( 300, 16) >,
				<  940800 MHZ_TO_MBPS( 466, 16) >,
				< 1228000 MHZ_TO_MBPS( 600, 16) >,
				< 1708800 MHZ_TO_MBPS( 806, 16) >,
				< 2350000 MHZ_TO_MBPS( 933, 16) >,
				< 3000000 MHZ_TO_MBPS(1066, 16) >;
				<  787200 MHZ_TO_MBPS(300, 16) >,
				< 1036800 MHZ_TO_MBPS(466, 16) >,
				< 1248000 MHZ_TO_MBPS(600, 16) >,
				< 1555200 MHZ_TO_MBPS(806, 16) >,
				< 2246000 MHZ_TO_MBPS(933, 16) >;
		};

		cpu6_llcc_ddr_latmon: qcom,cpu6-llcc-ddr-latmon {
@@ -2476,12 +2475,11 @@
			qcom,target-dev = <&cpu6_llcc_ddr_lat>;
			qcom,cachemiss-ev = <0x1000>;
			qcom,core-dev-table =
				<  672000 MHZ_TO_MBPS( 451, 4) >,
				<  940800 MHZ_TO_MBPS( 547, 4) >,
				< 1228000 MHZ_TO_MBPS(1017, 4) >,
				< 1708800 MHZ_TO_MBPS(1555, 4) >,
				< 2350000 MHZ_TO_MBPS(1804, 4) >,
				< 3000000 MHZ_TO_MBPS(2092, 4) >;
				< 1036800 MHZ_TO_MBPS( 547, 4) >,
				< 1248000 MHZ_TO_MBPS(1017, 4) >,
				< 1555200 MHZ_TO_MBPS(1555, 4) >,
				< 1900800 MHZ_TO_MBPS(1804, 4) >,
				< 2246000 MHZ_TO_MBPS(2092, 4) >;
		};

		cpu6_computemon: qcom,cpu6-computemon {
@@ -2489,12 +2487,12 @@
			qcom,cpulist = <&CPU6 &CPU7>;
			qcom,target-dev = <&cpu6_cpu_ddr_latfloor>;
			qcom,core-dev-table =
				<  672000 MHZ_TO_MBPS( 300, 4) >,
				< 1228800 MHZ_TO_MBPS( 547, 4) >,
				< 1516800 MHZ_TO_MBPS( 768, 4) >,
				< 1708800 MHZ_TO_MBPS(1017, 4) >,
				< 2350000 MHZ_TO_MBPS(1804, 4) >,
				< 3000000 MHZ_TO_MBPS(2092, 4) >;
				< 1248800 MHZ_TO_MBPS( 547, 4) >,
				< 1401600 MHZ_TO_MBPS( 768, 4) >,
				< 1555200 MHZ_TO_MBPS(1017, 4) >,
				< 1766400 MHZ_TO_MBPS(1555, 4) >,
				< 1900800 MHZ_TO_MBPS(1804, 4) >,
				< 2246000 MHZ_TO_MBPS(2092, 4) >;
		};
	};