1094332d3Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
2094332d3Sopenharmony_ci<!-- Copyright (c) 2023 Huawei Device Co., Ltd.
3094332d3Sopenharmony_ci
4094332d3Sopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
5094332d3Sopenharmony_ci     you may not use this file except in compliance with the License.
6094332d3Sopenharmony_ci     You may obtain a copy of the License at
7094332d3Sopenharmony_ci
8094332d3Sopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
9094332d3Sopenharmony_ci
10094332d3Sopenharmony_ci     Unless required by applicable law or agreed to in writing, software
11094332d3Sopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
12094332d3Sopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13094332d3Sopenharmony_ci     See the License for the specific language governing permissions and
14094332d3Sopenharmony_ci     limitations under the License.
15094332d3Sopenharmony_ci-->
16094332d3Sopenharmony_ci<thermal version="0.01" product="lya">
17094332d3Sopenharmony_ci
18094332d3Sopenharmony_ci    <base>
19094332d3Sopenharmony_ci        <item tag="sim_tz" value="1"/>
20094332d3Sopenharmony_ci    </base>
21094332d3Sopenharmony_ci
22094332d3Sopenharmony_ci    <polling name="thermal">
23094332d3Sopenharmony_ci        <group name="actual" interval="30000">
24094332d3Sopenharmony_ci            <thermal_zone type="soc-thermal"/>
25094332d3Sopenharmony_ci            <thermal_zone type="gpu-thermal"/>
26094332d3Sopenharmony_ci        </group>
27094332d3Sopenharmony_ci        <group name="sim" interval="30000">
28094332d3Sopenharmony_ci            <thermal_node type="soc" path="data/service/el0/thermal/sensor/soc/temp"/>
29094332d3Sopenharmony_ci            <thermal_node type="cpu" path="data/service/el0/thermal/sensor/cpu/temp"/>
30094332d3Sopenharmony_ci            <thermal_node type="ap" path="data/service/el0/thermal/sensor/ap/temp"/>
31094332d3Sopenharmony_ci            <thermal_node type="pa" path="data/service/el0/thermal/sensor/pa/temp"/>
32094332d3Sopenharmony_ci            <thermal_node type="ambient" path="data/service/el0/thermal/sensor/ambient/temp"/>
33094332d3Sopenharmony_ci            <thermal_node type="charger" path="data/service/el0/thermal/sensor/charger/temp"/>
34094332d3Sopenharmony_ci            <thermal_node type="battery" path="data/service/el0/thermal/sensor/battery/temp"/>
35094332d3Sopenharmony_ci            <thermal_node type="shell" path="data/service/el0/thermal/sensor/shell/temp"/>
36094332d3Sopenharmony_ci        </group>
37094332d3Sopenharmony_ci    </polling>
38094332d3Sopenharmony_ci
39094332d3Sopenharmony_ci    <polling name="fan">
40094332d3Sopenharmony_ci        <group name="actual" interval="30000">
41094332d3Sopenharmony_ci            <thermal_zone type="soc-thermal"/>
42094332d3Sopenharmony_ci            <thermal_zone type="gpu-thermal"/>
43094332d3Sopenharmony_ci            <thermal_zone type="fan"/>
44094332d3Sopenharmony_ci        </group>
45094332d3Sopenharmony_ci        <group name="sim" interval="30000">
46094332d3Sopenharmony_ci            <thermal_node type="soc" path="data/service/el0/thermal/sensor/soc/temp"/>
47094332d3Sopenharmony_ci            <thermal_node type="gpu" path="data/service/el0/thermal/sensor/gpu/temp"/>
48094332d3Sopenharmony_ci            <thermal_node type="fan" path="data/service/el0/thermal/sensor/fan/speed"/>
49094332d3Sopenharmony_ci        </group>
50094332d3Sopenharmony_ci    </polling>
51094332d3Sopenharmony_ci
52094332d3Sopenharmony_ci    <tracing outpath="/data/log/thermal/thermal-log">
53094332d3Sopenharmony_ci        <node>
54094332d3Sopenharmony_ci            <title path="sys/class/thermal/thermal_zone0/type"/>
55094332d3Sopenharmony_ci            <value path="sys/class/thermal/thermal_zone0/temp"/>
56094332d3Sopenharmony_ci        </node>
57094332d3Sopenharmony_ci        <node>
58094332d3Sopenharmony_ci            <title name="gpu-thermal"/>
59094332d3Sopenharmony_ci            <value path="sys/class/thermal/thermal_zone1/temp"/>
60094332d3Sopenharmony_ci        </node>
61094332d3Sopenharmony_ci    </tracing>
62094332d3Sopenharmony_ci
63094332d3Sopenharmony_ci    <isolate>
64094332d3Sopenharmony_ci        <group name="actual">
65094332d3Sopenharmony_ci            <thermal_node type="soc" />
66094332d3Sopenharmony_ci        </group>
67094332d3Sopenharmony_ci        <group name="sim">
68094332d3Sopenharmony_ci            <thermal_node type="soc" path="/data/service/el0/thermal/sensor/soc/isolate"/>
69094332d3Sopenharmony_ci        </group>
70094332d3Sopenharmony_ci    </isolate>
71094332d3Sopenharmony_ci</thermal>
72