Allwinner A10/A13/A31 and similar GPADCs driver
modulename: sun4i-gpadc-iio.ko
configname: CONFIG_SUN4I_GPADC
Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Analog to digital converters
└─>Thermal drivers
└─>Allwinner A10/A13/A31 and similar GPADCs driver
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.
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:
depends
CONFIG_IIOCONFIG_MACH_SUN8I or CONFIG_MFD_SUN4I_GPADC
CONFIG_THERMAL or NOT CONFIG_THERMAL_OF