From patchwork Tue Feb 4 12:19:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 3575701 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EF112C02DC for ; Tue, 4 Feb 2014 12:20:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 25DB82015E for ; Tue, 4 Feb 2014 12:20:38 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 2316220163 for ; Tue, 4 Feb 2014 12:20:37 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WAez0-0002ot-9K; Tue, 04 Feb 2014 12:20:06 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WAeyt-0006JW-FA; Tue, 04 Feb 2014 12:19:59 +0000 Received: from mail-ig0-f180.google.com ([209.85.213.180]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WAeye-0006Fl-1N for linux-arm-kernel@lists.infradead.org; Tue, 04 Feb 2014 12:19:45 +0000 Received: by mail-ig0-f180.google.com with SMTP id m12so7486563iga.1 for ; Tue, 04 Feb 2014 04:19:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=i//mzDC7anjG3lr46QjfFsZIhcpcMvf8iP63GDqSgo4=; b=TVMg4LN1u9l3+Pj7Nlpaz3/fsHBL/uswF8EyQnwOlgta6LeLl0QbQpOv3CYlzmEOLY hCc3cMxBgZCKPWSEUno9YUxBVD83u/Avv+K6lCi250WD+y+JP6cq4IfUoNBPX+uID7dJ egoRQTvOgabLl228Ax88YBRrwtJRAdldGsTKcu+OkPonaxJM0i/WYCjkSpqk/JO3P1Oq 3XNGQ7USt/s/RJb3l3JXt1YykHx1JcCeRXbu/F4/HOWuGolM1zBmxhwdVLOxplWK+Vrt jd8EVH6UVc0IK6RxtOEWNE0275HNGG3XvaHOJN/CxIvV8EQGVRW5rADSVmghy7elNpRu Slfg== X-Gm-Message-State: ALoCoQnGvL/6+NUakqee/jLw0rPPlKE5ugDapPdtJsU3HsIvHHN3Sg0AOSmoD5f8XlZU+2cP0Tc/ X-Received: by 10.43.103.67 with SMTP id dh3mr813109icc.60.1391516361862; Tue, 04 Feb 2014 04:19:21 -0800 (PST) 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 ni8sm39720180igb.7.2014.02.04.04.19.20 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 04:19:21 -0800 (PST) From: Matt Porter To: Wolfram Sang , Tim Kryger , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Samuel Ortiz , Lee Jones , Liam Girdwood , Mark Brown , Christian Daudt Subject: [PATCH 2/6] regulator: add bcm59056 pmu DT binding Date: Tue, 4 Feb 2014 07:19:08 -0500 Message-Id: <1391516352-32359-3-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1391516352-32359-1-git-send-email-mporter@linaro.org> References: <1391516352-32359-1-git-send-email-mporter@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140204_071944_125891_E27E3352 X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Devicetree List , Linux I2C List , Linux ARM Kernel List , Linux Kernel Mailing 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Add a DT binding for the BCM59056 PMU. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- .../devicetree/bindings/regulator/bcm59056.txt | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/bcm59056.txt diff --git a/Documentation/devicetree/bindings/regulator/bcm59056.txt b/Documentation/devicetree/bindings/regulator/bcm59056.txt new file mode 100644 index 0000000..bf6b633 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/bcm59056.txt @@ -0,0 +1,37 @@ +BCM59056 Power Management Unit + +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 +- 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-compatible values are: + rfldo, camldo1, camldo2, simldo1, simlso2, 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: regulator@0 { + reg = <0>; + regulator-compatible = "rfldo"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + ... + }; + };