linux-stable/arch/arm/plat-samsung
Heiko Stuebner d8b532578f ARM: S3C24XX: cpufreq-utils: don't write raw values to MPLLCON when using ccf
The s3c24xx cpufreq driver needs to change the mpll speed and was doing
this by writing raw values from a translation table into the MPLLCON
register.

Change this to use a regular clk_set_rate call when using the common
clock framework and only write the raw value in the samsung_clock case.

The s3c cpufreq driver does already aquire the mpll, so simply add a reference
to struct s3c_cpufreq_config to let set_fvco access it.

While struct clk is opaque the differenciation between samsung clock and
common clock is kept, as the samsung-clock mpll clk does not implement a
real set_rate.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
2014-05-09 05:48:44 +09:00
..
include/plat ARM: S3C24XX: cpufreq-utils: don't write raw values to MPLLCON when using ccf 2014-05-09 05:48:44 +09:00
adc.c arch/arm/plat-samsung: don't check resource with devm_ioremap_resource 2013-05-18 11:59:33 +02:00
clock-clksrc.c driver-core: remove sysdev.h usage. 2011-12-21 16:26:03 -08:00
clock.c ARM: SAMSUNG: Remove hardware.h inclusion 2014-03-21 04:48:59 +09:00
cpu.c ARM: SAMSUNG: remove unneeded s3c24xx_init_cpu() 2014-02-14 07:17:53 +09:00
dev-backlight.c ARM: SAMSUNG: Initialize PWM backlight enable_gpio field 2013-10-16 09:05:57 +02:00
dev-uart.c
devs.c ARM: SAMSUNG: Remove hardware.h inclusion 2014-03-21 04:48:59 +09:00
dma-ops.c ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver 2013-11-24 14:38:24 +00:00
dma.c
init.c ARM: SoC: late cleanups 2014-04-05 15:46:37 -07:00
Kconfig Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-04-07 16:36:11 -07:00
Makefile ARM: SAMSUNG: Move common save/restore helpers to separate file 2014-03-21 04:09:25 +09:00
platformdata.c ARM: SAMSUNG: remove all uses of clk_type member in sdhci platform data 2012-04-21 08:24:56 -07:00
pm-check.c ARM: SAMSUNG: Move s3c_pm_check_* prototypes to plat/pm-common.h 2014-03-21 04:09:26 +09:00
pm-common.c ARM: SAMSUNG: Move common save/restore helpers to separate file 2014-03-21 04:09:25 +09:00
pm-debug.c ARM: SAMSUNG: Move Samsung PM debug code into separate file 2014-03-21 04:09:16 +09:00
pm-gpio.c ARM: SAMSUNG: Remove Exynos specific code from devs, s5p-pm-irq and pm-gpio.c 2014-02-14 10:40:15 +09:00
pm.c Samsung PM related 2nd updates for v3.15 2014-03-29 02:02:56 +01:00
s3c-dma-ops.c ASoC: Samsung: Do not queue cyclic buffers multiple times 2013-08-29 17:31:02 +01:00
s5p-clock.c ARM: SAMSUNG: Update default rate for xusbxti clock 2012-07-13 15:34:30 +09:00
s5p-dev-mfc.c ARM: SAMSUNG: Reorganize calls to reserve memory for MFC 2014-03-21 02:00:09 +09:00
s5p-dev-uart.c ARM: SAMSUNG: Remove hardware.h inclusion 2014-03-21 04:48:59 +09:00
s5p-irq-eint.c ARM: SAMSUNG: if detected device tree skip irq init for S5P 2013-12-02 07:17:57 +09:00
s5p-irq-gpioint.c arm: Move chained_irq_(enter|exit) to a generic file 2013-03-26 16:11:43 +00:00
s5p-irq-pm.c ARM: SAMSUNG: Remove Exynos specific code from devs, s5p-pm-irq and pm-gpio.c 2014-02-14 10:40:15 +09:00
s5p-irq.c ARM: SAMSUNG: Remove remaining uses of plat/regs-timer.h header 2013-08-12 21:53:24 +02:00
s5p-pm.c ARM: SAMSUNG: move pm part for common s5p into plat-samsung 2012-05-13 07:01:34 +09:00
s5p-sleep.S ARM: EXYNOS: Stop using legacy Samsung PM code 2014-03-21 04:09:28 +09:00
setup-camif.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
wakeup-mask.c driver-core: remove sysdev.h usage. 2011-12-21 16:26:03 -08:00
watchdog-reset.c ARM: SAMSUNG: Add watchdog reset driver 2013-06-19 03:13:16 +09:00