From 7b4626af0998de37d267334e1d6c8cab2e41b2c5 Mon Sep 17 00:00:00 2001 From: Pankaj Gupta Date: Wed, 26 May 2021 19:36:54 +0530 Subject: [PATCH] dt-bindings: kgsl: Add compatible property in qcom,gpu-model We can define compatible property for qcom,gpu-model nodes. Change-Id: Idd680b536a95d6124c06541253b0cb6b082d790e --- bindings/gpu/adreno.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bindings/gpu/adreno.txt b/bindings/gpu/adreno.txt index e8005917058f..2294c967609e 100644 --- a/bindings/gpu/adreno.txt +++ b/bindings/gpu/adreno.txt @@ -272,6 +272,8 @@ Properties: Defines a GPU model name for specific GPU model ID. Properties: +- compatible: + May also include "qcom,adreno-gpu-*" for few targets. - qcom,gpu-model-id: Identifier for the specific GPU hardware configuration - must match the value read from the hardware. @@ -435,10 +437,17 @@ Example of A330 GPU in MSM8916: compatible="qcom,gpu-models"; qcom,gpu-model@0 { + compatible="qcom,adreno-gpu-a642l"; qcom,gpu-model-id = <0>; qcom,gpu-model = "Adreno642Lv1"; qcom,vk-device-id= <0x06030500>; }; + qcom,gpu-model@1 { + compatible="qcom,adreno-gpu-a645"; + qcom,gpu-model-id = <190>; + qcom,gpu-model = "Adreno645"; + qcom,vk-device-id= <0x06030500>; + }; } /* GPU Mempools */