clk: tegra: Use common definition of APBDMA clock gate
The APBDMA clock is defined in the common clock gates table that is used by Tegra30+. Tegra20 can use it too, let's remove the custom definition and use the common one. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Родитель
3ff46fd0b2
Коммит
5a6b184a36
|
@ -523,6 +523,7 @@ static struct tegra_devclk devclks[] __initdata = {
|
||||||
|
|
||||||
static struct tegra_clk tegra20_clks[tegra_clk_max] __initdata = {
|
static struct tegra_clk tegra20_clks[tegra_clk_max] __initdata = {
|
||||||
[tegra_clk_ahbdma] = { .dt_id = TEGRA20_CLK_AHBDMA, .present = true },
|
[tegra_clk_ahbdma] = { .dt_id = TEGRA20_CLK_AHBDMA, .present = true },
|
||||||
|
[tegra_clk_apbdma] = { .dt_id = TEGRA20_CLK_APBDMA, .present = true },
|
||||||
[tegra_clk_spdif_out] = { .dt_id = TEGRA20_CLK_SPDIF_OUT, .present = true },
|
[tegra_clk_spdif_out] = { .dt_id = TEGRA20_CLK_SPDIF_OUT, .present = true },
|
||||||
[tegra_clk_spdif_in] = { .dt_id = TEGRA20_CLK_SPDIF_IN, .present = true },
|
[tegra_clk_spdif_in] = { .dt_id = TEGRA20_CLK_SPDIF_IN, .present = true },
|
||||||
[tegra_clk_sdmmc1] = { .dt_id = TEGRA20_CLK_SDMMC1, .present = true },
|
[tegra_clk_sdmmc1] = { .dt_id = TEGRA20_CLK_SDMMC1, .present = true },
|
||||||
|
@ -807,11 +808,6 @@ static void __init tegra20_periph_clk_init(void)
|
||||||
clk_base, 0, 3, periph_clk_enb_refcnt);
|
clk_base, 0, 3, periph_clk_enb_refcnt);
|
||||||
clks[TEGRA20_CLK_AC97] = clk;
|
clks[TEGRA20_CLK_AC97] = clk;
|
||||||
|
|
||||||
/* apbdma */
|
|
||||||
clk = tegra_clk_register_periph_gate("apbdma", "pclk", 0, clk_base,
|
|
||||||
0, 34, periph_clk_enb_refcnt);
|
|
||||||
clks[TEGRA20_CLK_APBDMA] = clk;
|
|
||||||
|
|
||||||
/* emc */
|
/* emc */
|
||||||
clk = clk_register_mux(NULL, "emc_mux", mux_pllmcp_clkm,
|
clk = clk_register_mux(NULL, "emc_mux", mux_pllmcp_clkm,
|
||||||
ARRAY_SIZE(mux_pllmcp_clkm),
|
ARRAY_SIZE(mux_pllmcp_clkm),
|
||||||
|
|
Загрузка…
Ссылка в новой задаче