mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 17:42:49 +00:00
Add mfd_adp5585 and gpio_adp5585 driver. This driver enables ADP5585 as an GPIO expander. This chip is used as an GPIO expander on i.MX93 EVK. GPIO pinctrl, read/write and interrupt is supported. Note that ADP5585 has 2 GPIO banks with 5 pins each. The driver combines two group into a 16-bit port. Index 0~4 correspond to R0~R4 lines, index 8~12 correspond to C0~C4 lines. Index 5~7 is reserved unavailable. Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
34 lines
836 B
Plaintext
34 lines
836 B
Plaintext
# Copyright 2023 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig MFD
|
|
bool "Multi-function device (MFD) drivers"
|
|
help
|
|
Include drivers for multi-function devices
|
|
|
|
if MFD
|
|
|
|
module = MFD
|
|
module-str = mfd
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
config MFD_INIT_PRIORITY
|
|
int "Initialization priority"
|
|
default 80
|
|
help
|
|
Multi-function devices initialization priority.
|
|
|
|
source "drivers/mfd/Kconfig.ad559x"
|
|
source "drivers/mfd/Kconfig.adp5585"
|
|
source "drivers/mfd/Kconfig.axp192"
|
|
source "drivers/mfd/Kconfig.bd8lb600fs"
|
|
source "drivers/mfd/Kconfig.max20335"
|
|
source "drivers/mfd/Kconfig.max31790"
|
|
source "drivers/mfd/Kconfig.nct38xx"
|
|
source "drivers/mfd/Kconfig.npm1300"
|
|
source "drivers/mfd/Kconfig.npm6001"
|
|
source "drivers/mfd/Kconfig.lpflexcomm"
|
|
source "drivers/mfd/Kconfig.tle9104"
|
|
|
|
endif # MFD
|