[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ee4cdfb1-8edd-a0de-5068-85de88e16c3d@linaro.org>
Date: Sat, 10 Sep 2022 10:03:15 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Sebastian Reichel <sebastian.reichel@...labora.com>,
Heiko Stuebner <heiko@...ech.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Lee Jones <lee@...nel.org>
Cc: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Alessandro Zummo <a.zummo@...ertech.it>,
linux-rockchip@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel@...labora.com
Subject: Re: [PATCHv3 08/14] dt-bindings: mfd: add rk806 binding
On 09/09/2022 19:55, Sebastian Reichel wrote:
> Add DT binding document for Rockchip's RK806 PMIC.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@...labora.com>
> ---
Thank you for your patch. There is something to discuss/improve.
> + vcc11-supply:
> + description:
> + The input supply for pldo-reg1, pldo-reg2 and pldo-reg3.
> +
> + vcc12-supply:
> + description:
> + The input supply for pldo-reg4 and pldo-reg5.
> +
> + vcc13-supply:
> + description:
> + The input supply for nldo-reg1, nldo-reg2 and nldo-reg3.
> +
> + vcc14-supply:
> + description:
> + The input supply for nldo-reg4 and nldo-reg5.
> +
> + vcca-supply:
> + description:
> + The input supply for pldo-reg6.
> +
> + regulators:
> + type: object
> + patternProperties:
> + "^(dcdc-reg([1-9]|10)|pldo-reg[1-6]|nldo-reg[1-5])$":
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
Sorry, for not spotting it earlier but the indentation here looks wrong.
On "patternProperties" indentation you need additionalProperties: false,
because only the patterns are allowed.
On "$ref: ....." level of indentation, you need unevaluatedProperties:
false, because you allow only properties previously evaluated (evaluated
by regulator.yaml).
Best regards,
Krzysztof
Powered by blists - more mailing lists