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: 3813031 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0AD739F402 for ; Tue, 11 Mar 2014 15:47:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 295F3201F2 for ; Tue, 11 Mar 2014 15:47:06 +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 D83B7201B9 for ; Tue, 11 Mar 2014 15:47:04 +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 1WNOtM-00025g-B7; 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-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=SA0EDQm/62abDZuJIvygDOL40zC0EIl+NyY5VZNyHAc=; b=ccScTqy3YzYDTytJDPndzVdz5YWIoSFq5U0bGRxHZnxdVcmo26ThiJxlbdLe3iOyiQ EgiqW+T/79YU2KD3rFIJk/Z0HTjXD1zhDIfoWCRnHgMjZnoFnaqx77jVou3coM/WvTA1 jMktGf/h09dlxEdncWGzqakzmf8PypXBnAOGej9eCwYcgHxJb9vIsjGjg3TogIiz1IVY CqNP7ScBnLfn03C/IRh9xAueBh8IFIvJiwZ6JToGaDlH6l1LKVXWQ+qKkXq1ulCu71RP mox2HUP+hdiVu5d5D1y73mUKbZhIla+CInOu7fd1EO8YiwKVLMhRbCJrVzxYRLSW1EVQ K8YQ== X-Gm-Message-State: ALoCoQkHDmIH27e6kTWB4rYzu+6oS9CskOGhzxA/AI038NAwqK49Ptd8LB4lc2CTcE4E1UPuECGi 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 (--) 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 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>; + }; + + ... + }; + };