From patchwork Thu Jun 25 07:26:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 50304 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B8E6B228FC for ; Thu, 25 Jun 2015 07:32:52 +0000 (UTC) Received: by wicnd19 with SMTP id nd19sf19262097wic.0 for ; Thu, 25 Jun 2015 00:32:52 -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=OQ4+ougTQR00PHZliZgnXlMO/6UeVQQBVkEpQv4YvE0=; b=RlLXq/5WK2+ZDtavFXOmYsT1bFLze8BymwMj1NZl+4f2RJZIcPhAZtLT/yaE6fgSmZ awdy7hgyhu1SzsyFz7jbJQXqfEMs3wPq4xefFtpbu4aTvx01OkgZsQCq5kMUi4Bf6c+d AwwmfobcBn2OewKyWGlxzyjGNi4C/7OYw+ZYvgZ8u01wbvJ+VutXuy/mY0EAw1DhLfIv RQOeZbq124YUrnU5W4WpV0BpV9cAtqNEquOK5HdHBD3WnkawltdnYUKye07nxSf10pFV WCuYiRcTTTkq/Qe7+m3J64YfYy/Z5tiAgN3KySpvvoEO4dXa7CHVbNQ5wkbN7YEZYdnc HrOA== X-Gm-Message-State: ALoCoQkgLYXNZgBojvKVGZ/zaT7fspZnUH8NmTMpHImonjjhOXf8PPg9sr5BtpsXJKG5vBrkORHv X-Received: by 10.112.55.104 with SMTP id r8mr38529561lbp.18.1435217572049; Thu, 25 Jun 2015 00:32:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.73 with SMTP id y9ls264010lay.18.gmail; Thu, 25 Jun 2015 00:32:51 -0700 (PDT) X-Received: by 10.152.6.132 with SMTP id b4mr40949825laa.53.1435217571903; Thu, 25 Jun 2015 00:32:51 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id r11si1114642lby.31.2015.06.25.00.32.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jun 2015 00:32:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by lagx9 with SMTP id x9so39529078lag.1 for ; Thu, 25 Jun 2015 00:32:51 -0700 (PDT) X-Received: by 10.112.155.197 with SMTP id vy5mr43096107lbb.29.1435217571670; Thu, 25 Jun 2015 00:32:51 -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 hn6csp405394lbb; Thu, 25 Jun 2015 00:32:50 -0700 (PDT) X-Received: by 10.68.135.100 with SMTP id pr4mr73177548pbb.25.1435217569880; Thu, 25 Jun 2015 00:32:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gz10si43636307pbd.213.2015.06.25.00.32.48; Thu, 25 Jun 2015 00:32:49 -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 S1751603AbbFYHcr (ORCPT + 8 others); Thu, 25 Jun 2015 03:32:47 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:34919 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752046AbbFYHcE (ORCPT ); Thu, 25 Jun 2015 03:32:04 -0400 Received: by pactm7 with SMTP id tm7so44747632pac.2 for ; Thu, 25 Jun 2015 00:32:03 -0700 (PDT) X-Received: by 10.70.101.39 with SMTP id fd7mr53331450pdb.9.1435217522989; Thu, 25 Jun 2015 00:32:02 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by mx.google.com with ESMTPSA id nl10sm29020111pdb.38.2015.06.25.00.31.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Jun 2015 00:32:01 -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, yizhang@marvell.com, Vaibhav Hiremath Subject: [PATCH-v4 3/3] mfd: devicetree: bindings: Add new 88pm800 mfd binding Date: Thu, 25 Jun 2015 12:56:29 +0530 Message-Id: <1435217189-19578-4-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435217189-19578-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1435217189-19578-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.43 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 | 54 +++++++++++++++++++++++ 1 file changed, 54 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..f56b751 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/88pm800.txt @@ -0,0 +1,54 @@ +* 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 + +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>; + + 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"; + }; + };