diff options
author | Zhangfei Gao <zhangfei.gao@linaro.org> | 2016-12-06 09:51:32 +0800 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-01-09 10:38:58 +0100 |
commit | 1527058736fad60e37ca6103f0de39ca045c5fc5 (patch) | |
tree | 72e890a206492772289f1c40762f6d4925317627 /drivers/reset/hisilicon/Kconfig | |
parent | 836e235495838760f1b8458f462c76404fb7b140 (diff) | |
download | op-kernel-dev-1527058736fad60e37ca6103f0de39ca045c5fc5.zip op-kernel-dev-1527058736fad60e37ca6103f0de39ca045c5fc5.tar.gz |
reset: hisilicon: add reset-hi3660
Add hi3660 reset driver
Example of dts usage:
iomcu_rst: iomcu_rst_controller {
compatible = "hisilicon,hi3660-reset";
hisi,rst-syscon = <&iomcu>;
#reset-cells = <2>;
};
i2c0: i2c@..... {
...
resets = <&iomcu_rst 0x20 3>; /* offset: 0x20; bit: 3 */
...
};
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/hisilicon/Kconfig')
-rw-r--r-- | drivers/reset/hisilicon/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/reset/hisilicon/Kconfig b/drivers/reset/hisilicon/Kconfig index 1ff8b0c..10134dc 100644 --- a/drivers/reset/hisilicon/Kconfig +++ b/drivers/reset/hisilicon/Kconfig @@ -1,3 +1,10 @@ +config COMMON_RESET_HI3660 + tristate "Hi3660 Reset Driver" + depends on ARCH_HISI || COMPILE_TEST + default ARCH_HISI + help + Build the Hisilicon Hi3660 reset driver. + config COMMON_RESET_HI6220 tristate "Hi6220 Reset Driver" depends on ARCH_HISI || COMPILE_TEST |