]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: reset: Add syscon to nuvoton ma35d1 system-management node
authorJacky Huang <ychuang3@nuvoton.com>
Tue, 21 May 2024 01:24:45 +0000 (01:24 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2024 07:21:46 +0000 (09:21 +0200)
Add a compatible 'syscon' to the system management node since the system
control registers are mapped by this driver. The other driver must access
the system control registers through 'regmap' using a phandle that
references this node.

Signed-off-by: Jacky Huang <ychuang3@nuvoton.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20240521012447.42211-2-ychuang570808@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml

index 34c5c1c08ec17ec4ab7e663b92678066ca80d724..3ce7dcecd87ae62395419fa0a655782d1282673e 100644 (file)
@@ -18,6 +18,7 @@ properties:
   compatible:
     items:
       - const: nuvoton,ma35d1-reset
+      - const: syscon
 
   reg:
     maxItems: 1
@@ -37,7 +38,7 @@ examples:
   - |
 
     system-management@40460000 {
-        compatible = "nuvoton,ma35d1-reset";
+        compatible = "nuvoton,ma35d1-reset", "syscon";
         reg = <0x40460000 0x200>;
         #reset-cells = <1>;
     };