imx8mp: read temperature

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8mp: read temperature

694件の閲覧回数
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 返答(返信)