dt-bindings: nvme: apple: Add apple,t8112-nvme-ans2 compatible string
authorJanne Grunau <j@jannau.net>
Tue, 7 Mar 2023 12:10:14 +0000 (13:10 +0100)
committerHector Martin <marcan@marcan.st>
Tue, 28 Mar 2023 10:39:19 +0000 (19:39 +0900)
"apple,t8112-nvme-ans2" as found on Apple M2 SoCs is compatible with the
existing driver. Add its SoC specific compatible string to allow special
handling if it'll be necessary.
t8112 uses only 2 power-domains as no 4 and 8 TB configurations are
offered.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Hector Martin <marcan@marcan.st>
Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml

index 34dd1cc..fc65557 100644 (file)
@@ -14,6 +14,7 @@ properties:
     items:
       - enum:
           - apple,t8103-nvme-ans2
+          - apple,t8112-nvme-ans2
           - apple,t6000-nvme-ans2
       - const: apple,nvme-ans2
 
@@ -65,7 +66,9 @@ if:
   properties:
     compatible:
       contains:
-        const: apple,t8103-nvme-ans2
+        enum:
+          - apple,t8103-nvme-ans2
+          - apple,t8112-nvme-ans2
 then:
   properties:
     power-domains: