RK3588 七通道温区与冷却拓扑
1. Channel映射
| channel | zone type | 用途 |
|---|---|---|
| 0 | soc-thermal | top/SoC控制温度 |
| 1 | bigcore0-thermal | 大核簇0 |
| 2 | bigcore1-thermal | 大核簇1 |
| 3 | littlecore-thermal | 小核簇 |
| 4 | center-thermal | 中心区域 |
| 5 | gpu-thermal | GPU |
| 6 | npu-thermal | NPU |
名称来自本树 DTS与 driver注释。
2. Soc zone
1 | 75°C passive threshold, hyst 2°C |
3. Cooling map
85°C target绑定:
1 | cpu_l0 little cluster |
每项 contribution 1024,上下限均 NO_LIMIT。
4. Local zones
其它六个 zone每个只有115°C critical,没有普通 passive cooling map。其主要作用是发现局部 hotspot并触发安全关机。
5. NPU
npu-thermal 监测 NPU热点,但公共 cooling map不引用 NPU。NPU可能由其它系统监控/devfreq策略管理;不能根据有 thermal zone就断言 Thermal Core会直接降 NPU频率。
6. TSADC节点
1 | base 0xfec00000 |
SoC基础节点 disabled,板级 DTS需启用。
7. 软件与硬件阈值
1 | 85°C: 开始主要 cooling control |
5°C margin是否足够要结合过热斜率、关机耗时和传感器误差验证。
8. Power allocator
控制基于 channel0 soc temp和2100mW sustainable power。局部 big/GPU/NPU温度在到115°C前不参与该 zone PID输入,因此高局部热点场景必须实测。
9. 风扇
公共 soc-thermal map未绑定 pwm-fan。部分板的厂商 pwm-fan通过 rockchip,temp-trips和 system monitor notifier独立控制,形成与 Thermal Core并行路径。
10. 观测
1 | for z in /sys/class/thermal/thermal_zone*; do |
正在加载留言…