[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241210174554.18869-2-johnliu@nvidia.com>
Date: Tue, 10 Dec 2024 09:45:50 -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 1/5] dt-bindings: display: tegra: Add actmon information
An activity monitor (actmon) is used to measure the device runtime
utilization to help drive software power management policies.
Extend the reg space to include actmon aperture for actmon configuration
through host1x.
Extend the number of clocks to include actmon clock, which is shared
between unit actmons for different host1x clients.
Signed-off-by: Johnny Liu <johnliu@...dia.com>
---
.../display/tegra/nvidia,tegra20-host1x.yaml | 45 ++++++++++++++++---
1 file changed, 39 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml
index 3563378a01af4..46e1d27ddef8b 100644
--- a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml
+++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml
@@ -32,11 +32,11 @@ properties:
reg:
minItems: 1
- maxItems: 3
+ maxItems: 4
reg-names:
minItems: 1
- maxItems: 3
+ maxItems: 4
interrupts:
minItems: 1
@@ -60,12 +60,12 @@ properties:
maxItems: 1
clocks:
- description: Must contain one entry, for the module clock. See
- ../clocks/clock-bindings.txt for details.
+ minItems: 1
+ maxItems: 2
clock-names:
- items:
- - const: host1x
+ minItems: 1
+ maxItems: 2
resets:
minItems: 1 # MC reset is optional on Tegra186 and later
@@ -132,6 +132,15 @@ allOf:
items:
- const: syncpt
- const: host1x
+
+ clocks:
+ items:
+ - description: host1x clock
+
+ clock-names:
+ items:
+ - const: host1x
+
required:
- resets
- reset-names
@@ -170,6 +179,14 @@ allOf:
- const: syncpt
- const: host1x
+ clocks:
+ items:
+ - description: host1x clock
+
+ clock-names:
+ items:
+ - const: host1x
+
iommu-map:
description: Specification of stream IDs available for memory context device
use. Should be a mapping of IDs 0..n to IOMMU entries corresponding to
@@ -195,16 +212,20 @@ allOf:
then:
properties:
reg-names:
+ minItems: 3
items:
- const: common
- const: hypervisor
- const: vm
+ - const: actmon
reg:
+ minItems: 3
items:
- description: region used by host1x server
- description: region used by the hypervisor
- description: region assigned to the virtual machine
+ - description: region used for configuring actmon for host1x clients
interrupts:
items:
@@ -230,6 +251,18 @@ allOf:
- const: syncpt7
- const: host1x
+ clocks:
+ minItems: 1
+ items:
+ - description: host1x clock
+ - description: actmon clock
+
+ clock-names:
+ minItems: 1
+ items:
+ - const: host1x
+ - const: actmon
+
iommu-map:
description: Specification of stream IDs available for memory context device
use. Should be a mapping of IDs 0..n to IOMMU entries corresponding to
--
2.34.1
Powered by blists - more mailing lists