]> git.baikalelectronics.ru Git - uboot.git/commit
reset: ast2500: Use SCU for reset control
authorChia-Wei, Wang <chiawei_wang@aspeedtech.com>
Thu, 15 Oct 2020 02:25:13 +0000 (10:25 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2020 15:26:14 +0000 (11:26 -0400)
commitce60958696960a6b8f2b59bfe68eb7b1493fbda4
tree1a7c3f2a865e5f98a30237d5c0d5434bb57eb96f
parent76c29cb271a067798a8cefcff5ba78c13a2af6e6
reset: ast2500: Use SCU for reset control

The System Control Unit (SCU) controller of Aspeed
SoCs provides the reset control for each peripheral.

This patch refactors the reset method to leverage
the SCU reset control. Thus the driver dependency
on watchdog including dedicated WDT API and reset
flag encoding can be eliminated.

The Kconfig description is also updated accordingly.

Signed-off-by: Chia-Wei, Wang <chiawei_wang@aspeedtech.com>
Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com>
arch/arm/dts/ast2500-u-boot.dtsi
drivers/reset/Kconfig
drivers/reset/ast2500-reset.c
include/dt-bindings/reset/ast2500-reset.h