Can't read temperature

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't read temperature

Jump to solution
344 Views
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?

 

Labels (2)
0 Kudos
1 Solution
64 Views
Senior Contributor I

Found the issue.

Made a mistake in the .dts file.

View solution in original post

0 Kudos
2 Replies
65 Views
Senior Contributor I

Found the issue.

Made a mistake in the .dts file.

View solution in original post

0 Kudos
64 Views
NXP TechSupport
NXP TechSupport

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 Kudos