Linux Perf Users
 help / color / mirror / Atom feed
From: MANNURU VENKATESWARLU <v-mannuru@ti.com>
To: <will@kernel.org>, <mark.rutland@arm.com>, <krzk+dt@kernel.org>,
	<robh@kernel.org>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<linux-perf-users@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<n-francis@ti.com>, <s-k6@ti.com>, <bb@ti.com>,
	<v-mannuru@ti.com>
Subject: [RFC PATCH 04/22] dt-bindings: perf: ti,k3-ddr-pmu: Add K3 DDR PMU binding
Date: Tue, 14 Jul 2026 18:25:48 +0530	[thread overview]
Message-ID: <20260714125548.3304257-1-v-mannuru@ti.com> (raw)

From: Aarya Chaumal <a-chaumal@ti.com>

Add device tree binding for the DDR performance monitoring unit in TI K3
SoCs.

Signed-off-by: Aarya Chaumal <a-chaumal@ti.com>
Signed-off-by: MANNURU VENKATESWARLU <v-mannuru@ti.com>
---
 .../bindings/perf/ti,k3-ddr-pmu.yaml          | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/perf/ti,k3-ddr-pmu.yaml

diff --git a/Documentation/devicetree/bindings/perf/ti,k3-ddr-pmu.yaml b/Documentation/devicetree/bindings/perf/ti,k3-ddr-pmu.yaml
new file mode 100644
index 0000000000000..575a51e406001
--- /dev/null
+++ b/Documentation/devicetree/bindings/perf/ti,k3-ddr-pmu.yaml
@@ -0,0 +1,40 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/perf/ti,k3-ddr-pmu.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments K3 DDR performance monitor
+
+maintainers:
+  - Bryan Brattlof <bb@ti.com>
+
+description: |
+  TI K3 SoCs contain DDR performance counters inside the VBUSM to
+  Cadence AXI bridge within the DDR subsystem (SSCFG region). There
+  are four counters, each programmed independently via a 6-bit field
+  in a single control register. Each counter can track one of the
+  hardware events listed in the SoC Technical Reference Manual (e.g.
+  read commands, write commands, refresh cycles).
+
+properties:
+  compatible:
+    const: ti,k3-ddr-pmu
+
+  reg:
+    maxItems: 1
+    description: Counter select register and counter registers within
+      the DDR subsystem SSCFG address space.
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    ddr_pmu0: ddr-pmu@100 {
+        compatible = "ti,k3-ddr-pmu";
+        reg = <0x00 0x100 0x00 0x14>;
+    };
-- 
2.34.1


                 reply	other threads:[~2026-07-14 12:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260714125548.3304257-1-v-mannuru@ti.com \
    --to=v-mannuru@ti.com \
    --cc=bb@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=n-francis@ti.com \
    --cc=robh@kernel.org \
    --cc=s-k6@ti.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox