mfd: mc13xxx adc fixes and enhancements
Marc Reilly
marc at cpdesign.com.au
Sun Jan 29 17:33:22 EST 2012
This series provides some small fixes to the mc13xxx adc conversion funtion to
make it more robust. Readout of single channel conversions is fixed so that the
read out order corresponds to the sampling order (Critical for dedicated
battery reading).
A new conversion function is introduced which allows the caller to enable the
dedicated readings and other adc functionality by providing a mask/ value pair
for the adc0,1 registers.
These patches apply onto my 'add I2C support' series [1].
(I think only the first patch is required)
Cheers,
Marc
[1] http://lists.arm.linux.org.uk/lurker/message/20120119.010131.616dd8a6.en.html
More information about the linux-arm-kernel
mailing list