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

Commit 6cf748b8 authored by Rama Aparna Mallavarapu's avatar Rama Aparna Mallavarapu
Browse files

dt-bindings: devfreq: Add DT bindings for bimc bwmon driver



This patch adds the DT bindings for devfreq bimc bandwidth
monitor driver.

Change-Id: I5fc76144fa657008108644af1f97e833e8cfb1a5
Signed-off-by: default avatarRama Aparna Mallavarapu <aparnam@codeaurora.org>
parent 2ad4263c
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
MSM BIMC bandwidth monitor device

bimc-bwmon is a device that represents the MSM BIMC bandwidth monitors that
can be used to measure the bandwidth of read/write traffic from the BIMC
master ports. For example, the CPU subsystem sits on one BIMC master port.

Required properties:
- compatible:		Must be "qcom,bimc-bwmon"
- reg:			Pairs of physical base addresses and region sizes of
			memory mapped registers.
- reg-names:		Names of the bases for the above registers. Expected
			bases are: "base", "global_base"
- interrupts:		Lists the threshold IRQ.
- qcom,mport:		The hardware master port that this device can monitor
- qcom,target-dev:	The DT device that corresponds to this master port

Example:
	qcom,cpu-bwmon {
		compatible = "qcom,bimc-bwmon";
		reg = <0xfc388000 0x300>, <0xfc381000 0x200>;
		reg-names = "base", "global_base";
		interrupts = <0 183 1>;
		qcom,mport = <0>;
		qcom,target-dev = <&cpubw>;
	};