Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | iio: potentiometer: add driver for Maxim Integrated DS1803 | Slawomir Stepien | 2016-04-10 | 3 | -0/+184 |
| | | | | | | | | | | | The following functions are supported: - write, read potentiometer value - potentiometer scale Datasheet: https://datasheets.maximintegrated.com/en/ds/DS1803.pdf Signed-off-by: Slawomir Stepien <sst@poczta.fm> Signed-off-by: Jonathan Cameron <jic23@kernel.org> | ||||
* | iio: potentiometer: add driver for Microchip ↵ | Slawomir Stepien | 2016-04-03 | 3 | -0/+513 |
| | | | | | | | | | | | | | MCP413X/414X/415X/416X/423X/424X/425X/426X The following functionalities are supported: - write, read from volatile memory Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/22060b.pdf Signed-off-by: Slawomir Stepien <sst@poczta.fm> Reviewed-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> | ||||
* | iio: potentiometer: mcp4531: use pointer to access model parameters | Slawomir Stepien | 2016-04-03 | 1 | -7/+6 |
| | | | | | | | | | Use const pointer to element from model configuration array rather then array index, as it will not change anyway. Signed-off-by: Slawomir Stepien <sst@poczta.fm> Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Jonathan Cameron <jic23@kernel.org> | ||||
* | iio: potentiometer: tpl0102: change i2c functionality return code | Matt Ranostay | 2016-03-05 | 1 | -1/+1 |
| | | | | | | | | Change i2c_check_functionality condition check return from ENOTSUPP to EOPNOTSUPP which is now the standard return code. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> | ||||
* | iio: convert to common i2c_check_functionality() return value | Matt Ranostay | 2016-02-27 | 1 | -1/+1 |
| | | | | | | | | | Previously most drivers that used a i2c_check_functionality() check condition required various error codes on failure. This patchset converts to a standard of -EOPNOTSUPP Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> | ||||
* | iio: potentiometer: add TI tpl0102 support | Matt Ranostay | 2016-02-24 | 3 | -0/+179 |
| | | | | | | | Add support for the TI family of digital potentiometers. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> | ||||
* | iio: mcp4531: Driver for Microchip digital potentiometers | Peter Rosin | 2015-09-30 | 3 | -0/+257 |
Add support for Microchip digital potentiometers and rheostats MCP4531, MCP4532, MCP4551, MCP4552 MCP4631, MCP4632, MCP4651, MCP4652 DEVICE Wipers Steps Resistor Opts (kOhm) i2c address MCP4531 1 129 5, 10, 50, 100 010111x MCP4532 1 129 5, 10, 50, 100 01011xx MCP4551 1 257 5, 10, 50, 100 010111x MCP4552 1 257 5, 10, 50, 100 01011xx MCP4631 2 129 5, 10, 50, 100 0101xxx MCP4632 2 129 5, 10, 50, 100 01011xx MCP4651 2 257 5, 10, 50, 100 0101xxx MCP4652 2 257 5, 10, 50, 100 01011xx Datasheet: http://www.microchip.com/downloads/en/DeviceDoc/22096b.pdf Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Jonathan Cameron <jic23@kernel.org> |