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

Commit 983f3244 authored by Sujeev Dias's avatar Sujeev Dias Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add bus scale values for bandwidth scaling



Add bus frequency scaling support for multiple gen speeds
based on scaling requests issued by device.

CRs-Fixed: 2479785
Change-Id: Idaadc3a1cc0ca61c139e466f7ee9be9a9106b883
Acked-by: default avatarBhaumik Vasav Bhatt <bbhatt@qti.qualcomm.com>
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent 52d95679
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
 */

#include <dt-bindings/thermal/qmi_thermal.h>
#include <dt-bindings/msm/msm-bus-ids.h>

&mdm3 {
	compatible = "qcom,ext-sdxprairie";
@@ -33,6 +34,20 @@
	qcom,smmu-cfg = <0x1d>;
	qcom,addr-win = <0x0 0x20000000 0x0 0x2fffffff>;

	/* controller noc frequency scaling configuration */
	qcom,msm-bus,name = "mhi0";
	qcom,msm-bus,num-cases = <4>;
	qcom,msm-bus,num-paths = <1>;
	qcom,msm-bus,vectors-KBps =
			<MSM_BUS_MASTER_PCIE_1 MSM_BUS_SLAVE_EBI_CH0
			0 0>,
			<MSM_BUS_MASTER_PCIE_1 MSM_BUS_SLAVE_EBI_CH0
			0 0>,
			<MSM_BUS_MASTER_PCIE_1 MSM_BUS_SLAVE_EBI_CH0
			500000 0>, /* 4 Gbps */
			<MSM_BUS_MASTER_PCIE_1 MSM_BUS_SLAVE_EBI_CH0
			1000000 0>; /* 8 Gbps */

	mhi_channels {
		#address-cells = <1>;
		#size-cells = <0>;