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@15:power-domain@16:power-domain@18: 'power-domain@19', 'power-domain@20', 'power-domain@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@xxxxxxxxxxxx> > --- > .../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@xxxxxxxxxx> Best regards, Krzysztof