From: Hemant Hariyani Date: Mon, 6 May 2013 01:02:12 +0000 (-0500) Subject: arm: dra: Add gpu interface clock X-Git-Tag: android-3.8-6AJ.1.1~44^2~1^2 X-Git-Url: https://git.ti.com/gitweb?p=android-sdk%2Fkernel-video.git;a=commitdiff_plain;h=13545520396589a9330c42d07583feda8aee8ab4 arm: dra: Add gpu interface clock Add gpu iclk. Change-Id: Id9fcf210f67998682b4e21949699b8513aafecbf Signed-off-by: Hemant Hariyani --- diff --git a/arch/arm/mach-omap2/cclock7xx_data.c b/arch/arm/mach-omap2/cclock7xx_data.c index 87f9d563caf..e77d58771c7 100644 --- a/arch/arm/mach-omap2/cclock7xx_data.c +++ b/arch/arm/mach-omap2/cclock7xx_data.c @@ -1259,6 +1259,20 @@ static struct clk_hw_omap l3_iclk_div_hw = { DEFINE_STRUCT_CLK(l3_iclk_div, mpu_dpll_hs_clk_div_parents, apll_pcie_clkvcoldo_ops); +static const char *gpu_l3_iclk_parents[] = { + "l3_iclk_div", +}; + +static struct clk gpu_l3_iclk; + +static struct clk_hw_omap gpu_l3_iclk_hw = { + .hw = { + .clk = &gpu_l3_iclk, + }, +}; + +DEFINE_STRUCT_CLK(gpu_l3_iclk, gpu_l3_iclk_parents, apll_pcie_clkvcoldo_ops); + static const struct clk_div_table l3init_60m_fclk_rates[] = { { .div = 1, .val = 0 }, { .div = 8, .val = 1 }, @@ -1950,6 +1964,7 @@ static struct omap_clk dra7xx_clks[] = { CLK(NULL, "hdmi_div_clk", &hdmi_div_clk, CK_7XX), CLK(NULL, "hdmi_dpll_clk_mux", &hdmi_dpll_clk_mux, CK_7XX), CLK(NULL, "l3_iclk_div", &l3_iclk_div, CK_7XX), + CLK(NULL, "gpu_l3_iclk", &gpu_l3_iclk, CK_7XX), CLK(NULL, "l3init_60m_fclk", &l3init_60m_fclk, CK_7XX), CLK(NULL, "l4_root_clk_div", &l4_root_clk_div, CK_7XX), CLK(NULL, "mlb_clk", &mlb_clk, CK_7XX),