diff options
author | Marek BehĂșn <kabel@kernel.org> | 2024-04-04 09:51:03 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2024-04-04 10:45:27 +0200 |
commit | a5505de01d384cc9e283705092830683494a8505 (patch) | |
tree | f00ff38e06888743d684c9c6d163bd24dd553985 /drivers/gpio/Kconfig | |
parent | 68e09ae19eb6bd0214ecf89d3037b4172173ecdf (diff) | |
download | u-boot-a5505de01d384cc9e283705092830683494a8505.tar.gz u-boot-a5505de01d384cc9e283705092830683494a8505.tar.bz2 u-boot-a5505de01d384cc9e283705092830683494a8505.zip |
gpio: turris_omnia_mcu: Add support for system power off via sysreset
Add support for system power off via UCLASS_SYSRESET. Newer versions of
Turris Omnia MCU firmware can power off the board (MCU will disable
almost all voltage regulators and go into low power mode).
Move the MCU driver into drivers/misc and register it under UCLASS_MISC.
The sysreset and gpio device are bound as child devices of the MCU device.
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index a7fb1eb3f4..b050585389 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -665,13 +665,6 @@ 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. - config FTGPIO010 bool "Faraday Technology FTGPIO010 driver" depends on DM_GPIO |