]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: EXYNOS4: 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>
Wed, 2 Nov 2011 11:51:22 +0000 (20:51 +0900)
commitf319ce8a0335a877a77820dcd0b74a3fb645e24e
tree79a55fbad79747482787b559647a84285784e01b
parent756deaa4f57555ae8af3876e425b604c182d9093
ARM: EXYNOS4: 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-exynos4/clock.c