]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: bus: aspeed: Require syscon for AST2600 AHB controller
authorAndrew Jeffery <andrew@codeconstruct.com.au>
Thu, 11 Dec 2025 08:45:51 +0000 (17:45 +0900)
committerRob Herring (Arm) <robh@kernel.org>
Mon, 15 Dec 2025 15:24:58 +0000 (09:24 -0600)
The AST2600's ACRY (eliptic curve and RSA crypto engine) requires access
to configuration exposed by the AHB controller. The devicetree already
describes the AHB controller node as a syscon, so require this in the
binding to satisfy the ACRY relationship.

Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Link: https://patch.msgid.link/20251211-dev-dt-warnings-all-v1-9-21b18b9ada77@codeconstruct.com.au
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/bus/aspeed,ast2600-ahbc.yaml

index 2894256c976dbe9f3ff4f53a48cff190724b7fb5..77e60b32d52e693e2b8237dae8574acd13253308 100644 (file)
@@ -17,8 +17,10 @@ description: |
 
 properties:
   compatible:
-    enum:
-      - aspeed,ast2600-ahbc
+    items:
+      - enum:
+          - aspeed,ast2600-ahbc
+      - const: syscon
 
   reg:
     maxItems: 1
@@ -32,6 +34,6 @@ additionalProperties: false
 examples:
   - |
     ahbc@1e600000 {
-        compatible = "aspeed,ast2600-ahbc";
+        compatible = "aspeed,ast2600-ahbc", "syscon";
         reg = <0x1e600000 0x100>;
     };