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:
Henrik Brix Andersen 2025-01-04 14:28:29 +00:00
parent 68c0ff4e85
commit 411f9d8fcb

View 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