Skip to content

Commit ffff5e7

Browse files
committed
dt-bindings: memory: tegra210: Mark EMC as cooling device
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>
1 parent 834e6bd commit ffff5e7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,17 @@ properties:
5252
Should contain freqs and voltages and opp-supported-hw property, which
5353
is a bitfield indicating SoC speedo ID mask.
5454

55+
allOf:
56+
- $ref: /schemas/thermal/thermal-cooling-devices.yaml
57+
5558
required:
5659
- compatible
5760
- reg
5861
- clocks
5962
- clock-names
6063
- nvidia,memory-controller
6164

62-
additionalProperties: false
65+
unevaluatedProperties: false
6366

6467
examples:
6568
- |
@@ -90,4 +93,5 @@ examples:
9093
operating-points-v2 = <&dvfs_opp_table>;
9194
9295
#interconnect-cells = <0>;
96+
#cooling-cells = <2>;
9397
};

0 commit comments

Comments
 (0)