clk: mediatek: Add reset controller support
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 23 Apr 2015 08:35:40 +0000 (10:35 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 6 May 2015 05:50:33 +0000 (22:50 -0700)
commitd633fb7ac1e6abc39270edebbfa23131c673b5b9
tree1054684c80836aab5786914e3bf13a10191e1dda
parent9741b1a68035b541005db1a4d7623bd9b3522ab4
clk: mediatek: Add reset controller support

The pericfg and infracfg units also provide reset lines to several
other SoC internal units. This adds a function which can be called
from the pericfg and infracfg initialization functions which will
register the reset controller using reset_controller_register. The
reset controller will provide support for resetting the units
connected to the pericfg and infracfg controller. The units resetted
by this controller can use the standard reset device tree binding
to gain access to the reset lines.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/mediatek/Makefile
drivers/clk/mediatek/clk-mtk.h
drivers/clk/mediatek/reset.c [new file with mode: 0644]