From: Xie Xiaobo Date: Fri, 23 Mar 2012 09:02:20 +0000 (+0100) Subject: hwmon: Add MCP3021 ADC driver X-Git-Tag: v3.4-rc1~111^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5510e62a66bad22b104d5d854445523d7f5754f7;p=pandora-kernel.git hwmon: Add MCP3021 ADC driver Add I2C driver for MCP3021 that is an ADC chip from Microchip. The MCP3021 is a successive approximation A/D converter (ADC) with 10-bit resolution. The driver export the value of Vin to sysfs, the voltage unit is mV. Through the sysfs interface, lm-sensors tool can also display Vin voltage. Signed-off-by: Mingkai Hu Signed-off-by: Xie Xiaobo Signed-off-by: Jean Delvare --- Reading git-diff-tree failed