zephyr/drivers/gpio/Kconfig.npm1300
Bartosz Bilas 66f5fce68f drivers: mfd: gpio: adjust init priority
Take into account the SPI bus init priorirty
that can be used for MFD drivers.

Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
2023-10-26 09:50:31 +02:00

20 lines
502 B
Plaintext

# Copyright (c) 2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config GPIO_NPM1300
bool "nPM1300 GPIO driver"
default y
depends on DT_HAS_NORDIC_NPM1300_GPIO_ENABLED
select I2C
select MFD
help
Enable the nPM1300 GPIO driver.
config GPIO_NPM1300_INIT_PRIORITY
int "nPM1300 GPIO driver initialization priority"
depends on GPIO_NPM1300
default 85
help
Initialization priority for the nPM1300 GPIO driver. It must be
greater than the I2C controller init priority.