From patchwork Thu Nov 27 11:20:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5395181 Return-Path: X-Original-To: patchwork-linux-arm@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 7E3E0C11AC for ; Thu, 27 Nov 2014 11:24:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 93418201C8 for ; Thu, 27 Nov 2014 11:24:15 +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 988FD201B4 for ; Thu, 27 Nov 2014 11:24:14 +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 1Xtx8x-0002yC-5M; Thu, 27 Nov 2014 11:21:51 +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 1Xtx8h-0002eL-WE for linux-arm-kernel@lists.infradead.org; Thu, 27 Nov 2014 11:21:36 +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 <0NFP000BQ3O3PI00@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Nov 2014 11:24:03 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-11-547709279735 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 4D.51.07834.72907745; Thu, 27 Nov 2014 11:21:11 +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:11 +0000 (GMT) From: Krzysztof Kozlowski To: Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v4 2/7] regulator: dt-bindings: Document the ena-gpios property Date: Thu, 27 Nov 2014 12:20:48 +0100 Message-id: <1417087253-12306-3-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+NgFprILMWRmVeSWpSXmKPExsVy+t/xK7rqnOUhBq+OSFpsnLGe1WLqwyds FvOPnGO1eP3C0KL/8Wtmi7NNb9gt7n89ymjx7UoHk8Wmx9dYLS7vmsNmMeP8PiaLtUfusjvw eOycdZfdY9OqTjaPO9f2sHlsXlLv0bdlFaPH501yAWxRXDYpqTmZZalF+nYJXBmbn91nL/jJ UdHz3qaB8Q57FyMnh4SAicSPlRtZIWwxiQv31rN1MXJxCAksZZT4f3gtI4TTxyTReX0ZI0gV m4CxxOblS9hAbBGBFYwSx28ogtjMAuuZJB5scwKxhQX8JeZv+sIEYrMIqEpMubkMbAOvgLvE sv+TGCG2yUmcPDYZLM4p4CGx99ZtFhBbCKhmz6s7LBMYeRcwMqxiFE0tTS4oTkrPNdQrTswt Ls1L10vOz93ECAnGLzsYFx+zOsQowMGoxMOb8LgsRIg1say4MvcQowQHs5IILxdjeYgQb0pi ZVVqUX58UWlOavEhRiYOTqkGRn8DQ/EUPd621OMB6nOli/wn58ywbVjxtHPF8XNr97Gdm/fX qfBErm/I9UTXyYo8uYuStY00fD8tiGwTLLy0Ive5/HmnhStyOvnqEubfv9i47oLf3bxbHq7f 1hQ+NVmzdK22eKjhP6XdC+pbb1hJn9A+1fUz78Qd1kizBI9+bzfjK2a88nfSlViKMxINtZiL ihMB6U/EjiQCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141127_032136_222133_4977254E X-CRM114-Status: UNSURE ( 6.41 ) 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 new properties for regulators (ena-gpios and ena-gpio-open-drain) for enabling control over GPIO. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/regulator/regulator.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/regulator.txt b/Documentation/devicetree/bindings/regulator/regulator.txt index 4e7ed762b3bb..dad57b3badc7 100644 --- a/Documentation/devicetree/bindings/regulator/regulator.txt +++ b/Documentation/devicetree/bindings/regulator/regulator.txt @@ -30,6 +30,10 @@ Optional properties: - regulator-off-in-suspend: regulator should be off in suspend state. - regulator-suspend-microvolt: regulator should be set to this voltage in suspend. +- ena-gpios: GPIO to use for enable control. Actual implementation depends + on regulator driver. The bindings documentation for given driver describes + which regulator actually supports it. +- ena-gpio-open-drain: GPIO is open drain type. Deprecated properties: - regulator-compatible: If a regulator chip contains multiple