2021-01-29 14:54:44 +11:00
|
|
|
# MCP23017 GPIO configuration options
|
|
|
|
|
|
|
|
# Copyright (c) 2021 Pete Johanson
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig GPIO_MCP23017
|
|
|
|
bool "MCP23017 I2C-based GPIO chip"
|
|
|
|
depends on I2C
|
|
|
|
select HAS_DTS_GPIO
|
2022-06-05 15:56:45 +10:00
|
|
|
select ZMK_DRIVERS_GPIO
|
2021-01-29 14:54:44 +11:00
|
|
|
help
|
|
|
|
Enable driver for MCP23017 I2C-based GPIO chip.
|
|
|
|
|
|
|
|
if GPIO_MCP23017
|
|
|
|
|
|
|
|
config GPIO_MCP23017_INIT_PRIORITY
|
|
|
|
int "Init priority"
|
|
|
|
default 75
|
|
|
|
help
|
|
|
|
Device driver initialization priority.
|
|
|
|
|
|
|
|
endif #GPIO_MCP23017
|