]> git.dujemihanovic.xyz Git - u-boot.git/commit
reset: Add generic reset driver
authorSean Anderson <seanga2@gmail.com>
Wed, 24 Jun 2020 10:41:14 +0000 (06:41 -0400)
committerAndes <uboot@andestech.com>
Wed, 1 Jul 2020 07:01:21 +0000 (15:01 +0800)
commit038b13ee8134ba755a323732f3b2b838b9dc17a4
treefeb3172998423931aa0bc4726a6d882d6721863b
parent082faeb86526b41bb9c5ca8373168e12f2de3a10
reset: Add generic reset driver

This patch adds a generic reset driver. It is designed to be useful when
one has a register in a regmap which contains bits that reset other
devices. I thought this seemed like a very generic use, so here is a
generic driver. The overall structure has been modeled on the syscon-reboot
driver.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
configs/sandbox_defconfig
doc/device-tree-bindings/reset/syscon-reset.txt [new file with mode: 0644]
drivers/reset/Kconfig
drivers/reset/Makefile
drivers/reset/reset-syscon.c [new file with mode: 0644]
test/dm/Makefile
test/dm/syscon-reset.c [new file with mode: 0644]