Thermal sensor data not available in iMx6ull when CONFIG_FSL_OTP enabled in defconfig

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Thermal sensor data not available in iMx6ull when CONFIG_FSL_OTP enabled in defconfig

632 Views
saumil
Contributor II

Hi,

I am using iMx6ull processor and I have attached my defconfig file.

I want to read CPU temperature and for that I used to read file "/sys/class/hwmon/hwmon0/temp1_input"

When I enabled option "CONFIG_FSL_OTP=y" in my defconfig file the above file is not created.

I cannot see file path "/sys/class/hwmon/hwmonX"

Or I cannot see path "/sys/class/devices/virtual/thermal/" as well.

 

I do not understand why FSL_OTP is impacting on thermal sensor detection of imx6ull.

Is there any other option I need to enable in defconfig?

Any help will be appreciated!

Thanks in advance!

0 Kudos
1 Reply

592 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

How about this cat /sys/devices/virtual/thermal/thermal_zone0/temp?

0 Kudos