summaryrefslogtreecommitdiff
path: root/app/drivers/gpio/Kconfig.mcp23017
diff options
context:
space:
mode:
Diffstat (limited to 'app/drivers/gpio/Kconfig.mcp23017')
-rw-r--r--app/drivers/gpio/Kconfig.mcp2301721
1 files changed, 21 insertions, 0 deletions
diff --git a/app/drivers/gpio/Kconfig.mcp23017 b/app/drivers/gpio/Kconfig.mcp23017
new file mode 100644
index 0000000..4953b92
--- /dev/null
+++ b/app/drivers/gpio/Kconfig.mcp23017
@@ -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