Commit 851690ee0fa1d6a8148e3bba85d231f55fcfe724

Authored by Vaibhav Hiremath
1 parent 0572844101
Exists in master

arm:omap:am33xx: Create an alias for sgx/gfx clock

GFX/SGX driver has specific requriement for clock naming
convention, due to legacy platform support.
So create an alias for the clock "gfx_fclk" --> "sgx_ck".

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

arch/arm/mach-omap2/board-am335xevm.c
... ... @@ -1845,6 +1845,9 @@
1845 1845 /* Create an alias for icss clock */
1846 1846 if (clk_add_alias("pruss", NULL, "icss_uart_gclk", NULL))
1847 1847 pr_err("failed to create an alias: icss_uart_gclk --> pruss\n");
  1848 + /* Create an alias for gfx/sgx clock */
  1849 + if (clk_add_alias("sgx_ck", NULL, "gfx_fclk", NULL))
  1850 + pr_err("failed to create an alias: gfx_fclk --> sgx_ck\n");
1848 1851 }
1849 1852  
1850 1853 static void __init am335x_evm_map_io(void)