[PATCH v3 04/21] dt-bindings: power: mediatek: Support naming power controller node with unit address

Tinghan Shen posted 21 patches 2 years, 2 months ago
Only 19 patches received!
There is a newer version of this series
[PATCH v3 04/21] dt-bindings: power: mediatek: Support naming power controller node with unit address
Posted by Tinghan Shen 2 years, 2 months ago
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>
---
 .../devicetree/bindings/power/mediatek,power-controller.yaml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
index 321802c95308..2d6afc090947 100644
--- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
+++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
@@ -19,7 +19,7 @@ description: |
 
 properties:
   $nodename:
-    const: power-controller
+    pattern: '^power-controller(@[0-9a-f]+)?$'
 
   compatible:
     enum:
-- 
2.18.0
Re: [PATCH v3 04/21] dt-bindings: power: mediatek: Support naming power controller node with unit address
Posted by Krzysztof Kozlowski 2 years, 2 months ago
On 20/07/2022 14:30, Tinghan Shen wrote:
> 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>


Best regards,
Krzysztof