]> git.baikalelectronics.ru Git - uboot.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)
commitf8c2de03ecc440c37f568d196fc96fc30f686f83
tree79ba79f0da31d918405bda66d05050646b5f2b47
parentd50f8b5d29ed177c2dec6a41b1ebf389138480a5
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