mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 00:21:55 +00:00
Create version 2 of the MEC GPIO driver to support MEC172x to not interfere with MEC152x. When the MEC172x ECIA interrupt aggregator driver is ready, this driver will use ECIA for registering GPIO interrupt callbacks instead of maintaining its own interrupt table. Add V2 DT binding. Add the Kconfig configuration settings for the MEC172x GPIO V2 driver at the SoC and board level. Add port id to DT allowing use of DT FOR EACH macro in the driver. Signed-off-by: Scott Worley <scott.worley@microchip.com>
17 lines
389 B
Plaintext
17 lines
389 B
Plaintext
# Microchip XEC GPIO configuration options
|
|
|
|
# Copyright (c) 2019 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config GPIO_XEC
|
|
bool "XEC Microchip GPIO driver"
|
|
depends on SOC_SERIES_MEC1501X
|
|
help
|
|
Enable the Microchip XEC gpio driver.
|
|
|
|
config GPIO_XEC_V2
|
|
bool "XEC Microchip GPIO driver V2"
|
|
depends on SOC_SERIES_MEC172X
|
|
help
|
|
Enable the Microchip XEC gpio V2 driver.
|