aboutsummaryrefslogtreecommitdiff
path: root/Bindings/regulator/fixed-regulator.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Bindings/regulator/fixed-regulator.yaml')
-rw-r--r--Bindings/regulator/fixed-regulator.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bindings/regulator/fixed-regulator.yaml b/Bindings/regulator/fixed-regulator.yaml
index 9ff9abf2691..51e2f6fb7a5 100644
--- a/Bindings/regulator/fixed-regulator.yaml
+++ b/Bindings/regulator/fixed-regulator.yaml
@@ -41,6 +41,13 @@ allOf:
- gpios
properties:
+ $nodename:
+ anyOf:
+ - description: Preferred name is 'regulator-[0-9]v[0-9]'
+ pattern: '^regulator(-[0-9]+v[0-9]+|-[0-9a-z-]+)?$'
+ - description: Any name allowed
+ deprecated: true
+
compatible:
enum:
- regulator-fixed