From patchwork Tue Mar 11 15:46:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 26027 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2AB4020068 for ; Tue, 11 Mar 2014 15:47:09 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id i8sf21264514qcq.8 for ; Tue, 11 Mar 2014 08:47:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=WddgB36aY1k4eScFWY0gXgY7kdQ3dKv+/Wt/muejeuE=; b=i2MtUCCgbC72q+qk5+THc6XxEPHEwW+HeB1q1rX9pGB1CtpsaCSXfyw3aFwz/6COvB kIkgxdAjze/7J3DT+mfpYtmPn47OagupArHFDRuvzUBbkknHossbllk7h2qGzZqd6zDm Ti/YM7bC+fDUd0TJnCjFhaGzG9PmjO0gw/fgcbQnETjvHk+F2As2dTMbm/kQvFw1h6B/ CvbtwqIYzldlAcuKn6L8oWPmLP0NXZHeQ8g/rOHhXv1T+h4MWEwzJWWn8PeQ6SAg+sb6 2llH8bKtGtSWXSwE1oj5rPIkDUG88OEi45kB4zLHwtENOLE01qsvxUvMjIIrPvWlGHki gF1Q== X-Gm-Message-State: ALoCoQmEbrbE/2IlLkw2zNHSr4+5ayRKNs3QDLUZ895AGqY7XcoRYnV3h21vOKJcVHNl6kRLIEah X-Received: by 10.224.113.202 with SMTP id b10mr16750483qaq.3.1394552828896; Tue, 11 Mar 2014 08:47:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.184 with SMTP id w53ls22890qge.45.gmail; Tue, 11 Mar 2014 08:47:08 -0700 (PDT) X-Received: by 10.221.27.136 with SMTP id rq8mr28340vcb.73.1394552828756; Tue, 11 Mar 2014 08:47:08 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id x3si5858828vcn.9.2014.03.11.08.47.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Mar 2014 08:47:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id hu8so8786943vcb.15 for ; Tue, 11 Mar 2014 08:47:08 -0700 (PDT) X-Received: by 10.220.191.134 with SMTP id dm6mr28529862vcb.16.1394552828670; Tue, 11 Mar 2014 08:47:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp214743vck; Tue, 11 Mar 2014 08:47:08 -0700 (PDT) X-Received: by 10.194.188.41 with SMTP id fx9mr2391900wjc.56.1394552827471; Tue, 11 Mar 2014 08:47:07 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id bs18si1792442wib.18.2014.03.11.08.47.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Mar 2014 08:47:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WNOtM-00025h-76; Tue, 11 Mar 2014 15:46:56 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WNOtJ-0002ce-KY; Tue, 11 Mar 2014 15:46:53 +0000 Received: from mail-qc0-f173.google.com ([209.85.216.173]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WNOtG-0002bB-Bw for linux-arm-kernel@lists.infradead.org; Tue, 11 Mar 2014 15:46:50 +0000 Received: by mail-qc0-f173.google.com with SMTP id r5so9566629qcx.18 for ; Tue, 11 Mar 2014 08:46:27 -0700 (PDT) X-Received: by 10.140.21.201 with SMTP id 67mr45946736qgl.78.1394552786450; Tue, 11 Mar 2014 08:46:26 -0700 (PDT) Received: from beef.ohporter.com (cpe-98-27-254-98.neo.res.rr.com. [98.27.254.98]) by mx.google.com with ESMTPSA id q10sm69110559qah.22.2014.03.11.08.46.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Mar 2014 08:46:25 -0700 (PDT) From: Matt Porter To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Samuel Ortiz , Lee Jones , Liam Girdwood , Mark Brown , Christian Daudt Subject: [PATCH v3 1/5] mfd: add bcm590xx pmu DT binding Date: Tue, 11 Mar 2014 11:46:11 -0400 Message-Id: <1394552775-31264-2-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1394552775-31264-1-git-send-email-mporter@linaro.org> References: <1394552775-31264-1-git-send-email-mporter@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140311_114650_433171_3DC712E5 X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.216.173 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Devicetree List , Linux Kernel Mailing List , Linux ARM Kernel List X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mporter@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.170 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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Add a DT binding for the BCM590xx PMUs. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- Documentation/devicetree/bindings/mfd/bcm590xx.txt | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/bcm590xx.txt diff --git a/Documentation/devicetree/bindings/mfd/bcm590xx.txt b/Documentation/devicetree/bindings/mfd/bcm590xx.txt new file mode 100644 index 0000000..2300246 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/bcm590xx.txt @@ -0,0 +1,41 @@ +------------------------------- +BCM590xx Power Management Units +------------------------------- + +Required properties: +- compatible: "brcm,bcm59056" +- reg: I2C slave address +- interrupts: interrupt for the PMU. Generic interrupt client node bindings + are described in interrupt-controller/interrupts.txt + +------------------ +Voltage Regulators +------------------ + +Optional properties: +- regulators: This is the list of child nodes that specify the regulator + initialization data for defined regulators. Generic regulator bindings + are described in regulator/regulator.txt. + + The valid regulator nodes for BCM59056 are: + rfldo, camldo1, camldo2, simldo1, simldo2, sdldo, sdxldo, + mmcldo1, mmcldo2, audldo, micldo, usbldo, vibldo, + csr, iosr1, iosr2, msr, sdsr1, sdsr2, vsr + +Example: + pmu: bcm59056@8 { + compatible = "brcm,bcm59056"; + reg = <0x08>; + interrupts = ; + regulators { + #address-cells = <1>; + #size-cells = <0>; + + rfldo_reg: rfldo { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3300000>; + }; + + ... + }; + };