summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
diff options
context:
space:
mode:
authorHarald Geyer2018-02-13 15:43:08 +0100
committerMark Brown2018-02-14 17:15:41 +0100
commit4b75291621830acad2c66a1d21d7840a7ca169d3 (patch)
treebeddc5b268981d747639e828b8cce595e378033b /Documentation/devicetree/bindings/regulator/gpio-regulator.txt
parentLinux 4.16-rc1 (diff)
downloadkernel-qcow2-linux-4b75291621830acad2c66a1d21d7840a7ca169d3.tar.gz
kernel-qcow2-linux-4b75291621830acad2c66a1d21d7840a7ca169d3.tar.xz
kernel-qcow2-linux-4b75291621830acad2c66a1d21d7840a7ca169d3.zip
regulator: dt: regulator-name is required property
These two drivers fail to probe if no name is provided. For details see: https://www.spinics.net/lists/kernel/msg2457515.html Signed-off-by: Harald Geyer <harald@ccbib.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/gpio-regulator.txt')
-rw-r--r--Documentation/devicetree/bindings/regulator/gpio-regulator.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
index dd1ed789728e..1f496159e2bb 100644
--- a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
@@ -2,6 +2,8 @@ GPIO controlled regulators
Required properties:
- compatible : Must be "regulator-gpio".
+- regulator-name : Defined in regulator.txt as optional, but required
+ here.
- states : Selection of available voltages and GPIO configs.
if there are no states, then use a fixed regulator