public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: regulator: pwm-regulator: fix example syntax
@ 2017-07-17 13:18 Martin Blumenstingl
  2017-07-17 20:18 ` Rob Herring
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Martin Blumenstingl @ 2017-07-17 13:18 UTC (permalink / raw)
  To: devicetree, lgirdwood, broonie
  Cc: linux-kernel, robh+dt, mark.rutland, Martin Blumenstingl

The "Continuous Voltage" example specifies a pwm-dutycycle-range.
However, an equal sign is missing between the property name and value.
Fix this to allow copy and paste from the documentation when writing an
own .dts file with a pwm-regulator.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 Documentation/devicetree/bindings/regulator/pwm-regulator.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
index bf85aa9ad6a7..3d78d507e29f 100644
--- a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
@@ -71,7 +71,7 @@ Continuous Voltage With Enable GPIO Example:
 		 * Inverted PWM logic, and the duty cycle range is limited
 		 * to 30%-70%.
 		 */
-		pwm-dutycycle-range <700 300>; /* */
+		pwm-dutycycle-range = <700 300>; /* */
 	};
 
 Voltage Table Example:
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: regulator: pwm-regulator: fix example syntax
  2017-07-17 13:18 [PATCH] dt-bindings: regulator: pwm-regulator: fix example syntax Martin Blumenstingl
@ 2017-07-17 20:18 ` Rob Herring
       [not found] ` <20170717131823.19687-1-martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
  2017-07-19 11:27 ` Applied "regulator: pwm-regulator: fix example syntax" to the regulator tree Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2017-07-17 20:18 UTC (permalink / raw)
  To: Martin Blumenstingl
  Cc: devicetree, lgirdwood, broonie, linux-kernel, mark.rutland

On Mon, Jul 17, 2017 at 03:18:23PM +0200, Martin Blumenstingl wrote:
> The "Continuous Voltage" example specifies a pwm-dutycycle-range.
> However, an equal sign is missing between the property name and value.
> Fix this to allow copy and paste from the documentation when writing an
> own .dts file with a pwm-regulator.
> 
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> ---
>  Documentation/devicetree/bindings/regulator/pwm-regulator.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
> index bf85aa9ad6a7..3d78d507e29f 100644
> --- a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
> +++ b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
> @@ -71,7 +71,7 @@ Continuous Voltage With Enable GPIO Example:
>  		 * Inverted PWM logic, and the duty cycle range is limited
>  		 * to 30%-70%.
>  		 */
> -		pwm-dutycycle-range <700 300>; /* */
> +		pwm-dutycycle-range = <700 300>; /* */

What's the point of "/* */" while you're here?

In any case,

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: regulator: pwm-regulator: fix example syntax
       [not found] ` <20170717131823.19687-1-martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
@ 2017-07-19 10:56   ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2017-07-19 10:56 UTC (permalink / raw)
  To: Martin Blumenstingl
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	lgirdwood-Re5JQEeQqe8AvxtiuMwx3w,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8

[-- Attachment #1: Type: text/plain, Size: 608 bytes --]

On Mon, Jul 17, 2017 at 03:18:23PM +0200, Martin Blumenstingl wrote:
> The "Continuous Voltage" example specifies a pwm-dutycycle-range.
> However, an equal sign is missing between the property name and value.
> Fix this to allow copy and paste from the documentation when writing an
> own .dts file with a pwm-regulator.

Please submit patches using subject lines reflecting the style for the
subsystem.  This makes it easier for people to identify relevant
patches.  Look at what existing commits in the area you're changing are
doing and make sure your subject lines visually resemble what they're
doing.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Applied "regulator: pwm-regulator: fix example syntax" to the regulator tree
  2017-07-17 13:18 [PATCH] dt-bindings: regulator: pwm-regulator: fix example syntax Martin Blumenstingl
  2017-07-17 20:18 ` Rob Herring
       [not found] ` <20170717131823.19687-1-martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
@ 2017-07-19 11:27 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2017-07-19 11:27 UTC (permalink / raw)
  To: Martin Blumenstingl; +Cc: Rob Herring, Mark Brown, devicetree, lgirdwood

The patch

   regulator: pwm-regulator: fix example syntax

has been applied to the regulator tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 760068be07c744a4355a0387be4dcd4127ad2523 Mon Sep 17 00:00:00 2001
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Date: Mon, 17 Jul 2017 15:18:23 +0200
Subject: [PATCH] regulator: pwm-regulator: fix example syntax

The "Continuous Voltage" example specifies a pwm-dutycycle-range.
However, an equal sign is missing between the property name and value.
Fix this to allow copy and paste from the documentation when writing an
own .dts file with a pwm-regulator.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 Documentation/devicetree/bindings/regulator/pwm-regulator.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
index bf85aa9ad6a7..3d78d507e29f 100644
--- a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
@@ -71,7 +71,7 @@ Continuous Voltage With Enable GPIO Example:
 		 * Inverted PWM logic, and the duty cycle range is limited
 		 * to 30%-70%.
 		 */
-		pwm-dutycycle-range <700 300>; /* */
+		pwm-dutycycle-range = <700 300>; /* */
 	};
 
 Voltage Table Example:
-- 
2.13.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-19 11:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-17 13:18 [PATCH] dt-bindings: regulator: pwm-regulator: fix example syntax Martin Blumenstingl
2017-07-17 20:18 ` Rob Herring
     [not found] ` <20170717131823.19687-1-martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2017-07-19 10:56   ` Mark Brown
2017-07-19 11:27 ` Applied "regulator: pwm-regulator: fix example syntax" to the regulator tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox