From: Liu Ying <victor.liu@nxp.com>
To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org
Cc: p.zabel@pengutronix.de, airlied@gmail.com, simona@ffwll.ch,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de,
kernel@pengutronix.de, festevam@gmail.com, tglx@linutronix.de,
vkoul@kernel.org, kishon@kernel.org, Frank.Li@nxp.com,
lumag@kernel.org, aisheng.dong@nxp.com, agx@sigxcpu.org,
u.kleine-koenig@baylibre.com, francesco@dolcini.it,
dmitry.baryshkov@linaro.org
Subject: [PATCH v9 05/19] dt-bindings: display: imx: Add i.MX8qxp Display Controller AXI performance counter
Date: Mon, 14 Apr 2025 11:50:14 +0800 [thread overview]
Message-ID: <20250414035028.1561475-6-victor.liu@nxp.com> (raw)
In-Reply-To: <20250414035028.1561475-1-victor.liu@nxp.com>
i.MX8qxp Display Controller contains a AXI performance counter which allows
measurement of average bandwidth and latency during operation.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
---
v9:
* No change.
v8:
* No change.
v7:
* No change.
v6:
* No change.
v5:
* No change.
v4:
* Collect Rob's R-b tag.
v3:
* New patch. (Rob)
...sl,imx8qxp-dc-axi-performance-counter.yaml | 57 +++++++++++++++++++
1 file changed, 57 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dc-axi-performance-counter.yaml
diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dc-axi-performance-counter.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dc-axi-performance-counter.yaml
new file mode 100644
index 000000000000..1d6501afc7f2
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dc-axi-performance-counter.yaml
@@ -0,0 +1,57 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-axi-performance-counter.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Freescale i.MX8qxp Display Controller AXI Performance Counter
+
+description: |
+ Performance counters are provided to allow measurement of average bandwidth
+ and latency during operation. The following features are supported:
+
+ * Manual and timer controlled measurement mode.
+
+ * Measurement counters:
+ - GLOBAL_COUNTER for overall measurement time
+ - BUSY_COUNTER for number of data bus busy cycles
+ - DATA_COUNTER for number of data transfer cycles
+ - TRANSFER_COUNTER for number of transfers
+ - ADDRBUSY_COUNTER for number of address bus busy cycles
+ - LATENCY_COUNTER for average latency
+
+ * Counter overflow detection.
+
+ * Outstanding Transfer Counters (OTC) which are used for latency measurement
+ have to run immediately after reset, but can be disabled by software when
+ there is no need for latency measurement.
+
+maintainers:
+ - Liu Ying <victor.liu@nxp.com>
+
+properties:
+ compatible:
+ const: fsl,imx8qxp-dc-axi-performance-counter
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - clocks
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/imx8-lpcg.h>
+
+ pmu@5618f000 {
+ compatible = "fsl,imx8qxp-dc-axi-performance-counter";
+ reg = <0x5618f000 0x90>;
+ clocks = <&dc0_lpcg IMX_LPCG_CLK_5>;
+ };
--
2.34.1
next prev parent reply other threads:[~2025-04-14 3:50 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-14 3:50 [PATCH v9 00/19] Add Freescale i.MX8qxp Display Controller support Liu Ying
2025-04-14 3:50 ` [PATCH v9 01/19] dt-bindings: display: imx: Add i.MX8qxp Display Controller processing units Liu Ying
2025-04-14 3:50 ` [PATCH v9 02/19] dt-bindings: display: imx: Add i.MX8qxp Display Controller blit engine Liu Ying
2025-04-14 3:50 ` [PATCH v9 03/19] dt-bindings: display: imx: Add i.MX8qxp Display Controller display engine Liu Ying
2025-04-14 3:50 ` [PATCH v9 04/19] dt-bindings: display: imx: Add i.MX8qxp Display Controller pixel engine Liu Ying
2025-04-14 3:50 ` Liu Ying [this message]
2025-04-14 3:50 ` [PATCH v9 06/19] dt-bindings: display: imx: Add i.MX8qxp Display Controller command sequencer Liu Ying
2025-04-14 3:50 ` [PATCH v9 07/19] dt-bindings: interrupt-controller: Add i.MX8qxp Display Controller interrupt controller Liu Ying
2025-04-14 3:50 ` [PATCH v9 08/19] dt-bindings: display: imx: Add i.MX8qxp Display Controller Liu Ying
2025-04-14 3:50 ` [PATCH v9 09/19] drm/imx: Add i.MX8qxp Display Controller display engine Liu Ying
2025-04-14 3:50 ` [PATCH v9 10/19] drm/imx: Add i.MX8qxp Display Controller pixel engine Liu Ying
2025-04-14 3:50 ` [PATCH v9 11/19] drm/imx: Add i.MX8qxp Display Controller interrupt controller Liu Ying
2025-04-14 3:50 ` [PATCH v9 12/19] drm/imx: Add i.MX8qxp Display Controller KMS Liu Ying
2025-04-14 3:50 ` [PATCH v9 13/19] MAINTAINERS: Add maintainer for i.MX8qxp Display Controller Liu Ying
2025-04-14 3:50 ` [DO NOT MERGE PATCH v9 14/19] dt-bindings: phy: mixel, mipi-dsi-phy: Allow assigned-clock* properties Liu Ying
2025-04-14 3:50 ` [DO NOT MERGE PATCH v9 15/19] dt-bindings: firmware: imx: Add SCU controlled display pixel link nodes Liu Ying
2025-04-14 3:50 ` [DO NOT MERGE PATCH v9 16/19] arm64: dts: imx8qxp: Add display controller subsystem Liu Ying
2025-04-14 3:50 ` [DO NOT MERGE PATCH v9 17/19] arm64: dts: imx8qxp: Add MIPI-LVDS combo subsystems Liu Ying
2025-04-14 3:50 ` [DO NOT MERGE PATCH v9 18/19] arm64: dts: imx8qxp-mek: Enable display controller Liu Ying
2025-04-14 3:50 ` [DO NOT MERGE PATCH v9 19/19] arm64: dts: imx8qxp-mek: Add MX8-DLVDS-LCD1 display module support Liu Ying
2025-05-07 7:19 ` [PATCH v9 00/19] Add Freescale i.MX8qxp Display Controller support Liu Ying
2025-05-14 9:05 ` Liu Ying
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=20250414035028.1561475-6-victor.liu@nxp.com \
--to=victor.liu@nxp.com \
--cc=Frank.Li@nxp.com \
--cc=agx@sigxcpu.org \
--cc=airlied@gmail.com \
--cc=aisheng.dong@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=festevam@gmail.com \
--cc=francesco@dolcini.it \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=lumag@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=simona@ffwll.ch \
--cc=tglx@linutronix.de \
--cc=tzimmermann@suse.de \
--cc=u.kleine-koenig@baylibre.com \
--cc=vkoul@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;
as well as URLs for NNTP newsgroup(s).