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

Commit ca523dbc authored by Rama Aparna Mallavarapu's avatar Rama Aparna Mallavarapu
Browse files

ARM: dts: msm: Add NPU DSP Bandwidth monitor device



Kona has a new BWMON outside of NPU to monitor the traffic
from NPU DSP. Add a new BWMON device for the same. This patch
also fixes the base and global addresses for NPU BWMON.

Change-Id: I712e6b5c3390ad80315b93a31071c4607b464178
Signed-off-by: default avatarRama Aparna Mallavarapu <aparnam@codeaurora.org>
parent 05c45a66
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
@@ -1077,23 +1077,30 @@

	npu_npu_ddr_bwmon: qcom,npu-npu-ddr-bwmon@60300 {
		compatible = "qcom,bimc-bwmon4";
		reg = <0x00060300 0x300>, <0x00060400 0x200>;
		reg = <0x00060400 0x300>, <0x00060300 0x200>;
		reg-names = "base", "global_base";
		interrupts = <GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH>;
		interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>;
		qcom,mport = <0>;
		qcom,hw-timer-hz = <19200000>;
		qcom,target-dev = <&npu_npu_ddr_bw>;
		qcom,count-unit = <0x10000>;
	};

	npu_npu_ddr_bwmon_dsp: qcom,npu-npu-ddr-bwmoni_dsp@70200 {
	npudsp_npu_ddr_bw: qcom,npudsp-npu-ddr-bw {
		compatible = "qcom,devbw";
		governor = "performance";
		qcom,src-dst-ports = <MSM_BUS_MASTER_NPU MSM_BUS_SLAVE_EBI_CH0>;
		operating-points-v2 = <&suspendable_ddr_bw_opp_table>;
	};

	npudsp_npu_ddr_bwmon: qcom,npudsp-npu-ddr-bwmon@70200 {
		compatible = "qcom,bimc-bwmon4";
		reg = <0x00070200 0x300>, <0x00070300 0x200>;
		reg = <0x00070300 0x300>, <0x00070200 0x200>;
		reg-names = "base", "global_base";
		interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
		qcom,mport = <0>;
		qcom,hw-timer-hz = <19200000>;
		qcom,target-dev = <&npu_npu_ddr_bw>;
		qcom,target-dev = <&npudsp_npu_ddr_bw>;
		qcom,count-unit = <0x10000>;
	};