Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: gpu: arm,mali-midgard: add specific compatibles for existing Exynos SoC

Samsung Exynos SoC reuses several devices from older designs, thus
historically we kept the old (block's) compatible only. This works fine
and there is no bug here, however guidelines expressed in
Documentation/devicetree/bindings/writing-bindings.rst state that:
1. Compatibles should be specific.
2. We should add new compatibles in case of bugs or features.

Add compatibles specific to each SoC in front of all old-SoC-like
compatibles.

Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231108104343.24192-10-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

+5
+5
Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml
··· 42 42 - const: arm,mali-t760 43 43 - items: 44 44 - enum: 45 + - samsung,exynos7-mali 46 + - const: samsung,exynos5433-mali 47 + - const: arm,mali-t760 48 + - items: 49 + - enum: 45 50 - rockchip,rk3399-mali 46 51 - const: arm,mali-t860 47 52