From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753397AbdBCO3S (ORCPT ); Fri, 3 Feb 2017 09:29:18 -0500 Received: from sub5.mail.dreamhost.com ([208.113.200.129]:34863 "EHLO homiemail-a122.g.dreamhost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752169AbdBCO3R (ORCPT ); Fri, 3 Feb 2017 09:29:17 -0500 Date: Fri, 3 Feb 2017 15:29:12 +0100 From: Hans Holmberg To: Mark Brown Cc: Rob Herring , linux-kernel@vger.kernel.org, Liam Girdwood Subject: [PATCH] regulator: gpio-regulator: doc: correct default type Message-ID: <20170203142908.GA3430@Gaia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver defaults to voltage, not current, type so correct this in the device tree binding documentation. Signed-off-by: Hans Holmberg --- See drivers/regulator/gpio-regulator.c:231 ..and the example in the binding doc is voltage regulator without regulator-type specified. Documentation/devicetree/bindings/regulator/gpio-regulator.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt index e5cac1e..dd1ed78 100644 --- a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt @@ -13,7 +13,7 @@ Optional properties: - startup-delay-us : Startup time in microseconds. - enable-active-high : Polarity of GPIO is active high (default is low). - regulator-type : Specifies what is being regulated, must be either - "voltage" or "current", defaults to current. + "voltage" or "current", defaults to voltage. Any property defined as part of the core regulator binding defined in regulator.txt can also be used. -- 1.9.1