From patchwork Thu Oct 30 11:20:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5196261 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9D49C9F39B for ; Thu, 30 Oct 2014 11:26:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D91B0201CD for ; Thu, 30 Oct 2014 11:26:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 00CB1201FE for ; Thu, 30 Oct 2014 11:26:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xjnpv-0008B4-Ff; Thu, 30 Oct 2014 11:24:15 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XjnnY-0006o9-65 for linux-arm-kernel@lists.infradead.org; Thu, 30 Oct 2014 11:21:50 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NE9007FM90IG770@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 30 Oct 2014 11:24:18 +0000 (GMT) X-AuditID: cbfec7f4-b7f6c6d00000120b-4e-54521f369d01 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 96.BF.04619.63F12545; Thu, 30 Oct 2014 11:21:26 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NE9009H68VFGU90@eusync3.samsung.com>; Thu, 30 Oct 2014 11:21:26 +0000 (GMT) From: Krzysztof Kozlowski To: Samuel Ortiz , Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, Ben Dooks , Kukjin Kim , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 11/14] mfd/regulator: dt-bindings: max77686: Document gpio properties Date: Thu, 30 Oct 2014 12:20:50 +0100 Message-id: <1414668053-31370-12-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1414668053-31370-1-git-send-email-k.kozlowski@samsung.com> References: <1414668053-31370-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNLMWRmVeSWpSXmKPExsVy+t/xq7pm8kEhBpffqlpsnLGe1WLSugNM FlMfPmGzuP7lOavF/CPnWC2O/i6weP3C0KJ3wVU2i7NNb9gt7n89ymjx7UoHk8Wmx9dYLS7v msNmMeP8PiaL25d5LdYeuctucbqb1UHQo6W5h83j7/PrLB5/V71g9tg56y67x6ZVnWwed67t YfOYdzLQY/OSeo++LasYPT5vkgvgiuKySUnNySxLLdK3S+DKWP1/H2PBUZ6K7Z0PGBsY53B1 MXJySAiYSDyY84gJwhaTuHBvPVsXIxeHkMBSRokTXyewQzh9TBLNBzvZQarYBIwlNi9fAlYl ItDJLNFzsJcZxGEWWM0k8fPKKSCHg0NYIEri9XsRkAYWAVWJY30LWUFsXgEPiePnLzJCrJOT OHlsMlicEyi+5mM7K0irkIC7xL1v2hMYeRcwMqxiFE0tTS4oTkrPNdQrTswtLs1L10vOz93E CAnwLzsYFx+zOsQowMGoxMPrsDEgRIg1say4MvcQowQHs5II72qxoBAh3pTEyqrUovz4otKc 1OJDjEwcnFINjAFaf1e8uuvxVuSqxZLVuSdb27uFHD9ek7yU9n52626bzS82e/YuWKyeExLz 659QjNvpp7L8EzO+7jXzvS1bszNWUtORc3rMmnKfmYfCPx6yYZq+0bQn9u8pq2+6MxcsCzAu XmNaFCX0Y4Jd8fPYtrV/jD7uNZda13YhWNTo5Vud7sV7V+7YK6HEUpyRaKjFXFScCACSCWVX TgIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141030_042148_425293_1635D245 X-CRM114-Status: UNSURE ( 7.99 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.6 (-----) Cc: Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi , Kyungmin Park , Javier Martinez Canillas , Marek Szyprowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document usage of gpio properties which turn on external/GPIO control over regulator. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/max77686.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/max77686.txt b/Documentation/devicetree/bindings/mfd/max77686.txt index f4010a9f66eb..b8013e69da65 100644 --- a/Documentation/devicetree/bindings/mfd/max77686.txt +++ b/Documentation/devicetree/bindings/mfd/max77686.txt @@ -22,7 +22,14 @@ Optional node: Required property: - compatible : Must be "maxim,max77686-pmic" - Optional properties: For each regulator use following format: + Optional properties: + - ldo20-gpio : GPIO to use for LDO20 enable control. + - ldo21-gpio : GPIO to use for LDO21 enable control. + - ldo22-gpio : GPIO to use for LDO22 enable control. + - buck8-gpio : GPIO to use for BUCK8 enable control. + - buck9-gpio : GPIO to use for BUCK9 enable control. + + For each regulator use following format: regulator_name { regulator-compatible = LDOn/BUCKn standard regulator constraints.... @@ -42,7 +49,6 @@ to get matched with their hardware counterparts as follow: -BUCKn : 1-4. Use standard regulator bindings for it ('regulator-off-in-suspend'). - Example: max77686@09 { @@ -53,6 +59,7 @@ Example: voltage-regulators { compatible = "maxim,max77686-pmic"; + ldo21-gpio = <&gpy2 0 GPIO_ACTIVE_HIGH>; ldo11_reg { regulator-compatible = "LDO11";