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

Commit 86ce02a6 authored by Rama Aparna Mallavarapu's avatar Rama Aparna Mallavarapu
Browse files

dt-bindings: perf: Add DT bindings for QCOM LLCC PMU driver



This patch adds the dt-bindings for the QCOM LLCC PMU driver
that can count misses for LLCC at a per-CPU level.

Change-Id: I33a6d0dfde620bf8023075aae3764c9077e17018
Signed-off-by: default avatarRama Aparna Mallavarapu <aparnam@codeaurora.org>
parent 9c41437c
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
* QCOM LLCC PMU Bindings

This represents the miss counters located in the LLCC hardware counters.
Only one event is supported:

 0x1000      	  - LLCC misses

The follow section describes the LLCC PMU DT node binding.

Required properties:
- compatible		: Shall be "qcom,qcom-llcc-pmu"
- reg			: There shall be two resources, each a pair of the form
			  < base_address total_size >.  One will represent the
			  DDR LAGG region, the other will represent the LLCC
			  BEAC region.
- reg-names		: There shall be two values, one 'lagg-base', one
			  'beac-base', corresponding to the order of the two
			  'reg' values.

Example:
	llcc_pmu: llcc-pmu {
		compatible = "qcom,qcom-llcc-pmu";
		reg = < 0x090CC000 0x300 >, < 0x09648000 0x110 >;
		reg-names = "lagg-base", "beac-base";
	};