drivers: dac: added driver for Microchip MCP4725

The MCP4725 is a single channel 12 bit DAC. It is controlled via I2C.

Signed-off-by: Kieran Mackey <kieran.mackey@lairdconnect.com>
This commit is contained in:
Kieran Mackey 2021-03-18 17:08:54 +00:00 committed by Kumar Gala
commit 38ed9c885e
29 changed files with 465 additions and 2 deletions

View file

@ -0,0 +1,21 @@
# DAC configuration options
# Copyright (c) 2021 Laird Connectivity
#
# SPDX-License-Identifier: Apache-2.0
config DAC_MCP4725
bool "Microchip MCP4725 DAC driver"
depends on I2C
help
Enable the driver for the Microchip MCP4725.
if DAC_MCP4725
config DAC_MCP4725_INIT_PRIORITY
int "Init priority"
default 80
help
MCP4725 DAC device driver initialization priority.
endif # DAC_MCP4725