[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241210174554.18869-3-johnliu@nvidia.com>
Date: Tue, 10 Dec 2024 09:45:51 -0800
From: Johnny Liu <johnliu@...dia.com>
To: <thierry.reding@...il.com>, <jonathanh@...dia.com>,
<skomatineni@...dia.com>, <luca.ceresoli@...tlin.com>,
<mperttunen@...dia.com>, <maarten.lankhorst@...ux.intel.com>,
<mripard@...nel.org>, <tzimmermann@...e.de>, <airlied@...il.com>,
<simona@...ll.ch>, <robh@...nel.org>, <krzk+dt@...nel.org>,
<conor+dt@...nel.org>
CC: <linux-media@...r.kernel.org>, <linux-tegra@...r.kernel.org>,
<dri-devel@...ts.freedesktop.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Johnny Liu <johnliu@...dia.com>
Subject: [PATCH v1 2/5] arm64: tegra: Add actmon information
An activity monitor (actmon) is used to measure the device runtime
utilization to help drive software power management policies.
Configuration of actmon is under the host1x address space. Therefore,
add the actmon aperture under the host1x.
All unit actmons for host1x clients share the same actmon clock source
from host1x. Therefore, add the clock phandle in host1x.
Signed-off-by: Johnny Liu <johnliu@...dia.com>
---
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 984c85eab41af..8faeef83d7596 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -4313,8 +4313,9 @@ host1x@...00000 {
compatible = "nvidia,tegra234-host1x";
reg = <0x0 0x13e00000 0x0 0x10000>,
<0x0 0x13e10000 0x0 0x10000>,
- <0x0 0x13e40000 0x0 0x10000>;
- reg-names = "common", "hypervisor", "vm";
+ <0x0 0x13e40000 0x0 0x10000>,
+ <0x0 0x13ef0000 0x0 0x60000>;
+ reg-names = "common", "hypervisor", "vm", "actmon";
interrupts = <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 449 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 450 IRQ_TYPE_LEVEL_HIGH>,
@@ -4326,8 +4327,9 @@ host1x@...00000 {
<GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "syncpt0", "syncpt1", "syncpt2", "syncpt3", "syncpt4",
"syncpt5", "syncpt6", "syncpt7", "host1x";
- clocks = <&bpmp TEGRA234_CLK_HOST1X>;
- clock-names = "host1x";
+ clocks = <&bpmp TEGRA234_CLK_HOST1X>,
+ <&bpmp TEGRA234_CLK_ACTMON>;
+ clock-names = "host1x", "actmon";
#address-cells = <2>;
#size-cells = <2>;
--
2.34.1
Powered by blists - more mailing lists