24 Sep, 2012
3 commits
-
This Patch adds support for mcp3221 chip to the
mcp3021 driver.Signed-off-by: Sven Schuchmann
Signed-off-by: Guenter Roeck -
This Patch is to prepare the MCP3021 driver to support
other chips like the MCP3221. The hard defined chip data
is now stored within the data struct of each chip.Signed-off-by: Sven Schuchmann
Signed-off-by: Guenter Roeck -
Convert to use devm_ functions to reduce code size and simplify the code.
Cc: Mingkai Hu
Cc: Xie Xiaobo
Signed-off-by: Guenter Roeck
23 Mar, 2012
1 commit
-
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