Re: [PATCH v3] ARM: Samsung SoC: clksrc-clk: wait for the stable SRC/DIV status.

2010-08-03 Thread MyungJoo Ham
On Tue, Aug 3, 2010 at 9:19 AM, Kukjin Kim kgene@samsung.com wrote: MyungJoo Ham wrote: On Mon, Aug 2, 2010 at 2:30 PM, Kukjin Kim kgene@samsung.com wrote: MyungJoo Ham wrote: Many MUX and clock dividers have a status bit so that users can wait until the status is stable. When

[PATCH v6 0/7] ARM: S5PV210: CPUFREQ Initial Support

2010-08-03 Thread MyungJoo Ham
S5PV210 CPUFREQ Initial Support. This is a series of patches to enable CPUFREQ for S5PV210. Although this works without PMIC's DVS support, it is not as effective without DVS support as supposed. AVS is not supported in this version. At the patch revision v6, the following patches are updated

[PATCH v6 1/7] ARM: S5PV210: Allow to probe EVT revision number.

2010-08-03 Thread MyungJoo Ham
Early products of S5PV210, EVT0, had several errata that require kernel to avoid using some parts/instructions of the CPU or to add protection instructions. There are products with such early production CPUs; thus, we want to distinguish them in kernel. This patch is to distinguish such products.

[PATCH v6 2/7] ARM: Samsung SoC: added hclk/pclk info to s3c_freq for s5pv210 cpu-freq

2010-08-03 Thread MyungJoo Ham
S5PV210 requires msys/dsys info as well; thus, we've included those at struct s3c_freq, which is used by CPUFREQ of S5PV210. Signed-off-by: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/include/plat/cpu-freq.h |6 ++

[PATCH v6 3/7] ARM: S5P: Added default pll values for APLL 800/1000MHz

2010-08-03 Thread MyungJoo Ham
CPUFREQ of S5PV210 uses different APLL settings according to different CPU frequencies. We provide such settings values for CPUFREQ at pll.h. Note that at 1GHz of ARMCLK, APLL should be 1GHz and for other lower ARMCLK, APLL should be 800MHz. Signed-off-by: MyungJoo Ham myungjoo@samsung.com

[PATCH v6 4/7] ARM: S5P: Virtual Addresses for DMCx registers.

2010-08-03 Thread MyungJoo Ham
The CPUFREQ driver requires an access to DMCx registers. We define virtual addresses of DMCx registers. Signed-off-by: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-s5p/include/plat/map-s5p.h |3 +++ 1 files changed, 3

[PATCH v6 5/7] ARM: S5PV210: Access for DMCx registers

2010-08-03 Thread MyungJoo Ham
The CPUFREQ driver requires an access to DMCx registers. We define physical addresses and mapping between physical and virtual addresses of DMCx registers. Signed-off-by: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH v6 6/7] ARM: S5PV210: clock registers (CLK_DIV/SRC/STAT)

2010-08-03 Thread MyungJoo Ham
Previously, most of CLK_DIV/SRC register accessing mask and shift values were used at arch/arm/mach-s5pv210/clock.c only; thus we had not been using macros for these. However, as CPUFREQ uses those shift and mask values as well, we'd better define them at a single location, whose proper location

[PATCH v6 7/7] ARM: S5PV210: Initial CPUFREQ Support

2010-08-03 Thread MyungJoo Ham
S5PV210 CPUFREQ Support. This CPUFREQ may work without PMIC's DVS support. However, it is not as effective without DVS support as supposed. AVS is not supported in this version. Note that CLK_SRC of some clocks including ARMCLK, G3D, G2D, MFC, and ONEDRAM are modified directly without updating

[PATCH 1/2] ARM: S5PC100: cleanup hsmmc clock definitions

2010-08-03 Thread Marek Szyprowski
This patch performs minor clocks cleanup for S5PC100 SoC. HSMMC special clocks has been renamed back to sclk_mmc to match the common style of clock names. This clock has been also added to sdhci clock source list. The duplicate HCLK clock entry for sdhci-s3c has been disabled. Signed-off-by:

[PATCH 2/2] ARM: S5PV210: cleanup hsmmc clock definitions

2010-08-03 Thread Marek Szyprowski
This patch performs minor clocks cleanup for S5PV210 SoC. The duplicate HCLK clock entry for sdhci-s3c has been disabled and the index of a reserved entry has been fixed. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH] SDHCI clock source definition cleanup

2010-08-03 Thread Marek Szyprowski
Hello, This short patch series performs a little cleanup in clock source definitions for S5PC100 and S5PV210 SoCs. A complete list of patches: [PATCH 1/2] ARM: S5PC100: cleanup hsmmc clock definitions [PATCH 2/2] ARM: S5PV210: cleanup hsmmc clock definitions Best regards -- Marek Szyprowski