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: 5395061 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 B758B9F319 for ; Thu, 27 Nov 2014 11:22:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DB3B4201FB for ; Thu, 27 Nov 2014 11:22:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 51B97201E4 for ; Thu, 27 Nov 2014 11:22:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754714AbaK0LVR (ORCPT ); Thu, 27 Nov 2014 06:21:17 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:64229 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754377AbaK0LVO (ORCPT ); Thu, 27 Nov 2014 06:21:14 -0500 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>; 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 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 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= 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 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