From patchwork Wed Jun 24 09:21:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 50259 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 82DDC21575 for ; Wed, 24 Jun 2015 09:26:54 +0000 (UTC) Received: by wgbbj7 with SMTP id bj7sf9557182wgb.2 for ; Wed, 24 Jun 2015 02:26:53 -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=FPkiU1m93ZdWUY+IDzCAKZZQ9cQWMnu3U0OKp/hchN8=; b=KIcVLw0MG96ehtrBmxcBYFGiUS4kc7GC8wfcRkzqHt+vWks3laHB0ykTiiRHdMNaSb nhUx6OXBWOPZWFA3l6/gF374h1vcPdDkQHUFGYj6IbKIoYy3G7KXFdeDnnpp6Td0vRUD ZpA/2zUt3qeZTAgb5QGSWYc9M5BVkFZhCbVqXeJxtDTvRNghtT2lFkYL3wjiX9RDeRp9 7pPJ8Vkaq2eyzTQ5sTAU1t/eqG8PFjS9TvByLZCPDInT/LKokWesveZNVGMBnjcDPa1Q XdKl84Oxk6QSh8BK0tAHaEcMWWpobfBUcZQTRycVhc0vPDEhgd4hP1q98FNWFffc7p3v 18Fg== X-Gm-Message-State: ALoCoQmtxPd+xErYjvimfOjVerDCZz//yymSBq3NQZYwfw56e+8xoNRO6BAMpKhOefi03Fz1r04d X-Received: by 10.194.158.134 with SMTP id wu6mr32518832wjb.6.1435138013474; Wed, 24 Jun 2015 02:26:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.2 with SMTP id t2ls174941laz.8.gmail; Wed, 24 Jun 2015 02:26:53 -0700 (PDT) X-Received: by 10.112.41.171 with SMTP id g11mr8403350lbl.123.1435138013304; Wed, 24 Jun 2015 02:26:53 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id xu7si21533570lbb.139.2015.06.24.02.26.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jun 2015 02:26:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by lacny3 with SMTP id ny3so22260770lac.3 for ; Wed, 24 Jun 2015 02:26:53 -0700 (PDT) X-Received: by 10.112.220.7 with SMTP id ps7mr38670889lbc.72.1435138013219; Wed, 24 Jun 2015 02:26:53 -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 hn6csp3655985lbb; Wed, 24 Jun 2015 02:26:52 -0700 (PDT) X-Received: by 10.70.42.134 with SMTP id o6mr78379853pdl.11.1435138010998; Wed, 24 Jun 2015 02:26:50 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ft7si39040850pdb.150.2015.06.24.02.26.50; Wed, 24 Jun 2015 02:26:50 -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 S1751929AbbFXJ0r (ORCPT + 8 others); Wed, 24 Jun 2015 05:26:47 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:35722 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752073AbbFXJ02 (ORCPT ); Wed, 24 Jun 2015 05:26:28 -0400 Received: by pactm7 with SMTP id tm7so25574477pac.2 for ; Wed, 24 Jun 2015 02:26:28 -0700 (PDT) X-Received: by 10.67.8.71 with SMTP id di7mr78912902pad.46.1435137988062; Wed, 24 Jun 2015 02:26:28 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by mx.google.com with ESMTPSA id t2sm26032717pdo.81.2015.06.24.02.26.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Jun 2015 02:26:26 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, lee.jones@linaro.org, robh+dt@kernel.org, Vaibhav Hiremath Subject: [PATCH-v3 3/3] mfd: devicetree: bindings: Add new 88pm800 mfd binding Date: Wed, 24 Jun 2015 14:51:13 +0530 Message-Id: <1435137673-1629-4-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435137673-1629-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1435137673-1629-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.52 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 Acked-by: Rob Herring --- 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..6897119 --- /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-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"; + }; + };