]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: EXYNOS: Add a alias for pdma clocks
authorThomas Abraham <thomas.abraham@linaro.org>
Mon, 24 Oct 2011 12:01:03 +0000 (14:01 +0200)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 23 Dec 2011 01:07:07 +0000 (10:07 +0900)
commite3aa118603b4954953eff5e8f59cba528487f8c6
tree2e858f07c2302e47f3b7609d567acb3101279ef2
parent5c93d55a4871ace2d1026f5aba8e1ac16ef0dc8b
ARM: EXYNOS: Add a alias for pdma clocks

PDMA controllers when instantiated from device tree are registered using
amba_device_register(). The registration process enables clock to the
controllers to read the peripheral id of the PDMA amba device.

In case of Exynos4, the clocks to the PDMA controllers are named as 'dma'
but amba_device_register() looks up the clock using the name 'apb_pclk'.
Hence, alias clocks with name 'apb_pclk' clock are created for clocks
with name 'dma'.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/clock.c