forked from Minki/linux
1527058736
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>
14 lines
333 B
Plaintext
14 lines
333 B
Plaintext
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
|
|
default ARCH_HISI
|
|
help
|
|
Build the Hisilicon Hi6220 reset driver.
|