]> 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>
Thu, 3 Nov 2011 02:08:54 +0000 (11:08 +0900)
commitb42776e1bc8dcc70a6bb3a1815237902eb055889
tree7fb907cab0a08b674ba9c24ef73b0a215ab226c9
parentd988b493863a721a70744752e1da364543e4c4d5
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