From patchwork Fri Jun 7 16:11:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 17679 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f70.google.com (mail-qa0-f70.google.com [209.85.216.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4E3F625E27 for ; Fri, 7 Jun 2013 16:11:46 +0000 (UTC) Received: by mail-qa0-f70.google.com with SMTP id cr7sf1541531qab.1 for ; Fri, 07 Jun 2013 09:11:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=6/OPETj/Hi7knMIcAMV7UO5MVGS/5L6KKfNTTTTUWJo=; b=BWv2IPr9wMxrWdr9YoduaG4IjzlcOxVK4u51vyyX09fLKOZVcW2DvxCRDV4WCG6OFk kPBsB6mWYUQClHw72NSPmxxzF9H9GvR6Z+O6/c9X2/5ZkxCuxFq3GZINlCoNKTE5aZiP UVnJ15W/rkyoPjrfqWZJUsaoZz8NLfwoMJbvT724mbq6Smm8YHWWIy2ffqKU//dXYOHj zDc4WqmbOUL4kt9WC70fsn+wMBUAO3cRVmtOcCQi2m831OyTlv6FXoQeVROz+Ss/9XUa jbgTAs5pCSxzuHB4dmaptsZ/3xIi8pJIn3O0VudidHY/nDAzyQDvZNtosdkf9noxoVdY V0jw== X-Received: by 10.236.134.14 with SMTP id r14mr21936394yhi.39.1370621505949; Fri, 07 Jun 2013 09:11:45 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.50.197 with SMTP id e5ls1829330qeo.42.gmail; Fri, 07 Jun 2013 09:11:45 -0700 (PDT) X-Received: by 10.220.101.69 with SMTP id b5mr16731134vco.55.1370621505732; Fri, 07 Jun 2013 09:11:45 -0700 (PDT) Received: from mail-vb0-x235.google.com (mail-vb0-x235.google.com [2607:f8b0:400c:c02::235]) by mx.google.com with ESMTPS id i3si3017386vdw.61.2013.06.07.09.11.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 09:11:45 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::235 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::235; Received: by mail-vb0-f53.google.com with SMTP id p12so2802193vbe.40 for ; Fri, 07 Jun 2013 09:11:45 -0700 (PDT) X-Received: by 10.58.173.36 with SMTP id bh4mr1193962vec.9.1370621505618; Fri, 07 Jun 2013 09:11:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp120709vcb; Fri, 7 Jun 2013 09:11:44 -0700 (PDT) X-Received: by 10.15.35.71 with SMTP id f47mr39565471eev.15.1370621504546; Fri, 07 Jun 2013 09:11:44 -0700 (PDT) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [2a00:1450:4013:c01::22b]) by mx.google.com with ESMTPS id i44si22570530eew.97.2013.06.07.09.11.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 09:11:44 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4013:c01::22b is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:4013:c01::22b; Received: by mail-ea0-f171.google.com with SMTP id m14so3697367eaj.2 for ; Fri, 07 Jun 2013 09:11:44 -0700 (PDT) X-Received: by 10.14.89.66 with SMTP id b42mr39673761eef.89.1370621504015; Fri, 07 Jun 2013 09:11:44 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPSA id c5sm97260340eeu.8.2013.06.07.09.11.42 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 09:11:43 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, broonie@linaro.org, Lee Jones Subject: [PATCH 01/10] ARM: ux500: Add Device Tree nodes for AB8500 External regulators Date: Fri, 7 Jun 2013 17:11:19 +0100 Message-Id: <1370621488-18130-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1370621488-18130-1-git-send-email-lee.jones@linaro.org> References: <1370621488-18130-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmp8ZMQh/Cjun4q/rw5W6cwQQh4V2po7kCpweEiXdjPb+LXVGPyLUW2riJNMaQFNQCPnAHb X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::235 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The AB8500 has 3 external regulators which are used to control outside voltage sources. Some of the core AB8500 use these external regulators as a supply, so they must be obtainable via Device Tree. Signed-off-by: Lee Jones --- arch/arm/boot/dts/dbx5x0.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index a082f0b..ea87fac 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -452,6 +452,33 @@ stericsson,earpeice-cmv = <950>; /* Units in mV. */ }; + ext_regulators: ab8500-ext-regulators { + compatible = "stericsson,ab8500-ext-regulator"; + + ab8500_ext1_reg: ab8500_ext1 { + regulator-compatible = "ab8500_ext1"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + ab8500_ext2_reg: ab8500_ext2 { + regulator-compatible = "ab8500_ext2"; + regulator-min-microvolt = <1360000>; + regulator-max-microvolt = <1360000>; + regulator-boot-on; + regulator-always-on; + }; + + ab8500_ext3_reg: ab8500_ext3 { + regulator-compatible = "ab8500_ext3"; + regulator-min-microvolt = <3400000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + }; + }; + ab8500-regulators { compatible = "stericsson,ab8500-regulator";