zephyr/drivers/gpio/Kconfig.npm6001
Gerard Marull-Paretas 76412f6aa0 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>
2023-05-24 19:39:55 -04:00

19 lines
441 B
Plaintext

# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config GPIO_NPM6001
bool "nPM6001 GPIO driver"
default y
depends on DT_HAS_NORDIC_NPM6001_GPIO_ENABLED
select I2C
select MFD
help
Enable the nPM6001 GPIO driver.
config GPIO_NPM6001_INIT_PRIORITY
int "nPM6001 GPIO driver initialization priority"
depends on GPIO_NPM6001
default 65
help
Initialization priority for the nPM6001 GPIO driver.