From patchwork Fri Oct 4 07:20:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2987291 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 D90B3BFF0B for ; Fri, 4 Oct 2013 07:20:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D6C6A2045A for ; Fri, 4 Oct 2013 07:20:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C024220459 for ; Fri, 4 Oct 2013 07:20:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752001Ab3JDHUn (ORCPT ); Fri, 4 Oct 2013 03:20:43 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:53495 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752010Ab3JDHUm (ORCPT ); Fri, 4 Oct 2013 03:20:42 -0400 Received: from axis700.grange (dslb-094-221-125-128.pools.arcor-ip.net [94.221.125.128]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0LosHL-1W3GaO0Zw3-00gL8K; Fri, 04 Oct 2013 09:20:35 +0200 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id 9E24A40BB6; Fri, 4 Oct 2013 09:20:34 +0200 (CEST) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1VRzge-0008Iy-QR; Fri, 04 Oct 2013 09:20:32 +0200 From: Guennadi Liakhovetski To: linux-sh@vger.kernel.org Cc: Magnus Damm , Sergei Shtylyov , Laurent Pinchart , Simon Horman , Guennadi Liakhovetski Subject: [PATCH v3 2/3] ARM: shmobile: lager: add Device Tree entries for CA15 CPUFreq support Date: Fri, 4 Oct 2013 09:20:31 +0200 Message-Id: <1380871232-31896-3-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1380871232-31896-1-git-send-email-g.liakhovetski@gmx.de> References: <1380871232-31896-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:3yqDNLQ0B4401TkevMNXYWRrxjdUXzEqQUfGICRaU7Q 7x5GJ8XTDRW1G2ZbwvMCpb2Vrbi9Rw3Ev5aeSE1+41QK1aMZ55 X44PU4fLmO8hbbatSK90TOOLSjZekO/wlE5UZtqtGonrPAs9SZ EldtPQ7heWJDIe302E7Ternf8uoo3Q4BbeUzyOqJqJNJtjSGiu CK1Z4dO82BIZ0or0pTn92AyFVGwavABvK+xWl1NnNmC5aT5efQ vOwVlpb/0DulK5wls9PajyZNYg+BD4vdFmTABoz2Q6Mq9kvjlR gTrG3y1OSLZjx1r5UvofPd5q2Ya+pLey1UK5AQeMBaGPTnnBBG Qx1VLKKaOfDNS8ddJNGvRAE3TfZ0HKuLchGf1+RJ4pvHE9aiyQ p7CmpaLlSHUUw== 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,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 This patch adds a regulator and CA15 Operating Performance Points for the Lager board, necessary for the CPUFreq support, to the Device Tree. Signed-off-by: Guennadi Liakhovetski --- v3: .dts part of former patch 5/5 arch/arm/boot/dts/r8a7790-lager-reference.dts | 33 +++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-lager-reference.dts b/arch/arm/boot/dts/r8a7790-lager-reference.dts index c462ef1..1ce0a97 100644 --- a/arch/arm/boot/dts/r8a7790-lager-reference.dts +++ b/arch/arm/boot/dts/r8a7790-lager-reference.dts @@ -43,3 +43,36 @@ }; }; }; + +&i2c3 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_pins>; + + vdd_dvfs: da9210@68 { + compatible = "diasemi,da9210"; + reg = <0x68>; + + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1000000>; + regulator-boot-on; + regulator-always-on; + }; +}; + +&cpu0 { + cpu0-supply = <&vdd_dvfs>; + operating-points = < + /* kHz uV - OPs unknown yet */ + 1300000 1000000 + 1000000 900000 + >; + voltage-tolerance = <1>; /* 1% */ +}; + +&pfc { + i2c3_pins: i2c3 { + renesas,groups = "i2c3"; + renesas,function = "i2c3"; + }; +};