dm: sysreset: add watchdog-reboot driverAdd a new sysreset driver that uses the recently added watchdog support.It performs a full SoC reset by calling wdt_expire_now op.Signed-off-by: Álvaro Fe
dm: sysreset: add watchdog-reboot driverAdd a new sysreset driver that uses the recently added watchdog support.It performs a full SoC reset by calling wdt_expire_now op.Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
sysreset: add syscon-reboot driverAdd a new sysreset driver based on linux/drivers/power/reset/syscon-reboot.c,which provides a generic driver for platforms that only require writing a maskto a r
sysreset: add syscon-reboot driverAdd a new sysreset driver based on linux/drivers/power/reset/syscon-reboot.c,which provides a generic driver for platforms that only require writing a maskto a regmap offset.Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>Reviewed-by: Simon Glass <sjg@chromium.org>
aspeed: Refactor AST2500 RAM Driver and Sysreset DriverThis change switches all existing users of ast2500 Watchdog to DriverModel based Watchdog driver.To perform system reset Sysreset Driver us
aspeed: Refactor AST2500 RAM Driver and Sysreset DriverThis change switches all existing users of ast2500 Watchdog to DriverModel based Watchdog driver.To perform system reset Sysreset Driver uses first Watchdog device foundvia uclass_first_device call. Since the system is going to be resetanyway it does not make much difference which watchdog is used.Instead of using Watchdog to reset itself, SDRAM driver now uses Resetdriver to do that.These were the only users of the old Watchdog API, so that API isremoved.This all is done in one change to avoid having to maintain dual API forwatchdog in between.Signed-off-by: Maxim Sloyko <maxims@google.com>Reviewed-by: Simon Glass <sjg@chromium.org>
sysreset: psci: support system reset in a generic way with PSCIIf the system is running PSCI firmware, the System Reset function(func ID: 0x80000009) is supposed to be handled by PSCI, that is,th
sysreset: psci: support system reset in a generic way with PSCIIf the system is running PSCI firmware, the System Reset function(func ID: 0x80000009) is supposed to be handled by PSCI, that is,the SoC/board specific reset implementation should be moved to PSCI.U-Boot should call the PSCI service according to the arm-smcccmanner.The arm-smccc is supported on ARMv7 or later. Especially, ARMv8generation SoCs are likely to run ARM Trusted Firmware BL31. Inthis case, U-Boot is a non-secure world boot loader, so it shouldnot be able to reset the system directly.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
rockchip: sysreset: rk3188: Make sure remap is off on warm-resetsThe warm-reset of rk3188 socs keeps the remap setting as it was, so ifit was enabled, the cpu would start from address 0x0 of the s
rockchip: sysreset: rk3188: Make sure remap is off on warm-resetsThe warm-reset of rk3188 socs keeps the remap setting as it was, so ifit was enabled, the cpu would start from address 0x0 of the sram insteadof address 0x0 of the bootrom, thus making the reset hang.Therefore make sure the remap is disabled before attempting a warm reset.Cold reset is not affected by this at all.Signed-off-by: Heiko Stuebner <heiko@sntech.de>Acked-by: Simon Glass <sjg@chromium.org>
rockchip: rk3328: add sysreset driverAdd rk3328 sysreset driver.Signed-off-by: William Zhang <william.zhang@rock-chips.com>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>Acked-by: Simon G
rockchip: rk3328: add sysreset driverAdd rk3328 sysreset driver.Signed-off-by: William Zhang <william.zhang@rock-chips.com>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>Acked-by: Simon Glass <sjg@chromium.org>
rockchip: rk3188: Add sysreset driverDriver for the sysreset of Rockchip rk3188 socs.Signed-off-by: Heiko Stuebner <heiko@sntech.de>Reviewed-by: Simon Glass <sjg@chromium.org>Tested-by: Kever Y
rockchip: rk3188: Add sysreset driverDriver for the sysreset of Rockchip rk3188 socs.Signed-off-by: Heiko Stuebner <heiko@sntech.de>Reviewed-by: Simon Glass <sjg@chromium.org>Tested-by: Kever Yang <kever.yang@rock-chips.com>
STiH410: Add STi sysreset driverSigned-off-by: Patrice Chotard <patrice.chotard@st.com>Reviewed-by: Simon Glass <sjg@chromium.org>
dm: core: Replace of_offset with accessorAt present devices use a simple integer offset to record the device treenode associated with the device. In preparation for supporting a livedevice tree,
dm: core: Replace of_offset with accessorAt present devices use a simple integer offset to record the device treenode associated with the device. In preparation for supporting a livedevice tree, which uses a node pointer instead, refactor existing code toaccess this field through an inline function.Signed-off-by: Simon Glass <sjg@chromium.org>
aspeed: Add drivers common to all Aspeed SoCsAdd support for Watchdog Timer, which is compatible with AST2400 andAST2500 watchdogs. There is no uclass for Watchdog yet, so the driverdoes not foll
aspeed: Add drivers common to all Aspeed SoCsAdd support for Watchdog Timer, which is compatible with AST2400 andAST2500 watchdogs. There is no uclass for Watchdog yet, so the driverdoes not follow the driver model. It also uses fixed clock, so no clockdriver is needed.Add support for timer for Aspeed ast2400/ast2500 devices.The driver actually controls several devices, but because all devicesshare the same Control Register, it is somewhat difficult to completelydecouple them. Since only one timer is needed at the moment, this shouldbe OK. The timer uses fixed clock, so does not rely on a clock driver.Add sysreset driver, which uses watchdog timer to do resets and particularwatchdog device to use is hardcoded (0)Reviewed-by: Simon Glass <sjg@chromium.org>
xtensa: add support for the 'xtfpga' evaluation boardThe 'xtfpga' board is actually a set of FPGA evaluation boards thatcan be configured to run an Xtensa processor. - Avnet Xilinx LX60 - Avnet
xtensa: add support for the 'xtfpga' evaluation boardThe 'xtfpga' board is actually a set of FPGA evaluation boards thatcan be configured to run an Xtensa processor. - Avnet Xilinx LX60 - Avnet Xilinx LX110 - Avnet Xilinx LX200 - Xilinx ML605 - Xilinx KC705These boards share the same components (open-ethernet, ns16550 serial,lcd display, flash, etc.).Signed-off-by: Chris Zankel <chris@zankel.net>Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>Reviewed-by: Simon Glass <sjg@chromium.org>Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/sysreset: group sysreset driversCreate drivers/sysreset and move sysreset-uclass and all sysresetdrivers there.Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>Acked-by: Simon Glass <sjg
drivers/sysreset: group sysreset driversCreate drivers/sysreset and move sysreset-uclass and all sysresetdrivers there.Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>Acked-by: Simon Glass <sjg@chromium.org>
12