]> Git Repo - linux.git/commitdiff
regulator: dt: regulator-name is required property
authorHarald Geyer <[email protected]>
Tue, 13 Feb 2018 14:43:08 +0000 (14:43 +0000)
committerMark Brown <[email protected]>
Wed, 14 Feb 2018 16:15:41 +0000 (16:15 +0000)
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 <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Documentation/devicetree/bindings/regulator/fixed-regulator.txt
Documentation/devicetree/bindings/regulator/gpio-regulator.txt

index 4fae41d547984297d0f427d22baa672a1ffedea2..0c2a6c8a15369faba1d1615288fea505220e9449 100644 (file)
@@ -2,6 +2,7 @@ Fixed Voltage regulators
 
 Required properties:
 - compatible: Must be "regulator-fixed";
+- regulator-name: Defined in regulator.txt as optional, but required here.
 
 Optional properties:
 - gpio: gpio to use for enable control
index dd1ed789728e0702a1d1d39aecf223fc1f22ef71..1f496159e2bb9ec3638dc6c977388c66cdb65a80 100644 (file)
@@ -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
 
This page took 0.060988 seconds and 4 git commands to generate.