From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javier Martinez Canillas Subject: Re: [PATCH 7/8] mfd/regulator: dt-bindings: max77686: Document gpio property Date: Mon, 27 Oct 2014 21:15:16 +0100 Message-ID: <544EA7D4.8070406@collabora.co.uk> References: <1414422226-10948-1-git-send-email-k.kozlowski@samsung.com> <1414422226-10948-8-git-send-email-k.kozlowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1414422226-10948-8-git-send-email-k.kozlowski@samsung.com> Sender: linux-kernel-owner@vger.kernel.org To: Krzysztof Kozlowski , 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 Cc: Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi List-Id: linux-samsung-soc@vger.kernel.org Hello Krzysztof, On 10/27/2014 04:03 PM, Krzysztof Kozlowski wrote: > Document usage of gpio property which turns on external control over > regulator. > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/mfd/max77686.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mfd/max77686.txt b/Documentation/devicetree/bindings/mfd/max77686.txt > index 75fdfaf41831..e41dfa7e2b90 100644 > --- a/Documentation/devicetree/bindings/mfd/max77686.txt > +++ b/Documentation/devicetree/bindings/mfd/max77686.txt > @@ -39,6 +39,9 @@ to get matched with their hardware counterparts as follow: > -BUCKn : 1-4. > Use standard regulator bindings for it ('regulator-off-in-suspend'). > > + Optional properties: > + - gpio : GPIO to use for external control. Valid only for LDO20, LDO21, > + LDO22, BUCK8 and BUCK9 regulators. When using the descriptor-based GPIO interface the standard is to use as the DT property name a prefix documenting the GPIO function + a -gpios or -gpio suffix. So this should be something like ec-gpio. Best regards, Javier From mboxrd@z Thu Jan 1 00:00:00 1970 From: javier.martinez@collabora.co.uk (Javier Martinez Canillas) Date: Mon, 27 Oct 2014 21:15:16 +0100 Subject: [PATCH 7/8] mfd/regulator: dt-bindings: max77686: Document gpio property In-Reply-To: <1414422226-10948-8-git-send-email-k.kozlowski@samsung.com> References: <1414422226-10948-1-git-send-email-k.kozlowski@samsung.com> <1414422226-10948-8-git-send-email-k.kozlowski@samsung.com> Message-ID: <544EA7D4.8070406@collabora.co.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hello Krzysztof, On 10/27/2014 04:03 PM, Krzysztof Kozlowski wrote: > Document usage of gpio property which turns on external control over > regulator. > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/mfd/max77686.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mfd/max77686.txt b/Documentation/devicetree/bindings/mfd/max77686.txt > index 75fdfaf41831..e41dfa7e2b90 100644 > --- a/Documentation/devicetree/bindings/mfd/max77686.txt > +++ b/Documentation/devicetree/bindings/mfd/max77686.txt > @@ -39,6 +39,9 @@ to get matched with their hardware counterparts as follow: > -BUCKn : 1-4. > Use standard regulator bindings for it ('regulator-off-in-suspend'). > > + Optional properties: > + - gpio : GPIO to use for external control. Valid only for LDO20, LDO21, > + LDO22, BUCK8 and BUCK9 regulators. When using the descriptor-based GPIO interface the standard is to use as the DT property name a prefix documenting the GPIO function + a -gpios or -gpio suffix. So this should be something like ec-gpio. Best regards, Javier