你好,我想问一下imx8qxp cpu降频的温度阈值是多少?
谢谢
i.MX8QXP has two thermal zones.
BSP default dts is
cpu-thermal0:
passive: 107000
critical: 127000
pmic-thermal0:
passive: 110000
critical: 125000
passive is to do protect. such as down rate of the frequency.
critical will start extremal action such as reboot or hang the cpu.
Suggest you can read the code, if you are a software engineer.
at runtime:
cpu-thermal0:
cat /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
cat /sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp
pmic-thermal0:
cat /sys/devices/virtual/thermal/thermal_zone1/trip_point_0_temp
cat /sys/devices/virtual/thermal/thermal_zone1/trip_point_1_temp
This is linux knowledge, not imx. next time check the linux document first.
Suggest you read the document to know more about thermal in Linux.
linux/Documentation/driver-api/thermal/sysfs-api.rst
policy
One of the various thermal governors used for a particular zone.
RW, Required
available_policies
Available thermal governors which can be used for a particular zone.
RO, Required
`trip_point_[0-*]_temp`
The temperature above which trip point will be fired.
Unit: millidegree Celsius
RO, Optional
`trip_point_[0-*]_type`
Strings which indicate the type of the trip point.
E.g. it can be one of critical, hot, passive, `active[0-*]` for ACPI
thermal zone.
RO, Optional
`trip_point_[0-*]_hyst`
The hysteresis value for a trip point, represented as an integer
Unit: Celsius
RW, Optional
`cdev[0-*]`
refer to the dts file, the threshold temperature is 127