From patchwork Wed Jun 17 18:58:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 49986 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 719A6228CC for ; Wed, 17 Jun 2015 19:01:33 +0000 (UTC) Received: by wgbhy7 with SMTP id hy7sf14476449wgb.3 for ; Wed, 17 Jun 2015 12:01:32 -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=uJNXjTxQBAcH6fsd9mxBrZ83XiokvMct9vTXcxMNyX0=; b=l31VQFus8N96gCppWC4L2nl55bUyQif6fk9xJHh60ugwuAB8DV97hW9XO5CZ/T7/aY 8/oe9Ibw2QVlwan3R2ZeX+s4Ikzq5HFtTl2m1QxQUk/RqQr2A02ILjyWK9N0qDJ3dF/x fmfhXc8uA4TH54mU+2IuTfcm5YDSs8Z0KUBG/b+TaN/pTZvvUsK1rpLeOLAI+Y9Ejv/V MHNibj4hPcJB7mEkjUKkVTAasxwDviY6A0xgHFvkfhoNULuUU5VACbSv8wGCl7PC058M UQdy6ozbqrZEHVyzwR/H7q60ilVscdLdOw+WPiILRu3aUjmuGQfMQNYWHo3+sNl2KTsu DRTA== X-Gm-Message-State: ALoCoQkOi+kS5S/UZ4HbMMeaBlEgTHeODMowSRcswajks126/Rq0yO+/Fd7hUEpNsPQwQAya4FC6 X-Received: by 10.180.97.9 with SMTP id dw9mr9641878wib.2.1434567692760; Wed, 17 Jun 2015 12:01:32 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.67 with SMTP id da3ls395839lad.49.gmail; Wed, 17 Jun 2015 12:01:32 -0700 (PDT) X-Received: by 10.152.44.225 with SMTP id h1mr9342651lam.5.1434567692598; Wed, 17 Jun 2015 12:01:32 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id k5si4347664lam.79.2015.06.17.12.01.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jun 2015 12:01:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbbqq2 with SMTP id qq2so37907297lbb.3 for ; Wed, 17 Jun 2015 12:01:32 -0700 (PDT) X-Received: by 10.152.37.228 with SMTP id b4mr9200542lak.117.1434567692318; Wed, 17 Jun 2015 12:01:32 -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 hn6csp662851lbb; Wed, 17 Jun 2015 12:01:31 -0700 (PDT) X-Received: by 10.68.243.9 with SMTP id wu9mr13841988pbc.28.1434567688636; Wed, 17 Jun 2015 12:01:28 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s14si7614758pdi.38.2015.06.17.12.01.27; Wed, 17 Jun 2015 12:01:28 -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 S1757888AbbFQTBZ (ORCPT + 7 others); Wed, 17 Jun 2015 15:01:25 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:35332 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757798AbbFQTBT (ORCPT ); Wed, 17 Jun 2015 15:01:19 -0400 Received: by pacyx8 with SMTP id yx8so42434067pac.2 for ; Wed, 17 Jun 2015 12:01:19 -0700 (PDT) X-Received: by 10.68.252.106 with SMTP id zr10mr13809780pbc.79.1434567679225; Wed, 17 Jun 2015 12:01:19 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by mx.google.com with ESMTPSA id y1sm5521122pdy.2.2015.06.17.12.01.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jun 2015 12:01:17 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, lee.jones@linaro.org, devicetree@vger.kernel.org, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, Vaibhav Hiremath Subject: [PATCH-v2 3/3] mfd: devicetree: bindings: Add new 88pm800 mfd binding Date: Thu, 18 Jun 2015 00:28:08 +0530 Message-Id: <1434567488-6477-5-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434567488-6477-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1434567488-6477-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.217.171 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 | 60 +++++++++++++++++++++++ 1 file changed, 60 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..b8e72df --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/88pm800.txt @@ -0,0 +1,60 @@ +* Marvell 88PM8xx Power Management IC + +Required parent device properties: +- compatible : "marvell,88pm800", "marvell,88pm805", "marvell,88pm860" +- reg : the I2C slave address for the 88pm8xx chip +- interrupts : IRQ line for the 88pm8xx chip +- interrupt-controller: describes the 88pm8xx as an interrupt controller +- #interrupt-cells : should be 1. + - The cell is the 88pm8xx local IRQ number + +Optional parent device properties: +- marvell,irq-clr-on-write: indicates whether interrupt status is cleared + by write or read. + If enabled, interrupt is cleared by write else just read would do. + +88pm8xx family of devices consists of varied group of sub-devices: + +Device Supply Names Description +------ ------------ ----------- +88pm80x-onkey : : On key +88pm80x-rtc : : RTC +88pm80x-regulator : : Regulators + +Note: More device list will follow + +Example: + + pmic: 88pm800@30 { + compatible = "marvell,88pm800"; + reg = <0x30>; + interrupts = ; + interrupt-parent = <&gic>; + interrupt-controller; + #interrupt-cells = <1>; + + marvell,irq-clr-on-write; + + regulators { + compatible = "marvell,88pm80x-regulator"; + + buck1a: BUCK1A { + regulator-compatible = "88PM800-BUCK1A"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + ldo1: LDO1 { + regulator-compatible = "88PM800-LDO1"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + }; + + rtc { + compatible = "marvell,88pm80x-rtc"; + }; + };