Skip to contentSkip to conversation

regulator: gpio: fix default of regulator-type property

PATCH In review Laxman Dewangan 2 participants 2 messages Jun 6, 2014 – Feb 4, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: gpio: fix default of regulator-type property

As per driver, the absense of "regulator-type" default to voltage type. Correct the document to say default is voltage instead of current.

---
 Documentation/devicetree/bindings/regulator/gpio-regulator.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/regulator/gpio-regulator.txt +1 -1
index e5cac1e..dd1ed78 100644
@@ -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.
Signature · 1 line
1.8.1.5
maintainer
#1 lore raw

Applied "regulator: gpio: correct default type" to the regulator tree

The patch

regulator: gpio: correct default type

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

Quoted 1 line

From 17db9f386632c9c9182a3318b89b742be08c1c2a Mon Sep 17 00:00:00 2001

From: Hans Holmberg <hans-syntQev1tZzUyQxjFilb4QC/[email protected]>
Date: Fri, 3 Feb 2017 15:29:12 +0100
Subject: [PATCH] regulator: gpio: correct default type

The driver defaults to voltage, not current, type so correct this in the device tree binding documentation.

---
 Documentation/devicetree/bindings/regulator/gpio-regulator.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/regulator/gpio-regulator.txt +1 -1
index e5cac1e0ca8a..dd1ed789728e 100644
@@ -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.
Signature · 6 lines
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html