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

Commit 274272b4 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

ARM: dts: msm: Support speedbin 1 frequencies on SDM845



Support scaling the CPU and L3 clock domains to higher
frequencies on SDM845 speedbin 1 parts.

Change-Id: I35cc5cc22eb16b288a867b2b783aee40163de2fe
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 39eef992
Loading
Loading
Loading
Loading
+80 −9
Original line number Diff line number Diff line
@@ -741,7 +741,9 @@
			< 1363200 >,
			< 1440000 >,
			< 1516800 >,
			< 1593600 >;
			< 1593600 >,
			< 1651200 >,
			< 1708800 >;

		qcom,cpufreq-table-4 =
			<  300000 >,
@@ -765,7 +767,9 @@
			< 1728000 >,
			< 1804800 >,
			< 1881600 >,
			< 1958400 >;
			< 1958400 >,
			< 2035200 >,
			< 2092800 >;
	};

	cpubw: qcom,cpubw {
@@ -885,7 +889,9 @@
			< 729600 >,
			< 806400 >,
			< 883200 >,
			< 960000 >;
			< 960000 >,
			< 1036800 >,
			< 1094400 >;
	};

	l3_cpu4: qcom,l3-cpu4 {
@@ -902,7 +908,9 @@
			< 729600 >,
			< 806400 >,
			< 883200 >,
			< 960000 >;
			< 960000 >,
			< 1036800 >,
			< 1094400 >;
	};

	devfreq_l3lat_0: qcom,cpu0-l3lat-mon {
@@ -1014,11 +1022,14 @@
			<0x178b0000 0x1000>,
			<0x17d42400 0x0c00>,
			<0x17d44400 0x0c00>,
			<0x17d46c00 0x0c00>;
			<0x17d46c00 0x0c00>,
			<0x00784130 0x4>,
			<0x00784130 0x4>,
			<0x00784130 0x4>;
		reg-names = "osm_l3_base", "osm_pwrcl_base", "osm_perfcl_base",
			"l3_pll", "pwrcl_pll", "perfcl_pll",
			"l3_sequencer", "pwrcl_sequencer",
			"perfcl_sequencer";
			"l3_pll", "pwrcl_pll", "perfcl_pll", "l3_sequencer",
			"pwrcl_sequencer", "perfcl_sequencer", "l3_efuse",
			"pwrcl_efuse", "perfcl_efuse";

		vdd-l3-supply = <&apc0_l3_vreg>;
		vdd-pwrcl-supply = <&apc0_pwrcl_vreg>;
@@ -1035,6 +1046,19 @@
			<   883200000 0x4024072e 0x00002525 0x2 8 >,
			<   960000000 0x40240832 0x00002828 0x2 9 >;

		qcom,l3-speedbin1-v0 =
			<   300000000 0x000c000f 0x00002020 0x1 1 >,
			<   422400000 0x50140116 0x00002020 0x1 2 >,
			<   499200000 0x5014021a 0x00002020 0x1 3 >,
			<   576000000 0x5014031e 0x00002020 0x1 4 >,
			<   652800000 0x401c0422 0x00002020 0x1 5 >,
			<   729600000 0x401c0526 0x00002020 0x1 6 >,
			<   806400000 0x401c062a 0x00002222 0x1 7 >,
			<   883200000 0x4024072e 0x00002525 0x2 8 >,
			<   960000000 0x40240832 0x00002828 0x2 9 >,
			<  1036800000 0x40240936 0x00002b2b 0x3 10 >,
			<  1094400000 0x402c0a39 0x00002e2e 0x3 11 >;

		qcom,pwrcl-speedbin0-v0 =
			<   300000000 0x000c000f 0x00002020 0x1 1 >,
			<   422400000 0x50140116 0x00002020 0x1 2 >,
@@ -1047,13 +1071,34 @@
			<   979200000 0x40240833 0x00002929 0x1 9 >,
			<  1056000000 0x402c0937 0x00002c2c 0x1 10 >,
			<  1132800000 0x402c0a3b 0x00002f2f 0x1 11 >,
			<  1209600000 0x402c0b3f 0x00003333 0x1 12 >,
			<  1209600000 0x402c0b3f 0x00003232 0x1 12 >,
			<  1286400000 0x40340c43 0x00003636 0x2 13 >,
			<  1363200000 0x40340d47 0x00003939 0x2 14 >,
			<  1440000000 0x40340e4b 0x00003c3c 0x2 15 >,
			<  1516800000 0x403c0f4f 0x00003f3f 0x2 16 >,
			<  1593600000 0x403c1053 0x00004242 0x2 17 >;

		qcom,pwrcl-speedbin1-v0 =
			<   300000000 0x000c000f 0x00002020 0x1 1 >,
			<   422400000 0x50140116 0x00002020 0x1 2 >,
			<   499200000 0x5014021a 0x00002020 0x1 3 >,
			<   576000000 0x5014031e 0x00002020 0x1 4 >,
			<   652800000 0x401c0422 0x00002020 0x1 5 >,
			<   748800000 0x401c0527 0x00002020 0x1 6 >,
			<   825600000 0x401c062b 0x00002222 0x1 7 >,
			<   902400000 0x4024072f 0x00002626 0x1 8 >,
			<   979200000 0x40240833 0x00002929 0x1 9 >,
			<  1056000000 0x402c0937 0x00002c2c 0x1 10 >,
			<  1132800000 0x402c0a3b 0x00002f2f 0x1 11 >,
			<  1209600000 0x402c0b3f 0x00003232 0x1 12 >,
			<  1286400000 0x40340c43 0x00003636 0x2 13 >,
			<  1363200000 0x40340d47 0x00003939 0x2 14 >,
			<  1440000000 0x40340e4b 0x00003c3c 0x2 15 >,
			<  1516800000 0x403c0f4f 0x00003f3f 0x2 16 >,
			<  1593600000 0x403c1053 0x00004242 0x2 17 >,
			<  1651200000 0x403c1156 0x00004545 0x3 18 >,
			<  1708800000 0x40441259 0x00004747 0x3 19 >;

		qcom,perfcl-speedbin0-v0 =
			<   300000000 0x000c000f 0x00002020 0x1 1 >,
			<   422400000 0x50140116 0x00002020 0x1 2 >,
@@ -1078,6 +1123,32 @@
			<  1881600000 0x404c1462 0x00004e4e 0x3 21 >,
			<  1958400000 0x404c1566 0x00005252 0x3 22 >;

		qcom,perfcl-speedbin1-v0 =
			<   300000000 0x000c000f 0x00002020 0x1 1 >,
			<   422400000 0x50140116 0x00002020 0x1 2 >,
			<   499200000 0x5014021a 0x00002020 0x1 3 >,
			<   576000000 0x5014031e 0x00002020 0x1 4 >,
			<   652800000 0x401c0422 0x00002020 0x1 5 >,
			<   729600000 0x401c0526 0x00002020 0x1 6 >,
			<   806400000 0x401c062a 0x00002222 0x1 7 >,
			<   883200000 0x4024072e 0x00002525 0x1 8 >,
			<   960000000 0x40240832 0x00002828 0x1 9 >,
			<  1036800000 0x40240936 0x00002b2b 0x1 10 >,
			<  1113600000 0x402c0a3a 0x00002e2e 0x1 11 >,
			<  1190400000 0x402c0b3e 0x00003232 0x1 12 >,
			<  1267200000 0x40340c42 0x00003535 0x2 13 >,
			<  1344000000 0x40340d46 0x00003838 0x2 14 >,
			<  1420800000 0x40340e4a 0x00003b3b 0x2 15 >,
			<  1497600000 0x403c0f4e 0x00003e3e 0x2 16 >,
			<  1574400000 0x403c1052 0x00004242 0x2 17 >,
			<  1651200000 0x403c1156 0x00004545 0x2 18 >,
			<  1728000000 0x4044125a 0x00004848 0x3 19 >,
			<  1804800000 0x4044135e 0x00004b4b 0x3 20 >,
			<  1881600000 0x404c1462 0x00004e4e 0x3 21 >,
			<  1958400000 0x404c1566 0x00005252 0x3 22 >,
			<  2035200000 0x404c166a 0x00005555 0x3 23 >,
			<  2092800000 0x4054176d 0x00005757 0x3 24 >;

		qcom,l3-min-cpr-vc-bin0 = <7>;
		qcom,pwrcl-min-cpr-vc-bin0 = <6>;
		qcom,perfcl-min-cpr-vc-bin0 = <7>;