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

Commit d6d52d65 authored by Kiran Gunda's avatar Kiran Gunda
Browse files

ARM: dts: msm: enable SPDM feature for msm8953



Enable and add the SPDM parameters for APPS CPU bus client.

Change-Id: Icd41bb47c55cff4bef367078489c3ad7c5c5688b
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 17d7bd58
Loading
Loading
Loading
Loading
+43 −0
Original line number Original line Diff line number Diff line
@@ -977,4 +977,47 @@
			qcom,slv-rpm-id = <ICBID_SLAVE_LPASS>;
			qcom,slv-rpm-id = <ICBID_SLAVE_LPASS>;
		};
		};
	};
	};

	devfreq_spdm_cpu {
		compatible = "qcom,devfreq_spdm";
		qcom,msm-bus,name = "devfreq_spdm";
		qcom,msm-bus,num-cases = <2>;
		qcom,msm-bus,num-paths = <1>;
		qcom,msm-bus,vectors-KBps =
				<1 512 0 0>,
				<1 512 0 0>;
		qcom,msm-bus,active-only;
		qcom,spdm-client = <0>;

		clock-names = "cci_clk";
		clocks = <&clock_cpu clk_cci_clk>;

		qcom,bw-upstep = <400>;
		qcom,bw-dwnstep = <4200>;
		qcom,max-vote = <4200>;
		qcom,up-step-multp = <2>;
		qcom,spdm-interval = <30>;

		qcom,ports = <11>;
		qcom,alpha-up = <8>;
		qcom,alpha-down = <15>;
		qcom,bucket-size = <8>;

		/*max pl1 freq, max pl2 freq*/
		qcom,pl-freqs = <230000 770000>;

		/* pl1 low, pl1 high, pl2 low, pl2 high, pl3 low, pl3 high */
		qcom,reject-rate = <5000 5000 5000 5000 5000 5000>;
		/* pl1 low, pl1 high, pl2 low, pl2 high, pl3 low, pl3 high */
		qcom,response-time-us = <6000 6000 4000 4000 2000 2000>;
		/* pl1 low, pl1 high, pl2 low, pl2 high, pl3 low, pl3 high */
		qcom,cci-response-time-us = <4000 4000 3000 3000 2000 2000>;
		qcom,max-cci-freq = <870000>;
	};

	devfreq_spdm_gov {
		compatible = "qcom,gov_spdm_hyp";
		interrupt-names = "spdm-irq";
		interrupts = <0 192 0>;
	};
};
};