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

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

Merge "ARM: dts: msm: Add bus voting from eMMC & SDCard for lito"

parents e2e43318 e71ed457
Loading
Loading
Loading
Loading
+95 −0
Original line number Diff line number Diff line
@@ -2209,6 +2209,56 @@

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

		qcom,msm-bus,name = "sdhc1";
		qcom,msm-bus,num-cases = <9>;
		qcom,msm-bus,num-paths = <3>;
		qcom,msm-bus,vectors-KBps =
			/* No vote */
			<150 10073 0 0>,
			<135 512 0 0>,
			<1 825 0 0>,
			/* 400 KB/s*/
			<150 10073 1000 7600>,
			<135 512 1000 90000>,
			<1 825 2000 6600>,
			/* 20 MB/s */
			<150 10073 25000 76000>,
			<135 512 25000 900000>,
			<1 825 20000 66000>,
			/* 25 MB/s */
			<150 10073 50000 76000>,
			<135 512 50000 900000>,
			<1 825 30000 66000>,
			/* 50 MB/s */
			<150 10073 50000 76000>,
			<135 512 80000 900000>,
			<1 825 40000 66000>,
			/* 100 MB/s */
			<150 10073 50000 76000>,
			<135 512 100000 900000>,
			<1 825 50000 66000>,
			/* 200 MB/s */
			<150 10073 50000 76000>,
			<150 512 150000 900000>,
			<1 825 80000 76000>,
			/* 400 MB/s */
			<150 10073 261438 2300000>,
			<135 512 261438 4700000>,
			<1 825 300000 300000>,
			/* Max. bandwidth */
			<150 10073 1338562 4096000>,
			<135 512 1338562 4096000>,
			<1 825 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 = <67 67>;
		qcom,pm-qos-cpu-groups = <0x3f 0xc0>;
		qcom,pm-qos-cmdq-latency-us = <67 67>, <67 67>;
		qcom,pm-qos-legacy-latency-us = <67 67>, <67 67>;

		clocks = <&gcc GCC_SDCC1_AHB_CLK>,
			<&gcc GCC_SDCC1_APPS_CLK>,
			<&gcc GCC_SDCC1_ICE_CORE_CLK>;
@@ -2242,6 +2292,51 @@

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

		qcom,msm-bus,name = "sdhc2";
		qcom,msm-bus,num-cases = <8>;
		qcom,msm-bus,num-paths = <3>;
		qcom,msm-bus,vectors-KBps =
			/* No vote */
			<81 10073 0 0>,
			<135 512 0 0>,
			<1 825 0 0>,
			/* 400 KB/s*/
			<81 10073 1000 7600>,
			<135 512 1000 90000>,
			<1 825 2000 6600>,
			/* 20 MB/s */
			<81 10073 25000 76000>,
			<135 512 25000 900000>,
			<1 825 20000 66000>,
			/* 25 MB/s */
			<81 10073 50000 76000>,
			<135 512 50000 900000>,
			<1 825 30000 66000>,
			/* 50 MB/s */
			<81 10073 50000 76000>,
			<135 512 80000 900000>,
			<1 825 40000 66000>,
			/* 100 MB/s */
			<81 10073 50000 76000>,
			<135 512 100000 900000>,
			<1 825 50000 66000>,
			/* 200 MB/s */
			<81 10073 261438 2300000>,
			<135 512 261438 4700000>,
			<1 825 300000 300000>,
			/* Max. bandwidth */
			<81 10073 1338562 4096000>,
			<135 512 1338562 4096000>,
			<1 825 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 = <67 67>;
		qcom,pm-qos-cpu-groups = <0x3f 0xc0>;
		qcom,pm-qos-legacy-latency-us = <67 67>, <67 67>;

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