zephyr/drivers/gpio/Kconfig.max22190
Stoyan Bogdanov 92aeb787c7 drivers: gpio: max22190: Add MAX22190 octal input with diagnostics
Add max22190 gpio driver with input functionality, since device
support only input without output.

Implemented diagnostic functionality for all 8 channels
which include various check to over/under voltage and wire break.
Filtering configuration is done from devicetree on per channel
bases and is configured on chip start.

In case some fault condition occure FAULT pin drive LOW which
prop to FAULT registers to be read. Data is stored in data structure
for furter analizes and ERR message is printed in console.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2024-12-18 03:04:46 +01:00

22 lines
504 B
Plaintext

# Copyright (c) 2024 Analog Devices Inc.
# Copyright (c) 2024 BayLibre SAS
# SPDX-License-Identifier: Apache-2.0
# MAX22190 GPIO configuration options
menuconfig GPIO_MAX22190
bool "MAX22190 GPIO driver"
default y
depends on SPI
depends on DT_HAS_ADI_MAX22190_GPIO_ENABLED
help
Enabe MAX22190 Octal industrial digital
input with diagnostics
config GPIO_MAX22190_INIT_PRIORITY
int "Driver init priority"
default 99
depends on GPIO_MAX22190
help
Device driver initialization priority.