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

Commit 174dcab0 authored by Faiyaz Mohammed's avatar Faiyaz Mohammed
Browse files

ARM: dts: msm: add bus scaling & gdsc info for scuba apps smmu

Add bus scaling and GDSC for scuba APPS SMMU which are voted
before accessing smmu address space.

Change-Id: I45bead31991a5c0e936ea152ed104155340e9add
parent 283999f8
Loading
Loading
Loading
Loading
+56 −15
Original line number Diff line number Diff line
@@ -122,6 +122,13 @@
					<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
					<GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
					<GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
				qcom,msm-bus,name = "apps_smmu";
				qcom,msm-bus,num-cases = <2>;
				qcom,msm-bus,active-only;
				qcom,msm-bus,num-paths = <1>;
				qcom,msm-bus,vectors-KBps =
					<MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_TCU 0 0>,
					<MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_TCU 0 1000>;

				anoc_1_tbu: anoc_1_tbu@0xc785000 {
					compatible = "qcom,qsmmuv500-tbu";
@@ -129,6 +136,16 @@
						<0xc782200 0x8>;
					reg-names = "base", "status-reg";
					qcom,stream-id-range = <0x0 0x400>;
					qcom,msm-bus,name = "apps_smmu";
					qcom,msm-bus,num-cases = <2>;
					qcom,msm-bus,active-only;
					qcom,msm-bus,num-paths = <2>;
					qcom,msm-bus,vectors-KBps =
						<MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_TCU 0 0>,
						<MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IMEM_CFG 0 0>,
						<MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_TCU 0 1000>,
						<MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IMEM_CFG 0 1000>;

				};

				mm_rt_tbu: mm_rt_tbu@0xc789000 {
@@ -137,6 +154,18 @@
						<0xc782208 0x8>;
					reg-names = "base", "status-reg";
					qcom,stream-id-range = <0x400 0x400>;
					qcom,regulator-names = "vdd";
					vdd-supply = <&hlos1_vote_mm_snoc_mmu_tbu_rt_gdsc>;
					qcom,msm-bus,name = "apps_smmu";
					qcom,msm-bus,num-cases = <2>;
					qcom,msm-bus,active-only;
					qcom,msm-bus,num-paths = <2>;
					qcom,msm-bus,vectors-KBps =
						<MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_TCU 0 0>,
						<MSM_BUS_MASTER_MDP_PORT0 MSM_BUS_SLAVE_SNOC_BIMC_RT 0 0>,
						<MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_TCU 0 1000>,
						<MSM_BUS_MASTER_MDP_PORT0 MSM_BUS_SLAVE_SNOC_BIMC_RT 0 1000>;

				};

				mm_nrt_tbu: mm_nrt_tbu@0xc78d000 {
@@ -145,6 +174,18 @@
						<0xc782210 0x8>;
					reg-names = "base", "status-reg";
					qcom,stream-id-range = <0x800 0x400>;
					qcom,regulator-names = "vdd";
					vdd-supply = <&hlos1_vote_mm_snoc_mmu_tbu_nrt_gdsc>;
					qcom,msm-bus,name = "apps_smmu";
					qcom,msm-bus,num-cases = <2>;
					qcom,msm-bus,active-only;
					qcom,msm-bus,num-paths = <2>;
					qcom,msm-bus,vectors-KBps =
						<MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_TCU 0 0>,
						<MSM_BUS_MASTER_CAMNOC_SF MSM_BUS_SLAVE_SNOC_BIMC_NRT 0 0>,
						<MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_TCU 0 1000>,
						<MSM_BUS_MASTER_CAMNOC_SF MSM_BUS_SLAVE_SNOC_BIMC_NRT 0 1000>;

				};

	};