]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mmp: add reset support
authorChao Xie <chao.xie@marvell.com>
Fri, 31 Oct 2014 02:13:48 +0000 (10:13 +0800)
committerMichael Turquette <mturquette@linaro.org>
Thu, 13 Nov 2014 00:34:10 +0000 (16:34 -0800)
commitf3a2842efa9fb2da11bcd093123ba4988365b576
tree65e22e25fb37606baecdb530d6005d5ab6b19332
parentfae952356f6f487d892cc4bb761399b2a1adf976
clk: mmp: add reset support

Some clock control regsiter has bit to reset the cotroller.
So before enable the clock, we need deassert the reset pin.
Make use of reset controller framework to export reset interface
for device drivers, then device driver can control the reset action.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/mmp/Makefile
drivers/clk/mmp/reset.c [new file with mode: 0644]
drivers/clk/mmp/reset.h [new file with mode: 0644]