diff options
author | Andrea Collamati <andrea.collamati@gmail.com> | 2023-08-03 14:56:35 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-08-05 20:29:39 +0200 |
commit | 7b24a034ad90730b2c7bb9670d0eadcdcb5d59d2 (patch) | |
tree | 1f701637274e2137d86d62f1e32158270d0bef2e /drivers/iio/dac/Kconfig | |
parent | dt-bindings: iio: dac: add mcp4728.yaml (diff) | |
download | linux-7b24a034ad90730b2c7bb9670d0eadcdcb5d59d2.tar.xz linux-7b24a034ad90730b2c7bb9670d0eadcdcb5d59d2.zip |
iio: add MCP4728 I2C DAC driver
MCP4728 is a 12-bit quad channel DAC with I2C interface.
support for:
* per-channel gain
* per-channel power state
* per-channel power down mode control
* per-channel vref selection internal/vdd
* store current state to on-chip EEPROM
Signed-off-by: Andrea Collamati <andrea.collamati@gmail.com>
Link: https://lore.kernel.org/r/a0933003ed3c855f9d80d6ce0a40add2b6f0ba36.1691066050.git.andrea.collamati@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac/Kconfig')
-rw-r--r-- | drivers/iio/dac/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig index 3acd9c3f388e..93b8be183de6 100644 --- a/drivers/iio/dac/Kconfig +++ b/drivers/iio/dac/Kconfig @@ -389,6 +389,17 @@ config MCP4725 To compile this driver as a module, choose M here: the module will be called mcp4725. +config MCP4728 + tristate "MCP4728 DAC driver" + depends on I2C + help + Say Y here if you want to build a driver for the Microchip + MCP4728 quad channel, 12-bit digital-to-analog converter (DAC) + with I2C interface. + + To compile this driver as a module, choose M here: the module + will be called mcp4728. + config MCP4922 tristate "MCP4902, MCP4912, MCP4922 DAC driver" depends on SPI |