]> git.ipfire.org Git - people/ms/u-boot.git/commit - arch/arm/Kconfig
aspeed: Add drivers common to all Aspeed SoCs
authormaxims@google.com <maxims@google.com>
Wed, 18 Jan 2017 21:44:55 +0000 (13:44 -0800)
committerTom Rini <trini@konsulko.com>
Sat, 28 Jan 2017 19:04:27 +0000 (14:04 -0500)
commit4697abea62a3b02c9c346b94d7eae2e4a1c6cfd0
tree0d21d52e0c75d0efe43fe37fed81d7256a14ff73
parentcd7b634413ea25838185db2faffc313d4d571fa9
aspeed: Add drivers common to all Aspeed SoCs

Add support for Watchdog Timer, which is compatible with AST2400 and
AST2500 watchdogs. There is no uclass for Watchdog yet, so the driver
does not follow the driver model. It also uses fixed clock, so no clock
driver is needed.

Add support for timer for Aspeed ast2400/ast2500 devices.
The driver actually controls several devices, but because all devices
share the same Control Register, it is somewhat difficult to completely
decouple them. Since only one timer is needed at the moment, this should
be 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 particular
watchdog device to use is hardcoded (0)
Reviewed-by: Simon Glass <sjg@chromium.org>
12 files changed:
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/include/asm/arch-aspeed/timer.h [new file with mode: 0644]
arch/arm/include/asm/arch-aspeed/wdt.h [new file with mode: 0644]
arch/arm/mach-aspeed/Kconfig [new file with mode: 0644]
arch/arm/mach-aspeed/Makefile [new file with mode: 0644]
arch/arm/mach-aspeed/ast_wdt.c [new file with mode: 0644]
drivers/sysreset/Makefile
drivers/sysreset/sysreset_ast.c [new file with mode: 0644]
drivers/timer/Kconfig
drivers/timer/Makefile
drivers/timer/ast_timer.c [new file with mode: 0644]