Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: tegra: Add the APB2APE audio clock on Tegra210

The APB2APE clock for the audio subsystem is required for powering up the
audio power domain and accessing the various modules in this subsystem on
Tegra210 devices. Add this clock for Tegra210.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Jon Hunter and committed by
Thierry Reding
29569941 047d6d84

+4 -1
+1
drivers/clk/tegra/clk-id.h
··· 11 11 tegra_clk_afi, 12 12 tegra_clk_amx, 13 13 tegra_clk_amx1, 14 + tegra_clk_apb2ape, 14 15 tegra_clk_apbdma, 15 16 tegra_clk_apbif, 16 17 tegra_clk_ape,
+1
drivers/clk/tegra/clk-tegra-periph.c
··· 829 829 GATE("xusb_gate", "osc", 143, 0, tegra_clk_xusb_gate, 0), 830 830 GATE("pll_p_out_cpu", "pll_p", 223, 0, tegra_clk_pll_p_out_cpu, 0), 831 831 GATE("pll_p_out_adsp", "pll_p", 187, 0, tegra_clk_pll_p_out_adsp, 0), 832 + GATE("apb2ape", "clk_m", 107, 0, tegra_clk_apb2ape, 0), 832 833 }; 833 834 834 835 static struct tegra_periph_init_data div_clks[] = {
+1
drivers/clk/tegra/clk-tegra210.c
··· 2204 2204 [tegra_clk_pll_c4_out1] = { .dt_id = TEGRA210_CLK_PLL_C4_OUT1, .present = true }, 2205 2205 [tegra_clk_pll_c4_out2] = { .dt_id = TEGRA210_CLK_PLL_C4_OUT2, .present = true }, 2206 2206 [tegra_clk_pll_c4_out3] = { .dt_id = TEGRA210_CLK_PLL_C4_OUT3, .present = true }, 2207 + [tegra_clk_apb2ape] = { .dt_id = TEGRA210_CLK_APB2APE, .present = true }, 2207 2208 }; 2208 2209 2209 2210 static struct tegra_devclk devclks[] __initdata = {
+1 -1
include/dt-bindings/clock/tegra210-car.h
··· 126 126 /* 104 */ 127 127 /* 105 */ 128 128 #define TEGRA210_CLK_D_AUDIO 106 129 - /* 107 ( affects abp -> ape) */ 129 + #define TEGRA210_CLK_APB2APE 107 130 130 /* 108 */ 131 131 /* 109 */ 132 132 /* 110 */