From patchwork Thu Nov 27 11:20:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5395241 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 29C3A9F319 for ; Thu, 27 Nov 2014 11:28:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2C590201C8 for ; Thu, 27 Nov 2014 11:28:41 +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 482192017D for ; Thu, 27 Nov 2014 11:28:40 +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 1XtxCi-0006XG-Uy; Thu, 27 Nov 2014 11:25:45 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xtx8p-0002iT-JA for linux-arm-kernel@lists.infradead.org; Thu, 27 Nov 2014 11:21:44 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NFP00JCG3NYI600@mailout4.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Nov 2014 11:23:58 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-20-547709292ef8 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 81.61.07834.92907745; Thu, 27 Nov 2014 11:21:13 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NFP004Y53J6T040@eusync2.samsung.com>; Thu, 27 Nov 2014 11:21:13 +0000 (GMT) From: Krzysztof Kozlowski To: Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v4 6/7] mfd/regulator: dt-bindings: max77686: Document gpio properties Date: Thu, 27 Nov 2014 12:20:52 +0100 Message-id: <1417087253-12306-7-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1417087253-12306-1-git-send-email-k.kozlowski@samsung.com> References: <1417087253-12306-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprELMWRmVeSWpSXmKPExsVy+t/xK7qanOUhBtd6dS02zljPajH14RM2 i/lHzrFavH5haNH/+DWzxdmmN+wW978eZbT4dqWDyWLT42usFpd3zWGzmHF+H5PF2iN32R14 PHbOusvusWlVJ5vHnWt72Dw2L6n36NuyitHj8ya5ALYoLpuU1JzMstQifbsEroyGdT1MBR+4 Kv6tf8rWwPiNo4uRk0NCwETi4cGpjBC2mMSFe+vZuhi5OIQEljJK7G+YwQLh9DFJbN76khmk ik3AWGLz8iVsILaIwApGieM3FEFsZoH1TBIPtjmB2MICERIP7s0Hq2ERUJV4dvgaE4jNK+Au cXHKJqhtchInj01mBbE5BTwk9t66zQJiCwHV7Hl1h2UCI+8CRoZVjKKppckFxUnpuYZ6xYm5 xaV56XrJ+bmbGCHh+GUH4+JjVocYBTgYlXh4Ex6XhQixJpYVV+YeYpTgYFYS4eViLA8R4k1J rKxKLcqPLyrNSS0+xMjEwSnVwFiwqHOainH3pCUHr637ZngvIOzCG1kJrS61JQXvZc+p+L+M v7Tu9uneKL2LbpdfT3o4yz2QedWHAsHbq8rdbgtp3P1VzfCFZ/JL/4rH/C4N18xkV7ZMOp7C s61j8reqmrVuCidMvTp6Tv1+sPHkfSuFwzLXGr+pCUhO8wsP8dyw5m18deqLPU+UWIozEg21 mIuKEwEMxE8GJQIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141127_032143_843696_8AA69AB2 X-CRM114-Status: UNSURE ( 7.08 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, Bartlomiej Zolnierkiewicz , Kyungmin Park , Kukjin Kim , linux-arm-kernel@lists.infradead.org, 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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_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 ena-gpios properties which turn on external/GPIO control over regulator. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/max77686.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/max77686.txt b/Documentation/devicetree/bindings/mfd/max77686.txt index 75fdfaf41831..93c4cd07ffc8 100644 --- a/Documentation/devicetree/bindings/mfd/max77686.txt +++ b/Documentation/devicetree/bindings/mfd/max77686.txt @@ -37,8 +37,12 @@ to get matched with their hardware counterparts as follow: Regulators which can be turned off during system suspend: -LDOn : 2, 6-8, 10-12, 14-16, -BUCKn : 1-4. - Use standard regulator bindings for it ('regulator-off-in-suspend'). + Regulators which can be configured for GPIO enable control: + -LDOn : 20, 21, 22 + -BUCKn : 8, 9 + Use standard regulator bindings for these ('regulator-off-in-suspend', + 'ena-gpios'). Example: @@ -65,4 +69,12 @@ Example: regulator-always-on; regulator-boot-on; }; + + buck9_reg { + regulator-compatible = "BUCK9"; + regulator-name = "CAM_ISP_CORE_1.2V"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1200000>; + ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>; + }; }