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/Makefile | |
parent | 836e235495838760f1b8458f462c76404fb7b140 (diff) | |
download | blackbird-op-linux-1527058736fad60e37ca6103f0de39ca045c5fc5.tar.gz blackbird-op-linux-1527058736fad60e37ca6103f0de39ca045c5fc5.zip |
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/Makefile')
-rw-r--r-- | drivers/reset/hisilicon/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reset/hisilicon/Makefile b/drivers/reset/hisilicon/Makefile index c932f86e2f10..ab8a7bfcbd8d 100644 --- a/drivers/reset/hisilicon/Makefile +++ b/drivers/reset/hisilicon/Makefile @@ -1 +1,2 @@ obj-$(CONFIG_COMMON_RESET_HI6220) += hi6220_reset.o +obj-$(CONFIG_COMMON_RESET_HI3660) += reset-hi3660.o |