From: Vivek Yadav <vivek.2311@samsung.com>
To: pankaj.dubey@samsung.com, ravi.patel@samsung.com,
shradha.t@samsung.com, mturquette@baylibre.com, sboyd@kernel.org,
robh@kernel.org, krzk@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, will@kernel.org, mark.rutland@arm.com,
s.nawrocki@samsung.com, cw00.choi@samsung.com,
alim.akhtar@samsung.com, linux-fsd@tesla.com
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-perf-users@vger.kernel.org,
linux-samsung-soc@vger.kernel.org,
Vivek Yadav <vivek.2311@samsung.com>
Subject: [PATCH 3/6] dt-bindings: perf: Add devicetree binding for custom PPMU
Date: Tue, 8 Jul 2025 16:02:05 +0530 [thread overview]
Message-ID: <20250708103208.79444-4-vivek.2311@samsung.com> (raw)
In-Reply-To: <20250708103208.79444-1-vivek.2311@samsung.com>
Add the dt-binding documentation for the Samsung specific
Platform Performance Monitoring Unit (PPMU) driver which provides
performance statistics for AXI bus masters such as MFC.
Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
Signed-off-by: Vivek Yadav <vivek.2311@samsung.com>
---
.../bindings/perf/samsung,ppmu-v2.yaml | 62 +++++++++++++++++++
1 file changed, 62 insertions(+)
create mode 100644 Documentation/devicetree/bindings/perf/samsung,ppmu-v2.yaml
diff --git a/Documentation/devicetree/bindings/perf/samsung,ppmu-v2.yaml b/Documentation/devicetree/bindings/perf/samsung,ppmu-v2.yaml
new file mode 100644
index 000000000000..d137d06b7034
--- /dev/null
+++ b/Documentation/devicetree/bindings/perf/samsung,ppmu-v2.yaml
@@ -0,0 +1,62 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/perf/samsung,ppmu-v2.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung PPMU (Platform Performance Monitoring Unit)
+
+maintainers:
+ - Vivek Yadav <vivek.2311@samsung.com>
+ - Ravi Patel <ravi.patel@samsung.com>
+
+description:
+ PPMU (Platform Performance Monitoring Unit) provides performance statistics
+ such as bandwidth, read and write request, transactions count for AXI masters
+ like MFC.
+
+properties:
+ compatible:
+ const: samsung,ppmu-v2
+
+ reg:
+ maxItems: 1
+ description: Memory-mapped register address
+
+ clocks:
+ items:
+ - description: AXI bus clock
+ - description: Peripheral clock
+
+ clock-names:
+ items:
+ - const: aclk
+ - const: pclk
+
+ interrupts:
+ items:
+ - description: Overflow interrupt for Counters
+ - description: Conditional Interrupt Generation (CIG)
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - interrupts
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/fsd-clk.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ ppmu@12840000 {
+ compatible = "samsung,ppmu-v2";
+ reg = <0x12840000 0x1000>;
+ interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clock_mfc MFC_PPMU_MFCD0_IPCLKPORT_ACLK>,
+ <&clock_mfc MFC_PPMU_MFCD0_IPCLKPORT_PCLK>;
+ clock-names = "aclk", "pclk";
+ };
--
2.49.0
next prev parent reply other threads:[~2025-07-08 10:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20250708103228epcas5p27886821d1ff225f2e5cdd4d948d03a66@epcas5p2.samsung.com>
2025-07-08 10:32 ` [PATCH 0/6] Add PPMU support for Tesla FSD Vivek Yadav
[not found] ` <CGME20250708103231epcas5p1b9fe52dd6ea3cdd65a5df163ba05e139@epcas5p1.samsung.com>
2025-07-08 10:32 ` [PATCH 1/6] dt-bindings: clock: Add PPMU clock definitions for FSD platform Vivek Yadav
[not found] ` <CGME20250708103234epcas5p1a92b0b57315f6e81c906fedcc232c279@epcas5p1.samsung.com>
2025-07-08 10:32 ` [PATCH 2/6] clk: samsung: fsd: Use clock IDs for PPMU MFC block Vivek Yadav
[not found] ` <CGME20250708103237epcas5p1c4c5d7a5f43c0c88317e74d2f2458a1b@epcas5p1.samsung.com>
2025-07-08 10:32 ` Vivek Yadav [this message]
2025-07-09 14:01 ` [PATCH 3/6] dt-bindings: perf: Add devicetree binding for custom PPMU Krzysztof Kozlowski
[not found] ` <CGME20250708103240epcas5p336539d4c3a1fb489708c61f9aae6bfa8@epcas5p3.samsung.com>
2025-07-08 10:32 ` [PATCH 4/6] drivers: perf: samsung: Add PPMU driver support Vivek Yadav
2025-07-09 14:05 ` Krzysztof Kozlowski
2025-07-11 14:45 ` Jonathan Cameron
[not found] ` <CGME20250708103243epcas5p2d8fd5bf02e64e104eca3def802813230@epcas5p2.samsung.com>
2025-07-08 10:32 ` [PATCH 5/6] arm64: dts: fsd: Add PPMU support for MFC block of FSD SoC Vivek Yadav
2025-07-09 14:02 ` Krzysztof Kozlowski
[not found] ` <CGME20250708103246epcas5p47b446ec342f9d49361c0a9a3929bcdd2@epcas5p4.samsung.com>
2025-07-08 10:32 ` [PATCH 6/6] MAINTAINERS: Add maintainers for Samsung PPMU driver Vivek Yadav
2025-07-09 14:06 ` Krzysztof Kozlowski
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=20250708103208.79444-4-vivek.2311@samsung.com \
--to=vivek.2311@samsung.com \
--cc=alim.akhtar@samsung.com \
--cc=conor+dt@kernel.org \
--cc=cw00.choi@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-fsd@tesla.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mturquette@baylibre.com \
--cc=pankaj.dubey@samsung.com \
--cc=ravi.patel@samsung.com \
--cc=robh@kernel.org \
--cc=s.nawrocki@samsung.com \
--cc=sboyd@kernel.org \
--cc=shradha.t@samsung.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
all inboxes | Powered by JetHome®