]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC
authorLouis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Fri, 9 May 2025 10:12:47 +0000 (12:12 +0200)
committerSteven Price <steven.price@arm.com>
Fri, 20 Jun 2025 14:48:55 +0000 (15:48 +0100)
Add a compatible for the MediaTek MT8370 SoC, with an
integrated ARM Mali G57 MC2 GPU (Valhall-JM, dual core).
None of the already existing SoC specific compatibles is usable as
fallback, as those either do not match the number of cores (and number
of power domains), or are for a different GPU architecture.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250509-mt8370-enable-gpu-v6-1-2833888cb1d3@collabora.com
Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml

index b8d659d272d060bf850be34f760495b401a19adf..7e947016dee9dca6aa57cf191502e25d5252a25e 100644 (file)
@@ -42,6 +42,7 @@ properties:
           - enum:
               - mediatek,mt8188-mali
               - mediatek,mt8192-mali
+              - mediatek,mt8370-mali
           - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable
 
   reg:
@@ -225,7 +226,9 @@ allOf:
       properties:
         compatible:
           contains:
-            const: mediatek,mt8186-mali
+            enum:
+              - mediatek,mt8186-mali
+              - mediatek,mt8370-mali
     then:
       properties:
         power-domains: