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>
20 lines
501 B
Text
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.
|