From patchwork Wed Aug 20 13:02:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4751051 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 265B8C0338 for ; Wed, 20 Aug 2014 13:00:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 071FB20136 for ; Wed, 20 Aug 2014 13:00:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DC5A22012F for ; Wed, 20 Aug 2014 13:00:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752580AbaHTNAR (ORCPT ); Wed, 20 Aug 2014 09:00:17 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:39793 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752387AbaHTNAQ (ORCPT ); Wed, 20 Aug 2014 09:00:16 -0400 Received: by mail-pd0-f182.google.com with SMTP id fp1so11892588pdb.27 for ; Wed, 20 Aug 2014 06:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=4Ejf5/u/TDr9JGevs5Nx06F57K3jtJAf8SfcVCGcGgI=; b=ludSsH40JPJG43RAR308mlEbhWj/opdoohWa1C5Q/G9NzLqjXoiTHbgVXO0Wuq5Ntg p7Uhb7zCawScsWYDDzPlJjPOuQngET79IQc3OqJpxvDa2BcL48cTiGw6OjNcCMR8+3Sx mNUnQCwuu4AeaN6sUoWk36/9mhS4rgc2a8xuPYlT3v+LPE8ALISFUwkxlSsCZsdS3Ztb Lm1wBuKD2ZLuXgwgOw6KtvlKHVlNLkDgRI6spk9YPFilUBQRFP5vxkITtinyqgjFpkgl PqpSq0ilxkNFKeJu60jSleVONeZ73Drkne0Gji4Ds7+2VKc6083Q/5v5AVrj8kq90YpM 48uQ== X-Received: by 10.70.129.34 with SMTP id nt2mr58608753pdb.70.1408539610510; Wed, 20 Aug 2014 06:00:10 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id j7sm34071042pdk.1.2014.08.20.06.00.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Aug 2014 06:00:09 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au Date: Wed, 20 Aug 2014 22:02:27 +0900 Message-Id: <20140820130227.32075.16599.sendpatchset@w520> In-Reply-To: <20140820130201.32075.45257.sendpatchset@w520> References: <20140820130201.32075.45257.sendpatchset@w520> Subject: [PATCH 03/10] ARM: shmobile: r8a7778: Update DTS to include CPU frequency Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add CPU Frequency information to the r8a7778 DTS file. This will allow us to use the shared C code on r8a7778 and BockW which reads out the clock frequency from DT and calculates the delay settings from there. Also add other missing CPU information to the r8a7778 DTS. Signed-off-by: Magnus Damm --- arch/arm/boot/dts/r8a7778.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/arm/boot/dts/r8a7778.dtsi +++ work/arch/arm/boot/dts/r8a7778.dtsi 2014-08-20 21:04:52.000000000 +0900 @@ -23,8 +23,14 @@ interrupt-parent = <&gic>; cpus { + #address-cells = <1>; + #size-cells = <0>; + cpu@0 { + device_type = "cpu"; compatible = "arm,cortex-a9"; + reg = <0>; + clock-frequency = <800000000>; }; };