From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932994AbcFCVFn (ORCPT ); Fri, 3 Jun 2016 17:05:43 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:33037 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932839AbcFCVE2 (ORCPT ); Fri, 3 Jun 2016 17:04:28 -0400 Date: Fri, 3 Jun 2016 14:04:24 -0700 From: Brian Norris To: Boris Brezillon Cc: Thierry Reding , linux-pwm@vger.kernel.org, Mark Brown , Liam Girdwood , Heiko Stuebner , linux-rockchip@lists.infradead.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Milo Kim , Doug Anderson , Caesar Wang , Stephen Barber , Ajit Pal Singh , Srinivas Kandagatla , Maxime Coquelin , Patrice Chotard , kernel@stlinux.com Subject: Re: [PATCH 14/14] regulator: pwm: Document pwm-dutycycle-unit and pwm-dutycycle-range Message-ID: <20160603210424.GL124478@google.com> References: <1464942192-25967-1-git-send-email-boris.brezillon@free-electrons.com> <1464942192-25967-15-git-send-email-boris.brezillon@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1464942192-25967-15-git-send-email-boris.brezillon@free-electrons.com> 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 On Fri, Jun 03, 2016 at 10:23:12AM +0200, Boris Brezillon wrote: > Document the pwm-dutycycle-unit and pwm-dutycycle-range properties. > > Signed-off-by: Boris Brezillon > --- > .../devicetree/bindings/regulator/pwm-regulator.txt | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt > index ed936f0..5303235 100644 > --- a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt > +++ b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt > @@ -34,6 +34,18 @@ Only required for Voltage Table Mode: > First cell is voltage in microvolts (uV) > Second cell is duty-cycle in percent (%) > > +Optional properties for Continuous mode: > +- pwm-dutycycle-unit: Integer value encoding the dutycycle unit. If not > + defined, <100> is assumed, meaning that > + pwm-dutycycle-range contains values expressed in > + percent. > + > +- pwm-dutycycle-range: Should contain 2 entries. The first entry is encoding > + the dutycycle for regulator-min-microvolt and the > + second one the dutycycle for regulator-max-microvolt. > + Dutycyle values are expressed in pwm-dutycycle-unit. > + If not defined, <0 100> is assumed. > + > NB: To be clear, if voltage-table is provided, then the device will be used > in Voltage Table Mode. If no voltage-table is provided, then the device will > be used in Continuous Voltage Mode. Acked-by: Brian Norris From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Norris Subject: Re: [PATCH 14/14] regulator: pwm: Document pwm-dutycycle-unit and pwm-dutycycle-range Date: Fri, 3 Jun 2016 14:04:24 -0700 Message-ID: <20160603210424.GL124478@google.com> References: <1464942192-25967-1-git-send-email-boris.brezillon@free-electrons.com> <1464942192-25967-15-git-send-email-boris.brezillon@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1464942192-25967-15-git-send-email-boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Boris Brezillon Cc: Mark Rutland , Milo Kim , Heiko Stuebner , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Liam Girdwood , Thierry Reding , kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org, Stephen Barber , linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Caesar Wang , linux-pwm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Pawel Moll , Ian Campbell , Doug Anderson , Rob Herring , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Maxime Coquelin , Srinivas Kandagatla , Patrice Chotard , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mark Brown , Kumar Gala , Ajit Pal Singh List-Id: devicetree@vger.kernel.org On Fri, Jun 03, 2016 at 10:23:12AM +0200, Boris Brezillon wrote: > Document the pwm-dutycycle-unit and pwm-dutycycle-range properties. > > Signed-off-by: Boris Brezillon > --- > .../devicetree/bindings/regulator/pwm-regulator.txt | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt > index ed936f0..5303235 100644 > --- a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt > +++ b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt > @@ -34,6 +34,18 @@ Only required for Voltage Table Mode: > First cell is voltage in microvolts (uV) > Second cell is duty-cycle in percent (%) > > +Optional properties for Continuous mode: > +- pwm-dutycycle-unit: Integer value encoding the dutycycle unit. If not > + defined, <100> is assumed, meaning that > + pwm-dutycycle-range contains values expressed in > + percent. > + > +- pwm-dutycycle-range: Should contain 2 entries. The first entry is encoding > + the dutycycle for regulator-min-microvolt and the > + second one the dutycycle for regulator-max-microvolt. > + Dutycyle values are expressed in pwm-dutycycle-unit. > + If not defined, <0 100> is assumed. > + > NB: To be clear, if voltage-table is provided, then the device will be used > in Voltage Table Mode. If no voltage-table is provided, then the device will > be used in Continuous Voltage Mode. Acked-by: Brian Norris From mboxrd@z Thu Jan 1 00:00:00 1970 From: briannorris@chromium.org (Brian Norris) Date: Fri, 3 Jun 2016 14:04:24 -0700 Subject: [PATCH 14/14] regulator: pwm: Document pwm-dutycycle-unit and pwm-dutycycle-range In-Reply-To: <1464942192-25967-15-git-send-email-boris.brezillon@free-electrons.com> References: <1464942192-25967-1-git-send-email-boris.brezillon@free-electrons.com> <1464942192-25967-15-git-send-email-boris.brezillon@free-electrons.com> Message-ID: <20160603210424.GL124478@google.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Jun 03, 2016 at 10:23:12AM +0200, Boris Brezillon wrote: > Document the pwm-dutycycle-unit and pwm-dutycycle-range properties. > > Signed-off-by: Boris Brezillon > --- > .../devicetree/bindings/regulator/pwm-regulator.txt | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt > index ed936f0..5303235 100644 > --- a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt > +++ b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt > @@ -34,6 +34,18 @@ Only required for Voltage Table Mode: > First cell is voltage in microvolts (uV) > Second cell is duty-cycle in percent (%) > > +Optional properties for Continuous mode: > +- pwm-dutycycle-unit: Integer value encoding the dutycycle unit. If not > + defined, <100> is assumed, meaning that > + pwm-dutycycle-range contains values expressed in > + percent. > + > +- pwm-dutycycle-range: Should contain 2 entries. The first entry is encoding > + the dutycycle for regulator-min-microvolt and the > + second one the dutycycle for regulator-max-microvolt. > + Dutycyle values are expressed in pwm-dutycycle-unit. > + If not defined, <0 100> is assumed. > + > NB: To be clear, if voltage-table is provided, then the device will be used > in Voltage Table Mode. If no voltage-table is provided, then the device will > be used in Continuous Voltage Mode. Acked-by: Brian Norris