commit | 343a607cb79259429afbb9820bf524d33084e66c | [log] [tgz] |
---|---|---|
author | Peter De Schrijver <pdeschrijver@nvidia.com> | Mon Sep 02 15:22:02 2013 +0300 |
committer | Peter De Schrijver <pdeschrijver@nvidia.com> | Tue Nov 26 18:46:18 2013 +0200 |
tree | 508757a525821d7aad6c6d24caa72447c95907bf | |
parent | d5ff89a82a6d272d210db68a9487877682c94a24 [diff] |
clk: tegra: common periph_clk_enb_refcnt and clks This patch makes periph_clk_enb_refcnt a global array, dynamically allocated at boottime. It simplifies the macros somewhat and allows clocks common to several Tegra SoCs to be defined in a separate files. Also the clks array becomes global and dynamically allocated which allows the DT registration to be moved to a generic funcion. Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>