Re: [PATCH 5/6] dt-bindings: regulator: tps6586x: Convert to json-schema

From: Rob Herring
Date: Sat Dec 18 2021 - 13:08:39 EST


On Fri, 17 Dec 2021 18:05:06 +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@xxxxxxxxxx>
>
> Convert the Texas Instruments TPS6586x bindings from the free-form text
> format to json-schema.
>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
> ---
> .../bindings/regulator/ti,tps6586x.yaml | 184 ++++++++++++++++++
> .../bindings/regulator/tps6586x.txt | 135 -------------
> 2 files changed, 184 insertions(+), 135 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/regulator/ti,tps6586x.yaml
> delete mode 100644 Documentation/devicetree/bindings/regulator/tps6586x.txt
>

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/patch/1570217


pmic@34: regulators:ldo2:regulator-coupled-max-spread:0: [170000, 550000] is too long
arch/arm/boot/dts/tegra20-acer-a500-picasso.dt.yaml

pmic@34: regulators:sm0:regulator-coupled-max-spread:0: [170000, 550000] is too long
arch/arm/boot/dts/tegra20-acer-a500-picasso.dt.yaml

pmic@34: regulators:sm1:regulator-coupled-max-spread:0: [550000, 550000] is too long
arch/arm/boot/dts/tegra20-acer-a500-picasso.dt.yaml

tps6586x@34: regulators:ldo2:regulator-coupled-max-spread:0: [170000, 550000] is too long
arch/arm/boot/dts/tegra20-paz00.dt.yaml
arch/arm/boot/dts/tegra20-ventana.dt.yaml

tps6586x@34: regulators:sm0:regulator-coupled-max-spread:0: [170000, 550000] is too long
arch/arm/boot/dts/tegra20-paz00.dt.yaml
arch/arm/boot/dts/tegra20-ventana.dt.yaml

tps6586x@34: regulators:sm1:regulator-coupled-max-spread:0: [550000, 550000] is too long
arch/arm/boot/dts/tegra20-paz00.dt.yaml
arch/arm/boot/dts/tegra20-ventana.dt.yaml