From patchwork Thu Mar 26 17:06:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Paton X-Patchwork-Id: 6101161 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B413EBF90F for ; Thu, 26 Mar 2015 17:09:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C3F1A20425 for ; Thu, 26 Mar 2015 17:09:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E2633201EC for ; Thu, 26 Mar 2015 17:09:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YbBFm-0005Xz-M3; Thu, 26 Mar 2015 17:07:34 +0000 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YbBFh-0005OA-S8 for linux-arm-kernel@lists.infradead.org; Thu, 26 Mar 2015 17:07:30 +0000 Received: by wibgn9 with SMTP id gn9so94776716wib.1 for ; Thu, 26 Mar 2015 10:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=4pOtZPixnRH4TayAQBnQAsyJikTTOXCJxyPjLdwOFnA=; b=oNshs1/kjEwdelCLugJJkC7wfswR03wwTAm4fRp+fD2B27jk/Wt6yuNMaxWyBD1inA Y8Xh0IKKVIQCA5vAumkA6ToAgcyR/ny2ZLAZQxH59EhHO4a1xitGD/d21xrZK8qS2Vid FCxp053OlWVvEgvrjg22NB0U0DWQrcwXrLQZT/amPW4grsz9wFbEoTCAmmTecp87vZaE 3AhasU7/1nMr6gZBCZZ9y77bMAcd/yEKoUK1whzj6Eqal8x/A2LN0/KEh+6KdlKGZPxP Y7Gv60oDszHlXNYp2UGvVHbnn1+tcsjzGow6ootSB/j9En3vAANidrhlvOoYTrynD8DJ vgeg== X-Received: by 10.194.187.236 with SMTP id fv12mr30354225wjc.131.1427389628172; Thu, 26 Mar 2015 10:07:08 -0700 (PDT) Received: from [172.20.0.44] (hades.darkvoyage.org.uk. [81.187.177.1]) by mx.google.com with ESMTPSA id hl15sm26152630wib.3.2015.03.26.10.07.07 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Mar 2015 10:07:07 -0700 (PDT) Message-ID: <55143CA1.7000606@gmail.com> Date: Thu, 26 Mar 2015 17:06:41 +0000 From: Iain Paton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Maxime Ripard , linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] sunxi: a20-LIME2 update regulator description X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150326_100730_063993_9B4A0197 X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.6 (/) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_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 configure regulators as per the manufacturers recomendations from their 3.4.x fex file. this is necessary to prevent operating points in the dtsi selecting inappropriate values and causing the board to lockup Signed-off-by: Iain Paton --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 34 +++++++++++++++++-------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts index 5e57157..704df28 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -123,41 +123,55 @@ ldo24in-supply = <®_axp_ipsout>; ldo3in-supply = <®_axp_ipsout>; + x-powers,dcdc-freq = <1500>; + regulators { vdd_rtc: ldo1 { regulator-min-microvolt = <1300000>; regulator-max-microvolt = <1300000>; regulator-always-on; + regulator-name="vdd_rtc"; }; avcc: ldo2 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; regulator-always-on; + regulator-name="avcc"; }; vcc_csi0: ldo3 { - regulator-min-microvolt = <700000>; - regulator-max-microvolt = <3500000>; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; regulator-always-on; + regulator-name="vcc_csi0"; }; vcc_csi1: ldo4 { - regulator-min-microvolt = <1250000>; - regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; regulator-always-on; + regulator-name="vcc_csi1"; + }; + + ldo5 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-name="reg_unused"; }; vdd_cpu: dcdc2 { - regulator-min-microvolt = <700000>; - regulator-max-microvolt = <2275000>; + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1450000>; regulator-always-on; + regulator-name="vdd_cpu"; }; vdd_int: dcdc3 { - regulator-min-microvolt = <700000>; - regulator-max-microvolt = <3500000>; + regulator-min-microvolt = <1300000>; + regulator-max-microvolt = <1300000>; regulator-always-on; + regulator-name="vdd_int"; }; }; };