> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 使用冷却设备控制散热

可以调整某些组件的性能以减少散热。这些组件被视为冷却设备。CPU 核心是冷却设备，因为可以降低其性能以减少散热。

有关冷却设备的更多信息，请参见 [index: kernel/git/torvalds/linux.git](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml?h=v6.6)。

使用以下 `sysfs` 命令读取冷却设备的信息：

**注意**

表中的 `<x>` 表示冷却设备 ID。

**表：冷却设备命令说明**

| **命令**                                                | **说明**             |
| ----------------------------------------------------- | ------------------ |
| ls /sys/class/thermal/cooling\_device\*               | 列出设备包含的所有冷却设备及其 ID |
| cat /sys/class/thermal/cooling\_device\<x>/type       | 提供冷却设备的名称          |
| cat /sys/class/thermal/cooling\_device\<x>/cur\_state | 读取冷却设备当前的缓解状态      |
| cat /sys/class/thermal/cooling\_device\<x>/max\_state | 读取冷却设备支持的最大缓解状态    |

有关所有受支持平台可用的 CPU 冷却设备，请参见[平台支持 - 热管理](platform-support-thermal)。
