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?
Solved! Go to Solution.
Found the issue.
Made a mistake in the .dts file.
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!
-----------------------------------------------------------------------------------------------------------------------