]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9829ffcac9a60ddb9391df718e89d0401cd3e85e
tree1109bd22e3f6a5fb9e3274bd3d158c4a05d17c94
parent38378ab504a38cc5b41d52f1d5b7cf0d75766b9a
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