]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: reset: sophgo: Add SG2044 bindings.
authorInochi Amaoto <inochiama@gmail.com>
Sun, 13 Apr 2025 22:34:59 +0000 (06:34 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 5 May 2025 13:22:33 +0000 (15:22 +0200)
The SG2044 shares the same reset controller as SG2042, so it
is just enough to use the compatible string of SG2042 as a
basis.

Add compatible string for the reset controller of SG2044.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Acked-by: "Rob Herring (Arm)" <robh@kernel.org>
Reviewed-by: Chen Wang <unicorn_wang@outlook.com>
Link: https://lore.kernel.org/r/20250413223507.46480-6-inochiama@gmail.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml

index 76e1931f090829712cf60215f31f328e7fe878b0..1d1b84575960c3337d8c97818361f3e3eea90ee0 100644 (file)
@@ -11,7 +11,12 @@ maintainers:
 
 properties:
   compatible:
-    const: sophgo,sg2042-reset
+    oneOf:
+      - items:
+          - enum:
+              - sophgo,sg2044-reset
+          - const: sophgo,sg2042-reset
+      - const: sophgo,sg2042-reset
 
   reg:
     maxItems: 1