Re: [PATCH 4/6] dt-bindings: power: supply: charger-manager: Convert to DT schema format

From: Rob Herring
Date: Tue Apr 13 2021 - 11:26:48 EST


On Tue, 13 Apr 2021 01:03:18 +0200, Sebastian Reichel wrote:
> 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@xxxxxxxxxxxxx>
> ---
> .../bindings/power/supply/charger-manager.txt | 91 --------
> .../power/supply/charger-manager.yaml | 215 ++++++++++++++++++
> 2 files changed, 215 insertions(+), 91 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/power/supply/charger-manager.txt
> create mode 100644 Documentation/devicetree/bindings/power/supply/charger-manager.yaml
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>