forked from kofal.net/zmk
feat(drivers): Add mcp23017 driver based on upstream mcp23s17 one.
* Upstream Zephyr has in progress driver, so doing this locally here, until we can move over to that driver.
This commit is contained in:
21
app/drivers/gpio/Kconfig.mcp23017
Normal file
21
app/drivers/gpio/Kconfig.mcp23017
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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
|
||||
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
|
||||
Reference in New Issue
Block a user