[PATCH v3 03/21] dt-bindings: power: mediatek: Refine multiple level power domain nodes
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Wed Jul 20 10:32:22 PDT 2022
On 20/07/2022 14:30, Tinghan Shen wrote:
> Extract duplicated properties and support more levels of power
> domain nodes.
>
> This change fix following error when do dtbs_check,
> arch/arm64/boot/dts/mediatek/mt8195-evb.dtb: power-controller: power-domain at 15:power-domain at 16:power-domain at 18: 'power-domain at 19', 'power-domain at 20', 'power-domain at 21' do not match any of the regexes: 'pinctrl-[0-9]+'
> From schema: Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
>
> Signed-off-by: Tinghan Shen <tinghan.shen at mediatek.com>
> ---
> .../power/mediatek,power-controller.yaml | 131 +++---------------
> 1 file changed, 17 insertions(+), 114 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
> index b448101fac43..321802c95308 100644
> --- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
> +++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
> @@ -42,6 +42,23 @@ properties:
>
> patternProperties:
> "^power-domain@[0-9a-f]+$":
> + $ref: "#/$defs/power-domain-node"
> + patternProperties:
> + "^power-domain@[0-9a-f]+$":
> + $ref: "#/$defs/power-domain-node"
> + patternProperties:
> + "^power-domain@[0-9a-f]+$":
> + $ref: "#/$defs/power-domain-node"
> + patternProperties:
> + "^power-domain@[0-9a-f]+$":
> + $ref: "#/$defs/power-domain-node"
> + unevaluatedProperties: false
> + unevaluatedProperties: false
> + unevaluatedProperties: false
> + unevaluatedProperties: false
I see some beauty in previous endless recurrence, but at least we are
specific...
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Best regards,
Krzysztof
More information about the Linux-mediatek
mailing list