Re: [PATCH 1/2] regulator: dt-bindings: maxim,max8997: correct array of voltages

From: Geert Uytterhoeven
Date: Fri Apr 01 2022 - 03:47:16 EST

On Thu, Mar 31, 2022 at 11:17 PM Krzysztof Kozlowski
<krzysztof.kozlowski@xxxxxxxxxx> wrote:
> uint32-array with voltages should be within one bracket pair <>, not
> each number in its own <>. Also the number of elements in the array
> should be defined within "items:".
> This fixes DT schema warnings like:
> maxim,max8997.example.dtb: pmic@66: max8997,pmic-buck1-dvs-voltage:
> [[1350000, 1300000, 1250000, 1200000, 1150000, 1100000, 1000000, 950000]] is too short
> Fixes: 1d2104f21618 ("regulator: dt-bindings: maxim,max8997: convert to dtschema")
> Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Warning going, and if I add one entry too much, it still complains, so:
Tested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>



Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds