]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 8 Nov 2011 10:09:35 +0000 (19:09 +0900)
commit6517f9f2f448f0ff8cd8157a43a95fab64d85b9a
treeb8920a2ff444f3e293b6d1f00e6a27863fdac2da
parent004abb0167b3570a913687b74ee9b4366f89d348
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