From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935305AbcLUDkf (ORCPT ); Tue, 20 Dec 2016 22:40:35 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:36410 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935048AbcLUDkb (ORCPT ); Tue, 20 Dec 2016 22:40:31 -0500 Date: Tue, 20 Dec 2016 21:40:22 -0600 From: Rob Herring To: Bartosz Golaszewski Cc: Liam Girdwood , Mark Brown , Mark Rutland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Kevin Hilman , Patrick Titiano , Neil Armstrong Subject: Re: [PATCH 2/3] doc: DT: add new compatible to fixed regulator's binding Message-ID: <20161221034022.henwykufq3c7nax3@rob-hp-laptop> References: <1481903550-3582-1-git-send-email-bgolaszewski@baylibre.com> <1481903550-3582-3-git-send-email-bgolaszewski@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1481903550-3582-3-git-send-email-bgolaszewski@baylibre.com> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 16, 2016 at 04:52:29PM +0100, Bartosz Golaszewski wrote: > Extend the fixed regulator's device tree bindings with a new > compatible describing GPIO-driven power load switches. > > Signed-off-by: Bartosz Golaszewski > --- > Documentation/devicetree/bindings/regulator/fixed-regulator.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt > index 4fae41d..306931c 100644 > --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt > +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt > @@ -1,7 +1,9 @@ > Fixed Voltage regulators > > Required properties: > -- compatible: Must be "regulator-fixed"; > +- compatible: > + "regulator-fixed" for regular fixed-regulators > + "gpio-power-switch" for gpio-driven power load switches Probably add "... which do no regulation" along the lines of Mark's comment. > > Optional properties: > - gpio: gpio to use for enable control > -- > 2.9.3 >