How can I enable temperature sensor in Linux Kernel?

How can I enable temperature sensor in Linux Kernel?

its already enable in the latest images

@ric96
But it isn’t working with my kernel config ( android kernel for linux ) :frowning:

Thermal driver has been enabled by default in 4.4 kernel configuration. Could you check these configurations:

CONFIG_THERMAL=y
CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y
CONFIG_CPU_THERMAL=y
CONFIG_HI3660_THERMAL=y