Generic ADC based thermal sensor

modulename: thermal-generic-adc.ko

configname: CONFIG_GENERIC_ADC_THERMAL

Linux Kernel Configuration
└─>Device Drivers
└─>Thermal drivers
└─>Generic ADC based thermal sensor
In linux kernel since version 3.10 (release Date: 2013-06-30)  
This enabled a thermal sysfs driver for the temperature sensor
which is connected to the General Purpose ADC. The ADC channel
is read via IIO framework and the channel information is provided
to this driver. This driver reports the temperature by reading ADC
channel and converts it to temperature based on lookup table.

source code: