dt-bindings: power: supply: charger-manager: Convert to DT schema format
authorSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 12 Apr 2021 23:03:18 +0000 (01:03 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 13 May 2021 15:48:23 +0000 (17:48 +0200)
commita5afc7605b2ae7fb95be9b94e85179bc4c8aaee4
tree55c3eab5f66d49601b605e55799ac3c07eb2c380
parent6efb943b8616ec53a5e444193dccf1af9ad627b5
dt-bindings: power: supply: charger-manager: Convert to DT schema format

Convert the binding to DT schema format.

I slightly modified the binding by allowing regulator-[0-9] and cable-[0-9]
instead of regulator@[0-9] and cable@[0-9], so that DT compiler does not
complain about missing 'reg' property. The driver actually ignores the
nodename and can handle both styles.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/supply/charger-manager.txt [deleted file]
Documentation/devicetree/bindings/power/supply/charger-manager.yaml [new file with mode: 0644]