clk: tegra: Correct parent of the APBDMA clock
authorDmitry Osipenko <digetx@gmail.com>
Tue, 3 Oct 2017 23:02:39 +0000 (02:02 +0300)
committerThierry Reding <treding@nvidia.com>
Wed, 1 Nov 2017 14:00:04 +0000 (15:00 +0100)
APBDMA represents a clock gate to the APB DMA controller, the actual
clock source for the controller is PCLK.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra-periph.c

index f5232d6..c027119 100644 (file)
@@ -808,7 +808,7 @@ static struct tegra_periph_init_data gate_clks[] = {
        GATE("isp", "clk_m", 23, 0, tegra_clk_isp, 0),
        GATE("vcp", "clk_m", 29, 0, tegra_clk_vcp, 0),
        GATE("ahbdma", "hclk", 33, 0, tegra_clk_ahbdma, 0),
-       GATE("apbdma", "clk_m", 34, 0, tegra_clk_apbdma, 0),
+       GATE("apbdma", "pclk", 34, 0, tegra_clk_apbdma, 0),
        GATE("kbc", "clk_32k", 36, TEGRA_PERIPH_ON_APB | TEGRA_PERIPH_NO_RESET, tegra_clk_kbc, 0),
        GATE("fuse", "clk_m", 39, TEGRA_PERIPH_ON_APB, tegra_clk_fuse, 0),
        GATE("fuse_burn", "clk_m", 39, TEGRA_PERIPH_ON_APB, tegra_clk_fuse_burn, 0),