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

Commit 7f171417 authored by Neil Leeder's avatar Neil Leeder
Browse files

ARM: dts: msm: add documentation for msm pmu



Adds device tree documentation for the performance
monitor unit on msm devices.

Change-Id: Id142aaf85fde72c4a347056af7f68da318f00691
Signed-off-by: default avatarNeil Leeder <nleeder@codeaurora.org>
parent c77ec9d6
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
* Qcom Performance Monitor Units
Qcom cores have several PMUs for counting CPU side, L2 and bus side events.

For the L1CC PMU:
In most cases the L1 cache controller PMU is a per cpu unit. The irq-is-percpu
flag becomes a requirement if this is the case.

Required Properties:

- compatible : Should be "qcom,krait-pmu"
- interrupts : 1 combined interrupt or 1 per core. See the devicetree/bindings/gic.txt for more details on this format.

Optional:

- qcom,irq-is-percpu: 	Define this if the IRQ of the PMU is a PPI. This will tell perf to use
			the per_cpu IRQ API for request and free.

Example:

 arm-pmu {
                compatible = "qcom,krait-pmu";
                qcom,irq-is-percpu;
                interrupts = <1 7 0xf00>;
        };

For the L2CC PMU:
If the L2 cache controller PMU is available, its DT bindings should be defined as
follows.

Required Properties:

- compatible: Should be "qcom,l2-pmu"
- interrupts : 1 combined interrupt.

Example:

  l2-pmu {
                compatible = "qcom,l2-pmu";
                interrupts = <0 1 0>;
        };