boards: tdk: robokit1: align driver init levels with devicetree deps
This board contains both an NTC sensor dependings on a specific SPI ADC and a TMP116 containing both a sensor and an EEPROM. Align these driver initialization priorities with the devicetree dependencies to avoid build failures with CONFIG_CHECK_INIT_PRIORITIES=y. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
68c0ff4e85
commit
411f9d8fcb
1 changed files with 18 additions and 0 deletions
18
boards/tdk/robokit1/Kconfig.defconfig
Normal file
18
boards/tdk/robokit1/Kconfig.defconfig
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Copyright (c) 2024 Henrik Brix Andersen <henrik@brixandersen.dk>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_ROBOKIT1
|
||||
|
||||
config ADC_ADS7052_INIT_PRIORITY
|
||||
default 60
|
||||
depends on ADC_ADS7052
|
||||
|
||||
config SENSOR_INIT_PRIORITY
|
||||
default 60
|
||||
depends on SENSOR
|
||||
|
||||
config EEPROM_INIT_PRIORITY
|
||||
default 60
|
||||
depends on EEPROM
|
||||
|
||||
endif # BOARD_ROBOKIT1
|
||||
Loading…
Reference in a new issue