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/rockchip,rk817.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/rockchip,rk817.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml index 935e17099213..269fb85b2027 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml @@ -124,6 +124,8 @@ properties: The child node for the charger to hold additional properties. If a battery is not in use, this node can be omitted. type: object + $ref: /schemas/power/supply/power-supply.yaml + properties: monitored-battery: description: | |