diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-11-02 21:44:59 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2022-11-05 23:18:47 +0300 |
commit | c7d47d51663c2cbb9f07ac827f9dffa98d6cab21 (patch) | |
tree | 036fedba4a03b80aa50ee66c46461462fc5fdd19 /Documentation/devicetree/bindings/mfd/ene-kb930.yaml | |
parent | eae063f64714c2ab92eda900031c5e34a5597201 (diff) | |
download | linux-c7d47d51663c2cbb9f07ac827f9dffa98d6cab21.tar.xz |
dt-bindings: power: supply: define monitored-battery in common place
Define the type of monitored-battery in power-supply.yaml common schema.
Reference the schema where applicable to enforce the above in bindings
which have monitored-battery property.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/ene-kb930.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/ene-kb930.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/mfd/ene-kb930.yaml b/Documentation/devicetree/bindings/mfd/ene-kb930.yaml index 06ed9ec8f4bb..7c0a42390f18 100644 --- a/Documentation/devicetree/bindings/mfd/ene-kb930.yaml +++ b/Documentation/devicetree/bindings/mfd/ene-kb930.yaml @@ -13,6 +13,8 @@ description: | maintainers: - Dmitry Osipenko <digetx@gmail.com> +$ref: /schemas/power/supply/power-supply.yaml + properties: compatible: items: @@ -22,15 +24,13 @@ properties: reg: maxItems: 1 - monitored-battery: true - power-supplies: true system-power-controller: true required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | |