]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tegra: simplify periph clock data
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Thu, 22 Aug 2013 15:44:06 +0000 (18:44 +0300)
committerPeter De Schrijver <pdeschrijver@nvidia.com>
Tue, 26 Nov 2013 16:45:40 +0000 (18:45 +0200)
commit5d34a18f1e06a27426195ea3670856e7480277a1
treec36ffdccfae461a88901eb3e470e7bea60eeb52f
parentb3e512526edc8c87260aff45bcf09c2ff2f1c500
clk: tegra: simplify periph clock data

This patch determines the register bank for clock enable/disable and reset
based on the clock ID instead of hardcoding it in the tables describing the
clocks. This results in less data to be maintained in the tables, making the
code easier to understand. The full benefit of the change will be realized once
also other clocktypes will be table based.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
drivers/clk/tegra/clk-periph-gate.c
drivers/clk/tegra/clk-periph.c
drivers/clk/tegra/clk-tegra114.c
drivers/clk/tegra/clk-tegra20.c
drivers/clk/tegra/clk-tegra30.c
drivers/clk/tegra/clk.c
drivers/clk/tegra/clk.h