Refactors all of the DAC drivers to use a shared driver class initialization priority configuration, CONFIG_DAC_INIT_PRIORITY, to allow configuring DAC drivers separately from other devices. This is similar to other driver classes like I2C and SPI. The default is set to CONFIG_KERNEL_INIT_PRIORITY_DEVICE to preserve the existing default initialization priority for most drivers. The exceptions are dacx0508, dacx3608, and mcp4725 drivers which have dependencies on SPI or I2C drivers and must therefore initialize later than the default device priority. Signed-off-by: Maureen Helm <maureen.helm@intel.com>
31 lines
390 B
Text
31 lines
390 B
Text
# BL653 DVK board configuration
|
|
|
|
# Copyright (c) 2020 Laird Connectivity
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_BL653_DVK
|
|
|
|
config BOARD
|
|
default "bl653_dvk"
|
|
|
|
config IEEE802154_NRF5
|
|
default y
|
|
depends on IEEE802154
|
|
|
|
config BT_CTLR
|
|
default BT
|
|
|
|
if DAC
|
|
|
|
config DAC_MCP4725
|
|
default y
|
|
|
|
config DAC_INIT_PRIORITY
|
|
default 80
|
|
|
|
config I2C
|
|
default y
|
|
|
|
endif # DAC
|
|
|
|
endif # BOARD_BL653_DVK
|