From patchwork Wed Jul 8 12:26:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 50875 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9A31B22A03 for ; Wed, 8 Jul 2015 12:30:25 +0000 (UTC) Received: by wgfk9 with SMTP id k9sf70215750wgf.1 for ; Wed, 08 Jul 2015 05:30: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=3aCkgyeG0lzrM5qN+hFLf/MW1rFzbmAghRaQJurOQrA=; b=AHx/JN3K10dv/ZW02dNCApb2nNt6BUVAFi8TW0Un0pyb+/VdAwJCHUOC9HxbiCQC57 ApLk9Sn/A/VlMq7HNOVYZjRXPSVoLalqZ+IIhh41AOO2hZjCqkAfw7ijKC7D/SkRftBQ 68/Z8WtGA0y8GQ2ZvtDzmSHhVkUyjGhXBYkMNvrDEYcxWGptGUCUOxgY/OBR7Fx9GrHZ ziuZgTkgck26ntgFkBP8VCf/gjMu1+eZugbqqg7bPX8F9dWnzyDj8VD//Wfei8CTlsHS Nej6RQGWTOqzWwgLZAqLzvD4YBdnzJjrtNjS6NbcZ87exXUS7/duHSdPfgbDJJRSW6/d 6g2A== X-Gm-Message-State: ALoCoQnF1sEtPe3LCJKxQt3rXmQI5LwoQmtZXjA/8EIPCtlN1LxS6YkBPJZQki4bHbQfCfqvBi/u X-Received: by 10.112.160.39 with SMTP id xh7mr4724765lbb.22.1436358624886; Wed, 08 Jul 2015 05:30:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.1 with SMTP id o1ls949430lao.12.gmail; Wed, 08 Jul 2015 05:30:24 -0700 (PDT) X-Received: by 10.152.6.1 with SMTP id w1mr9051360law.91.1436358624699; Wed, 08 Jul 2015 05:30:24 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id e8si1533428lah.96.2015.07.08.05.30.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2015 05:30:24 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lagx9 with SMTP id x9so224146502lag.1 for ; Wed, 08 Jul 2015 05:30:24 -0700 (PDT) X-Received: by 10.152.1.66 with SMTP id 2mr7556591lak.56.1436358624559; Wed, 08 Jul 2015 05:30: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.112.108.230 with SMTP id hn6csp3060334lbb; Wed, 8 Jul 2015 05:30:23 -0700 (PDT) X-Received: by 10.70.41.165 with SMTP id g5mr19962090pdl.143.1436358622596; Wed, 08 Jul 2015 05:30:22 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ps1si3835048pbb.236.2015.07.08.05.30.19; Wed, 08 Jul 2015 05:30: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 S933024AbbGHMaN (ORCPT + 29 others); Wed, 8 Jul 2015 08:30:13 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:36386 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758514AbbGHMaG (ORCPT ); Wed, 8 Jul 2015 08:30:06 -0400 Received: by pddu5 with SMTP id u5so57658795pdd.3 for ; Wed, 08 Jul 2015 05:30:05 -0700 (PDT) X-Received: by 10.66.144.40 with SMTP id sj8mr19759478pab.55.1436358605764; Wed, 08 Jul 2015 05:30:05 -0700 (PDT) Received: from localhost.localdomain ([202.62.93.138]) by smtp.gmail.com with ESMTPSA id db1sm2415741pdb.50.2015.07.08.05.29.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Jul 2015 05:30:04 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Cc: Vaibhav Hiremath , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Krzysztof Kozlowski , Lee Jones , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH-v6 6/6] mfd: devicetree: bindings: Add new 88pm800 mfd binding Date: Wed, 8 Jul 2015 17:56:32 +0530 Message-Id: <1436358392-15449-7-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436358392-15449-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1436358392-15449-1-git-send-email-vaibhav.hiremath@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: 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.54 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 Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring Acked-by: Lee Jones --- 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"; + }; + };