diff options
author | Rob Herring <robh@kernel.org> | 2019-10-11 21:44:13 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-10-14 17:23:54 +0300 |
commit | f3dde260bb0ed197dd85809f8281eb5a552e8594 (patch) | |
tree | e7c196367dd36f492c68cd6aafbf06374bb89de7 /Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | |
parent | e400edb141d74aa2f04d0071aadb47fdb8f7ae55 (diff) | |
download | linux-f3dde260bb0ed197dd85809f8281eb5a552e8594.tar.xz |
dt-bindings: Clean-up regulator '-supply' schemas
Regulator '*-supply' properties are always a single phandle, so
'maxItems: 1' or a $ref is not necessary. All that's needed is either
'true' or an optional 'description'. Following this clean-up, the
meta-schema will enforce this pattern.
There's one case in tree with 'innolux,n156bge-l21' having 2 phandles.
This appears to be a mistake or abuse of simple-panel as it's 2 different
voltage rails connected to 'power-supply'.
Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-iio@vger.kernel.org
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # for iio
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/fixed-regulator.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index a78150c47aa2..e56d97b233f4 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml @@ -64,7 +64,6 @@ properties: vin-supply: description: Input supply phandle. - $ref: /schemas/types.yaml#/definitions/phandle required: - compatible |