From 9c340776ff1434dfcd07294fc1c90cb05c1b4c72 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 24 May 2023 12:15:34 +0200 Subject: [PATCH] drivers: watchdog: npm6001: select MFD and adjust init priority Make sure MFD driver for nPM6001 gets built, and, that watchdog driver comes later in the init sequence. Signed-off-by: Gerard Marull-Paretas --- drivers/watchdog/Kconfig.npm6001 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/watchdog/Kconfig.npm6001 b/drivers/watchdog/Kconfig.npm6001 index f310d02d878..3230deffc26 100644 --- a/drivers/watchdog/Kconfig.npm6001 +++ b/drivers/watchdog/Kconfig.npm6001 @@ -6,13 +6,13 @@ config WDT_NPM6001 default y depends on DT_HAS_NORDIC_NPM6001_WDT_ENABLED select I2C + select MFD help Enable nPM6001 Watchdog driver config WDT_NPM6001_INIT_PRIORITY int "nPM6001 Watchdog driver initialization priority" depends on WDT_NPM6001 - default 60 + default 65 help - Initialization priority for the nPM6001 Watchdog driver. It must be - greater than the I2C controller init priority. + Initialization priority for the nPM6001 Watchdog driver.