]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde569d0a1853a12f43d650335991ebe54f533069
tree55c3eab5f66d49601b605e55799ac3c07eb2c380
parent78f0a5f86683713bf30eae653c023ab078a37264
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]