From patchwork Tue Feb 18 23:17: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: 3676551 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 15D099F1EE for ; Tue, 18 Feb 2014 23:17:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2E43E20171 for ; Tue, 18 Feb 2014 23:17:53 +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 41D0220166 for ; Tue, 18 Feb 2014 23:17:52 +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 1WFtvA-000560-Qa; Tue, 18 Feb 2014 23:17:48 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFtv8-00049p-0Z; Tue, 18 Feb 2014 23:17:46 +0000 Received: from mail-ie0-f180.google.com ([209.85.223.180]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFtv4-00047y-RO for linux-arm-kernel@lists.infradead.org; Tue, 18 Feb 2014 23:17:43 +0000 Received: by mail-ie0-f180.google.com with SMTP id ar20so4134046iec.11 for ; Tue, 18 Feb 2014 15:17:21 -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=Ed9PDayjVwaH00fvuO0isO+FHXxOXg/PQWUK/vuDkBQ=; b=UawP6xXF+LD52uyOqjFExZ/UsDDGFFPckWFfDgjoVljM7QoMAvwonKYrl10dTdCmBD /tW3srI7wR/8tTZ4A8TpyXRQ8jCAsvNLvYnvfTbe+qGkumHRQ7WZsyBHJQd1BhkJKieI AfVrchhiB5YCPHixSHZJgaXfev9REsbGLa1NE76IYyGVw0VS8JO0VNsijM8NSoM8ex5f fO1KpagsfqHF1vpC1NHQI5HjpZDta40ua9B64TfTWeORQSsNXdFVB5rdeK0qTXr9y5Ss +E5uRhoNVXfyZp4WqrnjUFZWVKSdvljum2Aq6pdLDnZasDbakmFckLmbdKrZUr6IPgvn bvEA== X-Gm-Message-State: ALoCoQmQbNzf/bXj8XHgL7UlV5LyzCovvFWY7Mexo1yg1kCbIv/iN9Cfv1kgM8NqcyM4+t96H5EY X-Received: by 10.50.45.100 with SMTP id l4mr9529919igm.27.1392765441210; Tue, 18 Feb 2014 15:17: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 gd5sm44551667igd.5.2014.02.18.15.17.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Feb 2014 15:17:20 -0800 (PST) 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 v2 1/5] mfd: add bcm590xx pmu DT binding Date: Tue, 18 Feb 2014 18:17:08 -0500 Message-Id: <1392765432-9111-2-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1392765432-9111-1-git-send-email-mporter@linaro.org> References: <1392765432-9111-1-git-send-email-mporter@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140218_181742_947018_6EF3F5AD X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.3 (/) 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=-1.9 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_MED,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 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 | 49 ++++++++++++++++++++++ 1 file changed, 49 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..a4a8039 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/bcm590xx.txt @@ -0,0 +1,49 @@ +------------------------------- +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 + +----------------------- +BCM590xx PMU Regulators +----------------------- + +Required properties: +- compatible: "brcm,bcm59056-regs" + +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-compatible values for BCM59056 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 = ; + regs { + compatible = "brcm,bcm59056-regs"; + regulators { + #address-cells = <1>; + #size-cells = <0>; + + rfldo_reg: regulator@0 { + reg = <0>; + regulator-compatible = "rfldo"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3300000>; + }; + + ... + }; + }; + };