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:
parent
25578be909
commit
38ed9c885e
29 changed files with 465 additions and 2 deletions
21
drivers/dac/Kconfig.mcp4725
Normal file
21
drivers/dac/Kconfig.mcp4725
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue