reset: add reset driver for HiSilicon platform
authorShawn Guo <shawn.guo@linaro.org>
Wed, 20 Mar 2019 07:32:39 +0000 (15:32 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 23 Apr 2019 21:57:24 +0000 (17:57 -0400)
commitf5e6c168c174cff74201ef58d99b27229ca0e4c2
treecc23f4a9d460cd37cae57fe054541992d5e78fc8
parentf5ed7481e7665d2d15037fc8eb118b0a79b24019
reset: add reset driver for HiSilicon platform

It adds a Driver Model compatible reset driver for HiSlicon platform.
The driver implements a custom .of_xlate function, and uses .data field
as reset register offset and .id field as bit shift.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/reset/Kconfig
drivers/reset/Makefile
drivers/reset/reset-hisilicon.c [new file with mode: 0644]