[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e7d28a927044e47ad8018c71d511754dda9ae7d7.camel@mediatek.com>
Date: Thu, 14 Jul 2022 20:22:30 +0800
From: Tinghan Shen <tinghan.shen@...iatek.com>
To: Rob Herring <robh@...nel.org>
CC: Yong Wu <yong.wu@...iatek.com>, Joerg Roedel <joro@...tes.org>,
"Will Deacon" <will@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Chun-Jie Chen <chun-jie.chen@...iatek.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
"Enric Balletbo i Serra" <enric.balletbo@...labora.com>,
Weiyi Lu <weiyi.lu@...iatek.com>,
<iommu@...ts.linux-foundation.org>,
<linux-mediatek@...ts.infradead.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>
Subject: Re: [PATCH v1 03/16] dt-bindings: power: mediatek: Refine multiple
level power domain nodes
Hi Rob,
>
> Okay, I think you need something more like this that doesn't recurse
> infinitely:
>
> patternProperties:
> "^power-domain@[0-9a-f]+$":
> $ref: #/$defs/power-domain-node
>
> unevaluatedProperties:
> $ref: #/$defs/power-domain-node
>
> If you need a 3rd level of nodes:
> unevaluatedProperties:
> $ref: #/$defs/power-domain-node
>
>
> Rob
After some test, your 1st suggestion works.
The infinite error is introduced from my changes and affect the result of power/renesas,sysc-
rmobile.yaml. The 'additionalProperties' being defined as a DT property is the root of this error.
After fix the indentation, the error is gone.
I'll update the yaml as your 1st suggestion in next version.
Thanks,
TingHan
Powered by blists - more mailing lists