diff options
| author | Shawn Guo <shawn.guo@linaro.org> | 2019-03-20 15:32:39 +0800 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2019-04-23 17:57:24 -0400 |
| commit | f5e6c168c174cff74201ef58d99b27229ca0e4c2 (patch) | |
| tree | cc23f4a9d460cd37cae57fe054541992d5e78fc8 /drivers/reset/Kconfig | |
| parent | f5ed7481e7665d2d15037fc8eb118b0a79b24019 (diff) | |
| download | u-boot-f5e6c168c174cff74201ef58d99b27229ca0e4c2.tar.gz u-boot-f5e6c168c174cff74201ef58d99b27229ca0e4c2.tar.xz u-boot-f5e6c168c174cff74201ef58d99b27229ca0e4c2.zip | |
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>
Diffstat (limited to 'drivers/reset/Kconfig')
| -rw-r--r-- | drivers/reset/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index a81e767696..6ec6f39c85 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -121,4 +121,10 @@ config RESET_SUNXI This enables support for common reset driver for Allwinner SoCs. +config RESET_HISILICON + bool "Reset controller driver for HiSilicon SoCs" + depends on DM_RESET + help + Support for reset controller on HiSilicon SoCs. + endmenu |
