From patchwork Tue May 21 10:09:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2596721 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 52D63DFF68 for ; Tue, 21 May 2013 10:10:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752038Ab3EUKKK (ORCPT ); Tue, 21 May 2013 06:10:10 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:63097 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752471Ab3EUKKJ (ORCPT ); Tue, 21 May 2013 06:10:09 -0400 Received: from axis700.grange (dslb-178-001-227-115.pools.arcor-ip.net [178.1.227.115]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0Lf4Iu-1U7vrB1YkK-00pCwO; Tue, 21 May 2013 12:09:57 +0200 Received: by axis700.grange (Postfix, from userid 1000) id 14CB540BB4; Tue, 21 May 2013 12:09:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by axis700.grange (Postfix) with ESMTP id 11F8B40BB3; Tue, 21 May 2013 12:09:57 +0200 (CEST) Date: Tue, 21 May 2013 12:09:57 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: linux-sh@vger.kernel.org cc: linux-pm@vger.kernel.org, Magnus Damm , "Rafael J. Wysocki" , linux-arm-kernel@lists.infradead.org Subject: [ILLUSTRATION 2/2] ARM: shmobile: lager: add CPUFreq support In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Provags-ID: V02:K0:7taDk2mcvhJnKAoCNHEVPaxvWziN0utbrS//Ku7cH1+ fApaOzr7EKLxR/8u3UqhXjXKjp3vxjNpa0oKvgyYQ6eeD6TuCT y0iR/BHcWlTRI+eBT7oCS6gkOJ7DAkYXOYubOw+gvCZm02FX6U sWVIEU5ao4FWkPnKDUOvES+b8+c537hN3PhlxNqfZZiege85N8 psO5hJx4WHKab30CfwAlsQei3MmwDj/T3ctx51VeB0U2XdYoTi ZUowmEvNH/czQXK4BdnAtq51IvisL2uA7rPIWIZh8Qauw+94rd NNvV+rJcM+oZGi3PrW9Ux4SoIO3VWoS+8GV+4waHB5NVjQLywF u4YvCade16HT8/JfT8+PoyHtQ8R8LQcdbwnrmtuB4nKw9mL4Aw V6ZK2pZf/WGHw== Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add DT properties, necessary to enable CPUFreq support on Lager. Not-Signed-off-by: Guennadi Liakhovetski --- As the subject and the NSob signify, this is not to be applied. This is just an example, how the CPUFreq support can be enabled on Lager. A proper patch will include regulator support. arch/arm/boot/dts/r8a7790-lager.dts | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 8d4c396..0e3198f 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -19,6 +19,14 @@ bootargs = "console=ttySC6,115200 ignore_loglevel"; }; + cpus { + cpu@0 { + operating-points = <1300000 1000000 + 100000 900000>; + clock-latency = <1000000>; + }; + }; + memory@40000000 { device_type = "memory"; reg = <0 0x40000000 0 0x80000000>;