Skip to content

Commit 411f9d8

Browse files
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 <[email protected]>
1 parent 68c0ff4 commit 411f9d8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) 2024 Henrik Brix Andersen <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if BOARD_ROBOKIT1
5+
6+
config ADC_ADS7052_INIT_PRIORITY
7+
default 60
8+
depends on ADC_ADS7052
9+
10+
config SENSOR_INIT_PRIORITY
11+
default 60
12+
depends on SENSOR
13+
14+
config EEPROM_INIT_PRIORITY
15+
default 60
16+
depends on EEPROM
17+
18+
endif # BOARD_ROBOKIT1

0 commit comments

Comments
 (0)