dt-bindings: power: mediatek: Support naming power controller node with unit address
authorTinghan Shen <tinghan.shen@mediatek.com>
Fri, 29 Jul 2022 06:31:52 +0000 (14:31 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 26 Aug 2022 15:32:12 +0000 (17:32 +0200)
Support naming power controller node with unit address, also compatible
with node names without unit address.

Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220729063208.16799-5-tinghan.shen@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Documentation/devicetree/bindings/power/mediatek,power-controller.yaml

index 321802c95308f716f28411f0229b9e8585930d2f..2d6afc090947341af782c83af8e17386026ba87e 100644 (file)
@@ -19,7 +19,7 @@ description: |
 
 properties:
   $nodename:
-    const: power-controller
+    pattern: '^power-controller(@[0-9a-f]+)?$'
 
   compatible:
     enum: