Support for the Allwinner SoCs GPADC

modulename: sun4i-gpadc-iio.ko

configname: CONFIG_SUN4I_GPADC

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Analog to digital converters
└─>Thermal drivers
└─>Support for the Allwinner SoCs GPADC
In linux kernel since version 3.10 (release Date: 2013-06-30)  
Say yes here to build support for Allwinner (A10, A13 and A31) SoCs
GPADC. This ADC provides 4 channels which can be used as an ADC or as
a touchscreen input and one channel for thermal sensor.

The thermal sensor slows down ADC readings and can be disabled by
disabling CONFIG_THERMAL_OF. However, the thermal sensor should be
enabled by default since the SoC temperature is usually more critical
than ADC readings.

To compile this driver as a module, choose M here: the module will be
called sun4i-gpadc-iio.

source code: