]> git.sur5r.net Git - u-boot/commit
aspeed: Reset Driver
authormaxims@google.com <maxims@google.com>
Mon, 17 Apr 2017 19:00:24 +0000 (12:00 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2017 15:57:32 +0000 (11:57 -0400)
commit858d4976293f0b3d72e5dcf0e8a1a973efafeee3
tree0921e2d6c21f12fa567b631e9f664e18fc6dd4ed
parent413353b30b5d23c409b6a2fd70aa1cc28451a451
aspeed: Reset Driver

Add Reset Driver for ast2500 SoC. This driver uses Watchdog Timer to
perform resets and thus depends on it. The actual Watchdog device used
needs to be configured in Device Tree using "aspeed,wdt" property, which
must be WDT phandle, for example:

rst: reset-controller {
    compatible = "aspeed,ast2500-reset";
    aspeed,wdt = <&wdt1>;
}

Signed-off-by: Maxim Sloyko <maxims@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-aspeed/scu_ast2500.h
drivers/reset/Kconfig
drivers/reset/Makefile
drivers/reset/ast2500-reset.c [new file with mode: 0644]