Xie Xiaobo | 5510e62 | 2012-03-23 10:02:20 +0100 | [diff] [blame] | 1 | Kernel driver MCP3021 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 2 | ===================== |
Xie Xiaobo | 5510e62 | 2012-03-23 10:02:20 +0100 | [diff] [blame] | 3 | |
| 4 | Supported chips: |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 5 | |
Xie Xiaobo | 5510e62 | 2012-03-23 10:02:20 +0100 | [diff] [blame] | 6 | * Microchip Technology MCP3021 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 7 | |
Xie Xiaobo | 5510e62 | 2012-03-23 10:02:20 +0100 | [diff] [blame] | 8 | Prefix: 'mcp3021' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 9 | |
Xie Xiaobo | 5510e62 | 2012-03-23 10:02:20 +0100 | [diff] [blame] | 10 | Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/21805a.pdf |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 11 | |
Sven Schuchmann | 592758b | 2012-09-21 13:04:22 +0200 | [diff] [blame] | 12 | * Microchip Technology MCP3221 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 13 | |
Sven Schuchmann | 592758b | 2012-09-21 13:04:22 +0200 | [diff] [blame] | 14 | Prefix: 'mcp3221' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 15 | |
Sven Schuchmann | 592758b | 2012-09-21 13:04:22 +0200 | [diff] [blame] | 16 | Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/21732c.pdf |
Xie Xiaobo | 5510e62 | 2012-03-23 10:02:20 +0100 | [diff] [blame] | 17 | |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 18 | |
| 19 | |
Sven Schuchmann | 592758b | 2012-09-21 13:04:22 +0200 | [diff] [blame] | 20 | Authors: |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 21 | |
| 22 | - Mingkai Hu |
| 23 | - Sven Schuchmann <schuchmann@schleissheimer.de> |
Xie Xiaobo | 5510e62 | 2012-03-23 10:02:20 +0100 | [diff] [blame] | 24 | |
| 25 | Description |
| 26 | ----------- |
| 27 | |
Sven Schuchmann | 592758b | 2012-09-21 13:04:22 +0200 | [diff] [blame] | 28 | This driver implements support for the Microchip Technology MCP3021 and |
| 29 | MCP3221 chip. |
Xie Xiaobo | 5510e62 | 2012-03-23 10:02:20 +0100 | [diff] [blame] | 30 | |
| 31 | The Microchip Technology Inc. MCP3021 is a successive approximation A/D |
Sven Schuchmann | 592758b | 2012-09-21 13:04:22 +0200 | [diff] [blame] | 32 | converter (ADC) with 10-bit resolution. The MCP3221 has 12-bit resolution. |
| 33 | |
| 34 | These devices provide one single-ended input with very low power consumption. |
| 35 | Communication to the MCP3021/MCP3221 is performed using a 2-wire I2C |
| 36 | compatible interface. Standard (100 kHz) and Fast (400 kHz) I2C modes are |
| 37 | available. The default I2C device address is 0x4d (contact the Microchip |
| 38 | factory for additional address options). |