Skip to content

Commit

Permalink
boards: tdk: robokit1: align driver init levels with devicetree deps
Browse files Browse the repository at this point in the history
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.

(cherry picked from commit 411f9d8)

Original-Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
GitOrigin-RevId: 411f9d8
Cr-Build-Id: 8726589230171865649
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8726589230171865649
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: I6272b7d63a4f0a514f16abc8476c04ba025827b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6145209
Commit-Queue: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Bot-Commit: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
  • Loading branch information
Henrik Brix Andersen authored and Chromeos LUCI committed Jan 5, 2025
1 parent df65a59 commit 998380e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions boards/tdk/robokit1/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 998380e

Please sign in to comment.