Can't read temperature

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

Can't read temperature

跳至解决方案
4,193 次查看
niklasmolin
Senior Contributor I

I'm compiling linux 4.14 for an i.mx6QP and when I'm trying to read the temperature in 

/sys/class/thermal/

there is nothing in that directory.

Is there a setting I'm missing or something I disabled in the devicetree?

 

标签 (2)
0 项奖励
回复
1 解答
3,913 次查看
niklasmolin
Senior Contributor I

Found the issue.

Made a mistake in the .dts file.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
3,914 次查看
niklasmolin
Senior Contributor I

Found the issue.

Made a mistake in the .dts file.

0 项奖励
回复
3,912 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Niklas

one can check sect.25.3.2 Menu Configuration Options attached Linux

Manual with full linux documentation in

https://www.nxp.com/webapp/Download?colCode=L4.1.15_2.1.0_LINUX_DOCS 

and dts examples in linux/arch/arm/boot/dts/imx6qp.dtsi 

linux-imx.git - i.MX Linux Kernel 

linux-imx.git - i.MX Linux Kernel 

AN5215 MX6 Temperature Sensor describes temperature module

https://www.nxp.com/docs/en/application-note/AN5215.pdf 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复