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

Commit c68505df authored by Sujit Reddy Thumma's avatar Sujit Reddy Thumma
Browse files

ARM: dts: msm: Fix bus bandwidth voting for SDHC_2 slot on 8084



Add bus bandwidth voting parameters for SDHC_2 and SDCC_1 slot,
otherwise bus hang/timeouts may be observed while accessing the
controller registers and the bus is clock gated.

CRs-Fixed: 580000
Change-Id: I2fbf2b7344081a8d31d8d115c230a31f94df84ab
Signed-off-by: default avatarSujit Reddy Thumma <sthumma@codeaurora.org>
parent 39e0d0b3
Loading
Loading
Loading
Loading
+28 −1
Original line number Diff line number Diff line
@@ -324,6 +324,19 @@
		interrupt-names = "core_irq";

		qcom,bus-width = <8>;
		qcom,msm-bus,name = "sdcc1";
		qcom,msm-bus,num-cases = <8>;
		qcom,msm-bus,num-paths = <1>;
		qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
				<78 512 1600 3200>,    /* 400 KB/s*/
				<78 512 80000 160000>, /* 20 MB/s */
				<78 512 100000 200000>, /* 25 MB/s */
				<78 512 200000 400000>, /* 50 MB/s */
				<78 512 400000 800000>, /* 100 MB/s */
				<78 512 400000 800000>, /* 200 MB/s */
				<78 512 2048000 4096000>; /* Max. bandwidth */
		qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
						100000000 200000000 4294967295>;
		status = "disabled";
	};

@@ -366,7 +379,7 @@
		qcom,bus-width = <4>;
		qcom,cpu-dma-latency-us = <200>;

		qcom,msm-bus,name = "sdhc2";
		qcom,msm-bus,name = "sdcc2";
		qcom,msm-bus,num-cases = <8>;
		qcom,msm-bus,num-paths = <1>;
		qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
@@ -392,6 +405,20 @@
		interrupt-names = "hc_irq", "pwr_irq";

		qcom,bus-width = <4>;

		qcom,msm-bus,name = "sdhc2";
		qcom,msm-bus,num-cases = <8>;
		qcom,msm-bus,num-paths = <1>;
		qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
				<81 512 1600 3200>,    /* 400 KB/s*/
				<81 512 80000 160000>, /* 20 MB/s */
				<81 512 100000 200000>, /* 25 MB/s */
				<81 512 200000 400000>, /* 50 MB/s */
				<81 512 400000 800000>, /* 100 MB/s */
				<81 512 800000 800000>, /* 200 MB/s */
				<81 512 2048000 4096000>; /* Max. bandwidth */
		qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
						100000000 200000000 4294967295>;
		status = "disabled";
	};