diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-11-06 01:33:17 +0100 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-12-12 00:42:48 +0100 |
commit | 6d5b988e7dc56bb97c39bdcbc006fadcd6ca371b (patch) | |
tree | 4d5b526c30909e2b6ab88a5048fdcdffa56a48e9 /drivers/clk/tegra/clk-tegra20.c | |
parent | ARM: tegra: select the reset framework (diff) | |
download | linux-6d5b988e7dc56bb97c39bdcbc006fadcd6ca371b.tar.xz linux-6d5b988e7dc56bb97c39bdcbc006fadcd6ca371b.zip |
clk: tegra: implement a reset driver
The Tegra CAR module implements both a clock and reset controller. So
far, the driver exposes the clock feature via the common clock API and
the reset feature using a custom API. This patch adds an implementation
of the common reset framework API (include/linux/reset*.h). The legacy
reset implementation will be removed once all drivers have been
converted.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com>
Diffstat (limited to 'drivers/clk/tegra/clk-tegra20.c')
-rw-r--r-- | drivers/clk/tegra/clk-tegra20.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-tegra20.c b/drivers/clk/tegra/clk-tegra20.c index b3b7204acfe7..5a6a60d9443a 100644 --- a/drivers/clk/tegra/clk-tegra20.c +++ b/drivers/clk/tegra/clk-tegra20.c @@ -1109,7 +1109,8 @@ static void __init tegra20_clock_init(struct device_node *np) BUG(); } - clks = tegra_clk_init(TEGRA20_CLK_CLK_MAX, TEGRA20_CLK_PERIPH_BANKS); + clks = tegra_clk_init(clk_base, TEGRA20_CLK_CLK_MAX, + TEGRA20_CLK_PERIPH_BANKS); if (!clks) return; |