69 Star 68 Fork 1K

OpenHarmony / drivers_peripheral

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
thermal_hdi_config.xml 2.87 KB
一键复制 编辑 原始数据 按行查看 历史
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2023 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<thermal version="0.01" product="lya">
<base>
<item tag="sim_tz" value="1"/>
</base>
<polling name="thermal">
<group name="actual" interval="30000">
<thermal_zone type="soc-thermal"/>
<thermal_zone type="gpu-thermal"/>
</group>
<group name="sim" interval="30000">
<thermal_node type="soc" path="data/service/el0/thermal/sensor/soc/temp"/>
<thermal_node type="cpu" path="data/service/el0/thermal/sensor/cpu/temp"/>
<thermal_node type="ap" path="data/service/el0/thermal/sensor/ap/temp"/>
<thermal_node type="pa" path="data/service/el0/thermal/sensor/pa/temp"/>
<thermal_node type="ambient" path="data/service/el0/thermal/sensor/ambient/temp"/>
<thermal_node type="charger" path="data/service/el0/thermal/sensor/charger/temp"/>
<thermal_node type="battery" path="data/service/el0/thermal/sensor/battery/temp"/>
<thermal_node type="shell" path="data/service/el0/thermal/sensor/shell/temp"/>
</group>
</polling>
<polling name="fan">
<group name="actual" interval="30000">
<thermal_zone type="soc-thermal"/>
<thermal_zone type="gpu-thermal"/>
<thermal_zone type="fan"/>
</group>
<group name="sim" interval="30000">
<thermal_node type="soc" path="data/service/el0/thermal/sensor/soc/temp"/>
<thermal_node type="gpu" path="data/service/el0/thermal/sensor/gpu/temp"/>
<thermal_node type="fan" path="data/service/el0/thermal/sensor/fan/speed"/>
</group>
</polling>
<tracing outpath="/data/log/thermal/thermal-log">
<node>
<title path="sys/class/thermal/thermal_zone0/type"/>
<value path="sys/class/thermal/thermal_zone0/temp"/>
</node>
<node>
<title name="gpu-thermal"/>
<value path="sys/class/thermal/thermal_zone1/temp"/>
</node>
</tracing>
<isolate>
<group name="actual">
<thermal_node type="soc" />
</group>
<group name="sim">
<thermal_node type="soc" path="/data/service/el0/thermal/sensor/soc/isolate"/>
</group>
</isolate>
</thermal>
1
https://gitee.com/openharmony/drivers_peripheral.git
git@gitee.com:openharmony/drivers_peripheral.git
openharmony
drivers_peripheral
drivers_peripheral
master

搜索帮助