From: Heiko =?iso-8859-1?q?St=FCbner?= Subject: Re: [PATCH] cpufreq: Add S3C2416/S3C2450 cpufreq driver Date: Mon, 30 Jan 2012 21:21:41 +0100 Message-ID: <201201302121.42020.heiko@sntech.de> References: <201201142209.58453.heiko@sntech.de> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <201201142209.58453.heiko@sntech.de> Sender: linux-samsung-soc-owner@vger.kernel.org List-ID: Content-Type: Text/Plain; charset="iso-8859-1" To: Dave Jones Cc: Kukjin Kim , cpufreq@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Dron Gus Am Samstag 14 Januar 2012, 22:09:57 schrieb Heiko St=FCbner: > The S3C2416/S3C2450 SoCs support two sources for the armclk. >=20 > The first source is the so called armdiv which divides the msysclk do= wn > to provide necessary cpu rates. In this mode the core voltage must be > always at 1.3V. The frequency from the armdiv is not allowed to be > lower than the hclk frequency. >=20 > In the second mode the armclk can be sourced directly from the hclk i= n > the so called "dynamic voltags scaling" (dvs) mode. Here the armdiv > isn't used at all. Also in this mode the core voltage may be lowered. > Existing hardware and tests with it suggest 1.0V as sufficient. >=20 > When changing the clock source to the armdiv from the hclk, the SoC > shows stability issues if the new frequency is higher than the curren= t > hclk frequency. Hence the driver always forces the armdiv to the hclk > frequency before the source change and lets the cpufreq issue another > set_target call for higher frequencies. >=20 > To mark the hclk frequency as lower as the corresponding armdiv > frequency it is set 1MHz below the real frequency. This lets the cpuf= req > framework change between 133MHz based on hclk and 133MHz based on arm= div > at will. >=20 > Signed-off-by: Heiko Stuebner ping? Thanks Heiko