From patchwork Tue Mar 11 23:33:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 26069 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0A79020068 for ; Tue, 11 Mar 2014 23:34:24 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id wo20sf36001279obc.2 for ; Tue, 11 Mar 2014 16:34:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=lngM/eRmykmLY8z/b3z7FvBjM50PMhi1x9lx3H+oFZ4=; b=HwmnjWE57vldMZgOEYgqA+jGJ+W3G6JypkpGPTH7Crnox+0Q6RbyLTaiRBeAew8Eof xqSmxMx0CKSpzhzj9ftMMe9aCMsPKeCcY8BHbaYUp9Hbhy88LuF5auyUpmkmYFECI/yj 6O2onwVAVWHIauTe0sS6ht98tr0qhpjN4R+nXbP7ppXMGPJKthyqh+pks5uvjkv+mAlv 5Ko2BlCcNix3o92SCBbR2/uevngUm2xXQ1yuHqKZhIreZ/LDfN9ApC/Tj2johFdRimmw xiI9XT4CRy+OD6qItaSDZ5CCwBoiP++PJI0EStzEX6ENvf+JCnliWxoQs4tPHfPFEiUU un9Q== X-Gm-Message-State: ALoCoQm++YSyruuI6VXbEuwGNYKMLijfVTNvpv+G0NHQ/U46+Ai3bpZEV1aiHk3PMkHw1K7SXeoN X-Received: by 10.182.19.164 with SMTP id g4mr16287898obe.21.1394580864206; Tue, 11 Mar 2014 16:34:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.7 with SMTP id 7ls2574144qgm.46.gmail; Tue, 11 Mar 2014 16:34:24 -0700 (PDT) X-Received: by 10.52.175.166 with SMTP id cb6mr14904861vdc.1.1394580864078; Tue, 11 Mar 2014 16:34:24 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id q1si914093ves.9.2014.03.11.16.34.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Mar 2014 16:34:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id oy12so9465046veb.32 for ; Tue, 11 Mar 2014 16:34:24 -0700 (PDT) X-Received: by 10.58.207.74 with SMTP id lu10mr2265203vec.15.1394580864001; Tue, 11 Mar 2014 16:34:24 -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 i9csp241260vck; Tue, 11 Mar 2014 16:34:23 -0700 (PDT) X-Received: by 10.68.136.41 with SMTP id px9mr994480pbb.14.1394580863061; Tue, 11 Mar 2014 16:34:23 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vu10si434087pbc.249.2014.03.11.16.34.22; Tue, 11 Mar 2014 16:34:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756104AbaCKXeN (ORCPT + 26 others); Tue, 11 Mar 2014 19:34:13 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:34680 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756081AbaCKXeL (ORCPT ); Tue, 11 Mar 2014 19:34:11 -0400 Received: by mail-ie0-f174.google.com with SMTP id rp18so9749658iec.19 for ; Tue, 11 Mar 2014 16:34:10 -0700 (PDT) X-Received: by 10.42.118.14 with SMTP id v14mr3402196icq.73.1394580850778; Tue, 11 Mar 2014 16:34:10 -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 w9sm52394613iga.10.2014.03.11.16.34.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Mar 2014 16:34:09 -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 Cc: Devicetree List , Linux ARM Kernel List , Linux Kernel Mailing List Subject: [PATCH v4 1/5] mfd: add bcm590xx pmu DT binding Date: Tue, 11 Mar 2014 19:33:53 -0400 Message-Id: <1394580837-8331-2-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1394580837-8331-1-git-send-email-mporter@linaro.org> References: <1394580837-8331-1-git-send-email-mporter@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.128.173 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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>; + }; + + ... + }; + };