imx8mp: read temperature

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8mp: read temperature

690 次查看
arno_0
Contributor III

Would like to read temperature of SoC. It looks like as it should work with:

cat /sys/devices/virtual/thermal/thermal_zone0/temp

cat /sys/devices/virtual/thermal/thermal_zone1/temp

but I cat a read error that Resource temporarily unavailable.

So what can be the reason for that? In kernel there are drivers for nxp, I guess it is the imx_thermal.c. Do I miss something? Anything I have to do in devicetree?  As of now  it shouldn't do any action like thermal shutdown, just return temperature.

 

0 项奖励
回复
0 回复数