zephyr/drivers/gpio/Kconfig.pca953x
Kieran Mackey 19f7af11fa drivers: gpio: Add PCA953X driver (gpio port expander)
The Texas Instruments TCA9538 is an 8 pin GPIO port expander.
It operates on an I2C bus with 2 configurable address pins. The
device has an interrupt output pin that is asserted when any pin
configured as an input changes state.

Added under the PCA953X name to allow other similar parts to
use the same driver.

Signed-off-by: Kieran Mackey <kieran.mackey@lairdconnect.com>
2021-07-31 14:56:34 -04:00

26 lines
582 B
Plaintext

# PCA953X GPIO configuration options
# Copyright (c) 2018 Aapo Vienamo
# Copyright (c) 2021 Laird Connectivity
# SPDX-License-Identifier: Apache-2.0
# Workaround for not being able to have commas in macro arguments
DT_COMPAT_TI_TCA9538 := ti,tca9538
menuconfig GPIO_PCA953X
bool "PCA953X I2C GPIO chip"
default $(dt_compat_enabled,$(DT_COMPAT_TI_TCA9538))
depends on I2C
help
Enable driver for PCA953X I2C GPIO chip.
if GPIO_PCA953X
config GPIO_PCA953X_INIT_PRIORITY
int "Init priority"
default 70
help
Device driver initialization priority.
endif # GPIO_PCA953X