From d9ddff8a9fb9182c30d3716ebcc04d1c16d632cd Mon Sep 17 00:00:00 2001 From: Amir Vajid Date: Wed, 2 Jan 2019 14:11:11 -0800 Subject: [PATCH] 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 --- bindings/perf/qcom-llcc-pmu.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 bindings/perf/qcom-llcc-pmu.txt diff --git a/bindings/perf/qcom-llcc-pmu.txt b/bindings/perf/qcom-llcc-pmu.txt new file mode 100644 index 000000000000..7b1a18eb3893 --- /dev/null +++ b/bindings/perf/qcom-llcc-pmu.txt @@ -0,0 +1,22 @@ +* 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 one resource, a pair of the form + < base_address total_size > representing the DDR_LAGG + region. +- reg-names : Shall be "lagg-base". + +Example: + llcc_pmu: llcc-pmu { + compatible = "qcom,qcom-llcc-pmu"; + reg = < 0x090CC000 0x300 >; + reg-names = "lagg-base"; + };