diff options
author | Daniel Golle <daniel@makrotopia.org> | 2020-03-31 00:09:59 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-04-30 23:24:33 +0200 |
commit | 0edb259c98fcffef6916503282eb6e3133878b9a (patch) | |
tree | 485fafad3c83daf390a0210185546dc7087fb7cc /drivers/power/reset/Kconfig | |
parent | power: supply: max17042_battery: Add support for the TTE_NOW prop (diff) | |
download | linux-0edb259c98fcffef6916503282eb6e3133878b9a.tar.xz linux-0edb259c98fcffef6916503282eb6e3133878b9a.zip |
power: reset: introduce oxnas-restart
Add reboot handler for Oxford OX820 chips as reboot currenly hangs on
those boards. Code is based on ox820_assert_system_reset() found in
https://github.com/kref/linux-oxnas.git in
arch/arm/mach-oxnas/mach-ox820.c line 181.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/reset/Kconfig')
-rw-r--r-- | drivers/power/reset/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 890380302080..4dfac618b942 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -123,6 +123,13 @@ config POWER_RESET_OCELOT_RESET help This driver supports restart for Microsemi Ocelot SoC. +config POWER_RESET_OXNAS + bool "OXNAS SoC restart driver" + depends on ARCH_OXNAS + default MACH_OX820 + help + Restart support for OXNAS/PLXTECH OX820 SoC. + config POWER_RESET_PIIX4_POWEROFF tristate "Intel PIIX4 power-off driver" depends on PCI |