arm:omap:am33xx: Create an alias for sgx/gfx clock
authorVaibhav Hiremath <hvaibhav@ti.com>
Tue, 29 Nov 2011 12:50:12 +0000 (18:20 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:38 +0000 (00:44 +0530)
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>
arch/arm/mach-omap2/board-am335xevm.c

index 455f48e33b1b0457de8e0f456bb43110d101455a..f08e7d911ca6947ca659a5d4576f2d92be156305 100644 (file)
@@ -1801,6 +1801,9 @@ static void __init am335x_evm_init(void)
        /* Create an alias for icss clock */
        if (clk_add_alias("pruss", NULL, "icss_uart_gclk", NULL))
                pr_err("failed to create an alias: icss_uart_gclk --> pruss\n");
+       /* Create an alias for gfx/sgx clock */
+       if (clk_add_alias("sgx_ck", NULL, "gfx_fclk", NULL))
+               pr_err("failed to create an alias: gfx_fclk --> sgx_ck\n");
 }
 
 static void __init am335x_evm_map_io(void)