From patchwork Mon Jun 29 15:31:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 50422 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4C95C228D9 for ; Mon, 29 Jun 2015 15:36:52 +0000 (UTC) Received: by laar3 with SMTP id r3sf46938851laa.1 for ; Mon, 29 Jun 2015 08:36:50 -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=p0sOzBhCbwS0L3b83wqm9AhF0NMSqg+APapsmS+e2vc=; b=ITW6JbGM6qfOIQgLfZvDZXMqwLC4YY8HfwufGRaT8r0nox3uK6r9h8pN4i/Gytr2BA d0n6LOPx7O/A5fKt1ZU6zXFcEtTxRvSO6EDUEpEc9+0oy1geJm5ymhaM2J9eOsz1V68s /0n8IO+YfeI/InQCG8Jz/jR2XGkWlv4eF75iiFhLynwI4ypE8FG8SKGwU1ofKHV1BvTG Yv91kpU/cVUHA2Ny/KfY8Z94TzCJnFQzVXWJIT/hq/rSwejge41q+RcVX8WnTyvmxmZW Oat2zQhPNay7enAKx6j/HKIdDWmcylWW3+CqeIgpF90IYgt1z2fcwqkUojvWzK4xhJMp ZT0A== X-Gm-Message-State: ALoCoQnzj3bxkZTa2L4NQJaX+gT8PubpTMLl1XmsWD6LRSPimVyJChQ8fFo+V3/Oczrkk45pFZWY X-Received: by 10.112.118.194 with SMTP id ko2mr8430428lbb.16.1435592210833; Mon, 29 Jun 2015 08:36:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.99 with SMTP id bf3ls177845lab.21.gmail; Mon, 29 Jun 2015 08:36:50 -0700 (PDT) X-Received: by 10.152.197.2 with SMTP id iq2mr14796307lac.103.1435592210688; Mon, 29 Jun 2015 08:36:50 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id j1si35367071lbc.15.2015.06.29.08.36.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2015 08:36:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by laar3 with SMTP id r3so68360567laa.0 for ; Mon, 29 Jun 2015 08:36:50 -0700 (PDT) X-Received: by 10.112.155.197 with SMTP id vy5mr14664475lbb.29.1435592210581; Mon, 29 Jun 2015 08:36:50 -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.112.108.230 with SMTP id hn6csp1789338lbb; Mon, 29 Jun 2015 08:36:49 -0700 (PDT) X-Received: by 10.70.130.3 with SMTP id oa3mr33249857pdb.51.1435592208685; Mon, 29 Jun 2015 08:36:48 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pc6si57461459pdb.191.2015.06.29.08.36.47; Mon, 29 Jun 2015 08:36:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 S1753488AbbF2Pgq (ORCPT + 8 others); Mon, 29 Jun 2015 11:36:46 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:36317 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753276AbbF2Pg0 (ORCPT ); Mon, 29 Jun 2015 11:36:26 -0400 Received: by pdcu2 with SMTP id u2so118739632pdc.3 for ; Mon, 29 Jun 2015 08:36:24 -0700 (PDT) X-Received: by 10.69.19.202 with SMTP id gw10mr33129627pbd.72.1435592184217; Mon, 29 Jun 2015 08:36:24 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by mx.google.com with ESMTPSA id fq2sm2772621pdb.35.2015.06.29.08.36.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Jun 2015 08:36:23 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, sameo@linux.intel.com, lee.jones@linaro.org, linux-kernel@vger.kernel.org, yizhang@marvell.com, Vaibhav Hiremath Subject: [PATCH-V5 4/4] mfd: devicetree: bindings: Add new 88pm800 mfd binding Date: Mon, 29 Jun 2015 21:01:17 +0530 Message-Id: <1435591877-18214-5-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435591877-18214-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1435591877-18214-1-git-send-email-vaibhav.hiremath@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: vaibhav.hiremath@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) 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: , With addition of DT support to 88pm800 mfd driver, this patch adds new DT binding documentation along with respective properties. Signed-off-by: Vaibhav Hiremath --- Documentation/devicetree/bindings/mfd/88pm800.txt | 53 +++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/88pm800.txt diff --git a/Documentation/devicetree/bindings/mfd/88pm800.txt b/Documentation/devicetree/bindings/mfd/88pm800.txt new file mode 100644 index 0000000..dec842f --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/88pm800.txt @@ -0,0 +1,53 @@ +* Marvell 88PM80x Power Management IC + +Required parent device properties: +- compatible : "marvell,88pm800", "marvell,88pm805", "marvell,88pm860" +- reg : the I2C slave address for the 88pm80x family chip +- interrupts : IRQ line for the 88pm80x family chip +- interrupt-controller : describes the 88pm80x family chip as an interrupt + controller +- #interrupt-cells : should be 1. + The cell is the 88pm80x local IRQ number + +88pm80x family of devices consists of varied group of sub-devices: + +Device Supply Names Description +------ ------------ ----------- +88pm80x-onkey : : On key +88pm80x-rtc : : RTC +88pm80x-regulator : : Regulators + +Example: + + pmic: 88pm800@30 { + compatible = "marvell,88pm800"; + reg = <0x30>; + interrupts = ; + interrupt-parent = <&gic>; + interrupt-controller; + #interrupt-cells = <1>; + + regulators { + compatible = "marvell,88pm80x-regulator"; + + buck1a: BUCK1A { + regulator-name = "BUCK1A"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo1: LDO1 { + regulator-name = "LDO1"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + }; + + rtc { + compatible = "marvell,88pm80x-rtc"; + }; + };