Documentation/hwmon/mcp3021
0 → 100644
+22
−0
+10
−0
+1
−0
drivers/hwmon/mcp3021.c
0 → 100644
+171
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>