zephyr/drivers/gpio/Kconfig.max14906
Stoyan Bogdanov 71149fd47a drivers: gpio: Add MAX14906 industrial input/output
MAX14906 in 4 channel I/O with advanced diagnostic.
In SPI communication diagnostic status transmitted on every
READ/WRITE which includes generic status of chip.
Configuration both on global level and on per channel bases.
Diagnostics includes :
 * Thermal overload
 * current limit
 * open wire detection
 * short to VDD
 * Above VDD
 * Safe DEmagnitization fault
 * VDD warning
 * VDD low
 * SPI/CRC Error
 * WDog Error
 * Loss GND

Add app.overlay for MAX14906 driver.

Tested with adopted basic/button and basic/blinky sample.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2024-10-08 17:01:44 +02:00

20 lines
501 B
Text

# Copyright (c) 2024 Analog Devices Inc.
# Copyright (c) 2024 BayLibre SAS
# SPDX-License-Identifier: Apache-2.0
# MAX14906 GPIO configuration options
menuconfig GPIO_MAX14906
bool "MAX14906 GPIO driver"
default y
depends on DT_HAS_ADI_MAX14906_GPIO_ENABLED && SPI
help
Enabe MAX14906 quad industrial digital
input/output with diagnostics
config GPIO_MAX14906_INIT_PRIORITY
int "Driver init priority"
default 99
depends on GPIO_MAX14906
help
Device driver initialization priority.