zephyr/drivers/gpio/Kconfig.cc32xx
Vincent Wan 2599f705a8 drivers: cc32xx: use DT_INST_FOREACH to reduce code duplication
Use DT_INST_FOREACH macro to combine code used for multiple instances.
Remove unnecessary Kconfig options and dts fixups for GPIO instances.

A side-effect to using DT_INST_FOREACH is that GPIO ports A0 and A3
are now enabled, whereas they were originally disabled by default as
an optimization.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
2020-04-26 06:05:10 -05:00

10 lines
224 B
Plaintext

# CC32XX GPIO configuration options
# SPDX-License-Identifier: Apache-2.0
config GPIO_CC32XX
bool "TI CC32XX GPIO driver"
depends on SOC_FAMILY_TISIMPLELINK
help
Enable the GPIO driver on TI SimpleLink CC32xx boards