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

Commit b924164a authored by Osvaldo Banuelos's avatar Osvaldo Banuelos Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: update frequency to ACC level mappings for msmcobalt



Since LowSVS and SVS frequencies share the same ACC settings,
map any frequency in the LowSVS to SVS range to the same ACC
level. By doing so, the OSM device need only support 3 levels
instead of 4 thus saving sequencer instruction space. Also,
update the ACC setting to ensure bit 31 of the last ACC register
in each cluster is set when running at LowSVS/SVS frequencies.

CRs-Fixed: 1021659
Change-Id: I322b9b57ec89f5cdc75336d83010ff89a6bb5726
Signed-off-by: default avatarOsvaldo Banuelos <osvaldob@codeaurora.org>
parent cb2a4195
Loading
Loading
Loading
Loading
+17 −19
Original line number Diff line number Diff line
@@ -804,21 +804,21 @@
			<   576000000 0x0504001e 0x03200020 0x1 >,
			<   633600000 0x05040021 0x03200020 0x1 >,
			<   710400000 0x05040025 0x03200020 0x1 >,
			<   806400000 0x0504002a 0x04200020 0x2 >,
			<   883200000 0x0404002e 0x04250025 0x2 >,
			<   960000000 0x04040032 0x05280028 0x2 >,
			<  1036800000 0x04040036 0x052b002b 0x3 >,
			<  1113600000 0x0404003a 0x052e002e 0x3 >,
			<  1190400000 0x0404003e 0x06320032 0x3 >,
			<  1248000000 0x04040041 0x06340034 0x3 >,
			<  1324800000 0x04040045 0x06370037 0x3 >,
			<  1401600000 0x04040049 0x073a003a 0x3 >,
			<  1478400000 0x0404004d 0x073e003e 0x3 >,
			<  1574400000 0x04040052 0x08420042 0x4 >,
			<  1651200000 0x04040056 0x08450045 0x4 >,
			<  1728000000 0x0404005a 0x08480048 0x4 >,
			<  1804800000 0x0404005e 0x094b004b 0x4 >,
			<  1881600000 0x04040062 0x094e004e 0x4 >;
			<   806400000 0x0504002a 0x04200020 0x1 >,
			<   883200000 0x0404002e 0x04250025 0x1 >,
			<   960000000 0x04040032 0x05280028 0x1 >,
			<  1036800000 0x04040036 0x052b002b 0x2 >,
			<  1113600000 0x0404003a 0x052e002e 0x2 >,
			<  1190400000 0x0404003e 0x06320032 0x2 >,
			<  1248000000 0x04040041 0x06340034 0x2 >,
			<  1324800000 0x04040045 0x06370037 0x2 >,
			<  1401600000 0x04040049 0x073a003a 0x2 >,
			<  1478400000 0x0404004d 0x073e003e 0x2 >,
			<  1574400000 0x04040052 0x08420042 0x3 >,
			<  1651200000 0x04040056 0x08450045 0x3 >,
			<  1728000000 0x0404005a 0x08480048 0x3 >,
			<  1804800000 0x0404005e 0x094b004b 0x3 >,
			<  1881600000 0x04040062 0x094e004e 0x3 >;

		qcom,perfcl-speedbin0-v0 =
			<   300000000 0x0004000f 0x01200020 0x1 >,
@@ -901,13 +901,11 @@
		qcom,perfcl-apcs-mem-acc-cfg =
			<0x179d1368 0x179d136C 0x179d1370>;
		qcom,pwrcl-apcs-mem-acc-val =
			<0x00000000 0x10000000 0x10000000>,
			<0x00000000 0x10000000 0x10000000>,
			<0x00000000 0x80000000 0x80000000>,
			<0x00000000 0x00000000 0x00000000>,
			<0x00000000 0x00000001 0x00000001>;
		qcom,perfcl-apcs-mem-acc-val =
			<0x00000000 0x00000000 0x10000000>,
			<0x00000000 0x00000000 0x10000000>,
			<0x00000000 0x00000000 0x80000000>,
			<0x00000000 0x00000000 0x00000000>,
			<0x00000000 0x00000000 0x00000001>;