]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: memory: tegra210: Mark EMC as cooling device
authorThierry Reding <treding@nvidia.com>
Mon, 23 Feb 2026 14:33:03 +0000 (15:33 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 27 Mar 2026 15:25:44 +0000 (16:25 +0100)
The external memory controller found on Tegra210 can use throttling of
the EMC frequency in order to reduce the memory chip temperature. Mark
the memory controller as a cooling device to take advantage of this
functionality.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml

index 4e4fb4acd7f9d376379a19b5f8e0256baaed5697..7a653a011f03f408a301c66ec62af6b3367a5f30 100644 (file)
@@ -52,6 +52,9 @@ properties:
       Should contain freqs and voltages and opp-supported-hw property, which
       is a bitfield indicating SoC speedo ID mask.
 
+allOf:
+  - $ref: /schemas/thermal/thermal-cooling-devices.yaml
+
 required:
   - compatible
   - reg
@@ -59,7 +62,7 @@ required:
   - clock-names
   - nvidia,memory-controller
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
@@ -90,4 +93,5 @@ examples:
         operating-points-v2 = <&dvfs_opp_table>;
 
         #interconnect-cells = <0>;
+        #cooling-cells = <2>;
     };