]> git.dujemihanovic.xyz Git - u-boot.git/commit
reset: at91: Add reset driver for basic assert/deassert operations
authorSergiu Moga <sergiu.moga@microchip.com>
Wed, 4 Jan 2023 14:03:18 +0000 (16:03 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 5 Jan 2023 08:06:35 +0000 (10:06 +0200)
commit61040097a9d1c8022bae7936c52b729ff1adb163
tree79ba79f0da31d918405bda66d05050646b5f2b47
parent11c037ab920c0cdd1d9c8316a08c939b4253aefe
reset: at91: Add reset driver for basic assert/deassert operations

Add support for at91 reset controller's basic assert/deassert
operations. Since this driver conflicts with the
SYSRESET driver because they both bind to the same RSTC node,
implement a custom bind hook that would manually bind the
sysreset driver, if enabled, to the same RSTC DT node.
Furthermore, delete the no longer needed compatibles from the
SYSRESET driver and rename it to make sure than any possible
conflicts are avoided.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Tested-by: Mihai Sain <mihai.sain@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
drivers/reset/Kconfig
drivers/reset/Makefile
drivers/reset/reset-at91.c [new file with mode: 0644]
drivers/sysreset/sysreset_at91.c