43b38b348b
Since this DAC is connected via SPI 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
393 B
Plaintext
22 lines
393 B
Plaintext
# DAC configuration options
|
|
|
|
# Copyright (c) 2020 M2I Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config DAC_DACX0508
|
|
bool "TI DACx0508 DAC driver"
|
|
depends on SPI
|
|
help
|
|
Enable the driver for the TI DACx0508.
|
|
|
|
if DAC_DACX0508
|
|
|
|
config DAC_DACX0508_INIT_PRIORITY
|
|
int "Init priority"
|
|
default 80
|
|
help
|
|
TI DACx0508 DAC device driver initialization priority.
|
|
|
|
endif # DAC_DACX0508
|