drivers: gpio: npm6001: select MFD and adjust init priority
Make sure MFD driver for nPM6001 gets built, and, that GPIO driver comes later in the init sequence. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
753bc2b785
commit
76412f6aa0
1 changed files with 3 additions and 3 deletions
|
@ -6,13 +6,13 @@ config GPIO_NPM6001
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_NORDIC_NPM6001_GPIO_ENABLED
|
depends on DT_HAS_NORDIC_NPM6001_GPIO_ENABLED
|
||||||
select I2C
|
select I2C
|
||||||
|
select MFD
|
||||||
help
|
help
|
||||||
Enable the nPM6001 GPIO driver.
|
Enable the nPM6001 GPIO driver.
|
||||||
|
|
||||||
config GPIO_NPM6001_INIT_PRIORITY
|
config GPIO_NPM6001_INIT_PRIORITY
|
||||||
int "nPM6001 GPIO driver initialization priority"
|
int "nPM6001 GPIO driver initialization priority"
|
||||||
depends on GPIO_NPM6001
|
depends on GPIO_NPM6001
|
||||||
default 60
|
default 65
|
||||||
help
|
help
|
||||||
Initialization priority for the nPM6001 GPIO driver. It must be
|
Initialization priority for the nPM6001 GPIO driver.
|
||||||
greater than the I2C controller init priority.
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue