zephyr/drivers/gpio/Kconfig.pcal6408a
Andrzej Głąbek 1314ab5404 drivers: gpio: Add support for PCAL6408A I/O expander
Add GPIO driver and devicetree binding for the PCAL6408A 8-bit I2C-bus
I/O expander.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2021-03-03 11:38:03 +03:00

22 lines
561 B
Plaintext

# PCAL6408a GPIO configuration options
# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
# Workaround for not being able to have commas in macro arguments
DT_COMPAT_NXP_PCAL6408A := nxp,pcal6408a
menuconfig GPIO_PCAL6408A
bool "PCAL6408A I2C GPIO chip"
default $(dt_compat_enabled,$(DT_COMPAT_NXP_PCAL6408A))
depends on I2C
help
Enable driver for PCAL6408A I2C GPIO chip.
config GPIO_PCAL6408A_INIT_PRIORITY
int "Init priority"
default 70
depends on GPIO_PCAL6408A
help
Device driver initialization priority.