summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2022-07-28 13:06:24 +0200
committerStefan Roese <[email protected]>2022-07-29 10:02:43 +0200
commit5e4d24ccc115215be9aa4cd20cda585e2792e7ff (patch)
tree138366faa838db76f1eaf0bf3e85ae3cac2fbbd3 /drivers/gpio/Kconfig
parentef6fcab85f2f924f44f9a504302343bf248ab2fe (diff)
gpio: Add Turris Omnia MCU driver
This driver registers GPIO controller and allows U-Boot to control GPIO pins on MCU which is connected to Turris Omnia via i2c. Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index aaa152fae73..82a8bca2700 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -598,4 +598,11 @@ config SLG7XL45106_I2C_GPO
8-bit gpo expander, all gpo lines are controlled by writing
value into data register.
+config TURRIS_OMNIA_MCU
+ bool "Turris Omnia MCU GPIO driver"
+ depends on DM_GPIO
+ default y if TARGET_TURRIS_OMNIA
+ help
+ Support for GPIOs on MCU connected to Turris Omnia via i2c.
+
endif