On Sat, 19 Jun 2010 21:32:58 +0200, Lars-Peter Clausen wrote: > This patch adds support for reading the ADCIN pin of ADC unit on JZ4740 SoCs. > > Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx> > Cc: lm-sensors@xxxxxxxxxxxxxx > > -- > Changes since v1 > - Move ADC core access synchronizing from the HWMON driver to a MFD driver. The > ADC driver now only reads the adcin value. > > Changes since v2 > - Add name sysfs attribute > - Report adcin in value in millivolts > > Changes since v3 > - Fix Kconfig entry > - Add include to completion.h > - Break overlong lines > - Use DEVICE_ATTR instead of SENSOR_DEVICE_ATTR for the adcin sys file. > --- > drivers/hwmon/Kconfig | 10 ++ > drivers/hwmon/Makefile | 1 + > drivers/hwmon/jz4740-hwmon.c | 226 ++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 237 insertions(+), 0 deletions(-) > create mode 100644 drivers/hwmon/jz4740-hwmon.c > (...) Acked-by: Jean Delvare <khali@xxxxxxxxxxxx> -- Jean Delvare