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

Commit c0f05d04 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add bus voting and pm qos for trinket"

parents 9f221b0b 53beef11
Loading
Loading
Loading
Loading
+76 −0
Original line number Diff line number Diff line
@@ -2203,6 +2203,46 @@

		qcom,devfreq,freq-table = <50000000 200000000>;

		qcom,msm-bus,name = "sdhc1";
		qcom,msm-bus,num-cases = <9>;
		qcom,msm-bus,num-paths = <2>;
		qcom,msm-bus,vectors-KBps =
			/* No vote */
			<78 512 0 0>, <1 606 0 0>,
			/* 400 KB/s*/
			<78 512 1046 3200>,
			<1 606 1600 1600>,
			/* 20 MB/s */
			<78 512 52286 160000>,
			<1 606 80000 80000>,
			/* 25 MB/s */
			<78 512 65360 200000>,
			<1 606 100000 100000>,
			/* 50 MB/s */
			<78 512 130718 400000>,
			<1 606 133320 200000>,
			/* 100 MB/s */
			<78 512 130718 400000>,
			<1 606 150000 400000>,
			/* 200 MB/s */
			<78 512 261438 800000>,
			<1 606 300000 800000>,
			/* 400 MB/s */
			<78 512 261438 800000>,
			<1 606 300000 1600000>,
			/* Max. bandwidth */
			<78 512 1338562 4096000>,
			<1 606 1338562 4096000>;
		qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
			100750000 200000000 400000000 4294967295>;

		/* PM QoS */
		qcom,pm-qos-irq-type = "affine_irq";
		qcom,pm-qos-irq-latency = <40 40>;
		qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
		qcom,pm-qos-cmdq-latency-us = <40 40>, <40 40>;
		qcom,pm-qos-legacy-latency-us = <40 40>, <40 40>;

		qcom,scaling-lower-bus-speed-mode = "DDR52";

		clocks = <&clock_gcc GCC_SDCC1_AHB_CLK>,
@@ -2238,6 +2278,42 @@

		qcom,devfreq,freq-table = <50000000 202000000>;

		qcom,msm-bus,name = "sdhc2";
		qcom,msm-bus,num-cases = <8>;
		qcom,msm-bus,num-paths = <2>;
		qcom,msm-bus,vectors-KBps =
			/* No vote */
			<81 512 0 0>, <1 608 0 0>,
			/* 400 KB/s*/
			<81 512 1046 3200>,
			<1 608 1600 1600>,
			/* 20 MB/s */
			<81 512 52286 160000>,
			<1 608 80000 80000>,
			/* 25 MB/s */
			<81 512 65360 200000>,
			<1 608 100000 100000>,
			/* 50 MB/s */
			<81 512 130718 400000>,
			<1 608 133320 133320>,
			/* 100 MB/s */
			<81 512 261438 400000>,
			<1 608 150000 150000>,
			/* 200 MB/s */
			<81 512 261438 800000>,
			<1 608 300000 300000>,
			/* Max. bandwidth */
			<81 512 1338562 4096000>,
			<1 608 1338562 4096000>;
		qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
			100750000 200000000 4294967295>;

		/* PM QoS */
		qcom,pm-qos-irq-type = "affine_irq";
		qcom,pm-qos-irq-latency = <40 40>;
		qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
		qcom,pm-qos-legacy-latency-us = <40 40>, <40 40>;

		clocks = <&clock_gcc GCC_SDCC2_AHB_CLK>,
			<&clock_gcc GCC_SDCC2_APPS_CLK>;
		clock-names = "iface_clk", "core_clk";