summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/mcp3021.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hwmon: Add MCP3021 ADC driverXie Xiaobo2012-03-231-0/+171
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 <Mingkai.hu@freescale.com> Signed-off-by: Xie Xiaobo <X.Xie@freescale.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>