diff options
author | Rob Herring <robh@kernel.org> | 2019-05-22 00:20:29 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-22 15:22:51 +0300 |
commit | 1914a996436b09186489da73b807e1df71259f67 (patch) | |
tree | f61916fde292e0507dece957e21a8969eaf959e5 /Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | |
parent | 7bd7916dc8ab5b056f1b53e19021e476120481c0 (diff) | |
download | linux-1914a996436b09186489da73b807e1df71259f67.tar.xz |
regulator: Convert regulator binding to json-schema
Convert the common regulator binding to DT schema format. Note that all
the properties with standard unit suffixes have type checks already, so
only a description is necessary.
As fixed-regulator has already been converted, update the references in
it. Otherwise, keep regulator.txt with a reference to the schema to
avoid a bunch of treewide updates. regulator.txt can be removed when all
the regulator bindings are converted.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/fixed-regulator.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index d289c2f7455a..a650b457085d 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml @@ -12,10 +12,13 @@ maintainers: description: Any property defined as part of the core regulator binding, defined in - regulator.txt, can also be used. However a fixed voltage regulator is + regulator.yaml, can also be used. However a fixed voltage regulator is expected to have the regulator-min-microvolt and regulator-max-microvolt to be the same. +allOf: + - $ref: "regulator.yaml#" + properties: compatible: const: regulator-fixed |