[PATCH 0/2] iio: dac: mcp47a1: add support for new device

Joshua Crofts posted 2 patches 3 days, 5 hours ago
.../bindings/iio/dac/microchip,mcp47a1.yaml        |  56 ++++++
MAINTAINERS                                        |   7 +
drivers/iio/dac/Kconfig                            |  11 ++
drivers/iio/dac/Makefile                           |   1 +
drivers/iio/dac/mcp47a1.c                          | 193 +++++++++++++++++++++
5 files changed, 268 insertions(+)
[PATCH 0/2] iio: dac: mcp47a1: add support for new device
Posted by Joshua Crofts 3 days, 5 hours ago
This patch series adds support for the MCP47A1 DAC.

The Microchip MCP47A1 is a volatile 6-bit Digital-to-Analog converter
which communicates via I2C. It is a low-power, low-cost DAC commonly
used in embedded systems.

Reasons for adding a new driver:
- Existing Microchip DACs use a more complicated set of commands
  whereas the MCP47A1 communicates via SMBus using only one command.
- The closest Microchip DAC already in the tree - the MCP4725 - uses
  an EEPROM while the MCP47A1 is volatile, meaning that altering
  the driver of the former would worsen the code flow.
- The MCP47A1 maps cleanly to a standard regmap.

The driver was tested on a Raspberry Pi 4 using a breakout board with
the MCP47A1.

The datasheet can be viewed here:
https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/25154A.pdf

Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
---
Joshua Crofts (2):
      dt-bindings: iio: dac: add support for mcp47a1
      iio: dac: mcp47a1: add support for new device

 .../bindings/iio/dac/microchip,mcp47a1.yaml        |  56 ++++++
 MAINTAINERS                                        |   7 +
 drivers/iio/dac/Kconfig                            |  11 ++
 drivers/iio/dac/Makefile                           |   1 +
 drivers/iio/dac/mcp47a1.c                          | 193 +++++++++++++++++++++
 5 files changed, 268 insertions(+)
---
base-commit: 036d96ceec6d966339aea34d034420991e24cfac
change-id: 20260711-mcp47a1-add-support-3af1248f13a5

Best regards,
-- 
Kind regards,
Joshua Crofts