Re: [PATCH] regulator: dt-bindings: Convert Fairchild FAN53555 to DT schema

From: Rob Herring
Date: Tue Dec 20 2022 - 15:08:00 EST


On Mon, Dec 19, 2022 at 03:22:08PM -0600, Rob Herring wrote:
>
> On Mon, 19 Dec 2022 13:11:25 -0600, Rob Herring wrote:
> > Convert the Fairchild FAN53555 and compatible variants binding to DT
> > schema format.
> >
> > The example was missing 'reg', so add it.
> >
> > Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> > ---
> > .../bindings/regulator/fan53555.txt | 24 --------
> > .../bindings/regulator/fcs,fan53555.yaml | 59 +++++++++++++++++++
> > 2 files changed, 59 insertions(+), 24 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/regulator/fan53555.txt
> > create mode 100644 Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml
> >
>
> Running 'make dtbs_check' with the schema in this patch gives the
> following warnings. Consider if they are expected or the schema is
> incorrect. These may not be new warnings.
>
> Note that it is not yet a requirement to have 0 warnings for dtbs_check.
> This will change in the future.
>
> Full log is available here: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20221219191125.1974879-1-robh@xxxxxxxxxx
>
>
> regulator@40: Unevaluated properties are not allowed ('regulator-compatible', 'vsel-gpios' were unexpected)
> arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dtb

The h/w does have a VSEL pin, so I'll respin adding that.

>
> regulator@40: Unevaluated properties are not allowed ('regulator-init-microvolt' was unexpected)
> arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dtb
> arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dtb

Humm, not in the kernel. Seems u-boot has added some of their own
properties...

Rob