From 2c7d938ff54792492a78589ffcd877d0fb06a972 Mon Sep 17 00:00:00 2001 From: Pankaj Gupta Date: Thu, 27 May 2021 12:10:03 +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 1cdcada1..55b4294e 100644 --- a/bindings/gpu/adreno.txt +++ b/bindings/gpu/adreno.txt @@ -267,6 +267,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. @@ -428,10 +430,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 */