diff options
author | Xie Xiaobo <X.Xie@freescale.com> | 2012-03-23 10:02:20 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-03-23 10:02:20 +0100 |
commit | 5510e62a66bad22b104d5d854445523d7f5754f7 (patch) | |
tree | a580bd3fff0831628bc0d525d975853bbf25a86d /drivers/media/dvb/frontends/s5h1411.c | |
parent | hwmon: (mc13783-adc) Add support for the MC13892 PMIC (diff) | |
download | linux-5510e62a66bad22b104d5d854445523d7f5754f7.tar.xz linux-5510e62a66bad22b104d5d854445523d7f5754f7.zip |
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 <Mingkai.hu@freescale.com>
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/media/dvb/frontends/s5h1411.c')
0 files changed, 0 insertions, 0 deletions