dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC

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
This commit is contained in:
Louis-Alexis Eyraud 2025-05-09 12:12:47 +02:00 committed by Steven Price
parent a59a271769
commit ea024e6e7a

View 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: