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: 5395051 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 89EB7C11AC for ; Thu, 27 Nov 2014 11:22:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A9137201F5 for ; Thu, 27 Nov 2014 11:22:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A1053201C8 for ; Thu, 27 Nov 2014 11:22:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754288AbaK0LV4 (ORCPT ); Thu, 27 Nov 2014 06:21:56 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:44171 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754689AbaK0LVR (ORCPT ); Thu, 27 Nov 2014 06:21:17 -0500 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>; 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 Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kukjin Kim , Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski 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== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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>; + }; }