ARM: S3C24XX: enable usage of common dclk if common clock framework is enabled
authorHeiko Stuebner <heiko@sntech.de>
Thu, 8 May 2014 20:48:57 +0000 (05:48 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 12 May 2014 23:00:01 +0000 (08:00 +0900)
commit51cb128987d96538fdea4ce3704e79257afad4a5
tree1109bd22e3f6a5fb9e3274bd3d158c4a05d17c94
parent5799ea12a41286d9588155a1abd828f43bc63d6b
ARM: S3C24XX: enable usage of common dclk if common clock framework is enabled

Add platform device and select the correct implementation automatically
depending on wether the old samsung_clock or the common clock framework
is enabled.

This is only done for machines already using the old dclk implementation,
as everybody else should move to use dt anyway.

The machine-specific settings for the external clocks will have to be set
by somebody with knowledge about the specific hardware.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
[pebolle@tiscali.nl: pointed out typo and fixed]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c24xx/Kconfig
arch/arm/mach-s3c24xx/common.c
arch/arm/mach-s3c24xx/common.h
arch/arm/mach-s3c24xx/mach-anubis.c
arch/arm/mach-s3c24xx/mach-bast.c
arch/arm/mach-s3c24xx/mach-osiris.c
arch/arm/mach-s3c24xx/mach-rx1950.c
arch/arm/mach-s3c24xx/mach-vr1000.c
arch/arm/mach-s3c24xx/s3c244x.c