Re: [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML

From: Rob Herring (Arm)
Date: Mon Nov 04 2024 - 11:25:04 EST



On Mon, 04 Nov 2024 09:48:21 +0100, Stanislav Jakubek wrote:
> Convert the Spreadtrum SC27xx PMIC bindings to DT schema. Adjust the
> filename to match the compatible of the only in-tree user, SC2731.
> Change #interrupt-cells value to 1, as according to [1] that is the
> correct value.
> Move partial examples of child nodes in the child node schemas to this new
> MFD schema to have one complete example.
>
> [1] https://lore.kernel.org/lkml/b6a32917d1e231277d240a4084bebb6ad91247e3.1550060544.git.baolin.wang@xxxxxxxxxx/
>
> Signed-off-by: Stanislav Jakubek <stano.jakubek@xxxxxxxxx>
> ---
> Changes in V3:
> - remove $ref to nvmem/sc2731-efuse and list the compatibles with
> additionalProperties: true (Krzysztof)
>
> Changes in V2:
> - rebase on next-20241029
> - drop partial examples in child node schemas, move them here (Rob)
>
> Link to V2: https://lore.kernel.org/lkml/ZyExK01iprBHhGm6@standask-GA-A55M-S2HP/
> Link to V1: https://lore.kernel.org/lkml/Zr3X1RoQs7ElTnlJ@standask-GA-A55M-S2HP/
>
> .../bindings/iio/adc/sprd,sc2720-adc.yaml | 17 --
> .../bindings/leds/sprd,sc2731-bltc.yaml | 31 ---
> .../devicetree/bindings/mfd/sprd,sc2731.yaml | 252 ++++++++++++++++++
> .../bindings/mfd/sprd,sc27xx-pmic.txt | 40 ---
> .../bindings/power/supply/sc2731-charger.yaml | 21 +-
> .../bindings/power/supply/sc27xx-fg.yaml | 38 +--
> .../regulator/sprd,sc2731-regulator.yaml | 21 --
> .../bindings/rtc/sprd,sc2731-rtc.yaml | 16 --
> 8 files changed, 254 insertions(+), 182 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml
> delete mode 100644 Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt
>

Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>