5cf7adeb5b
Since this DAC is connected via I2C bus the init priority value must be higher than the default 50 so it can be initialized later than the bus itself so add a dedicated init config symbol for that. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
22 lines
410 B
Plaintext
22 lines
410 B
Plaintext
# 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
|
|
Microchip MCP4725 DAC device driver initialization priority.
|
|
|
|
endif # DAC_MCP4725
|