From patchwork Fri Dec 13 11:31:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akhil P Oommen X-Patchwork-Id: 13906904 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A882F1DFD99; Fri, 13 Dec 2024 11:31:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734089517; cv=none; b=TDJxd3btMeTSoAhN0J9uKCzL+mGJUtOcim5ExcuwRImqlv/2tn+nR3a5Q2ngJj+f6VmEdDQRZvH6KN1V0sNSZkL3/pGTY5MOinoiKEMJ0h+SKDSC5N105ZmGPpd6gPWwMucP9e4sk1wMou3sJaYCHTWN9BeMmAAlRPqMohBiIEA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734089517; c=relaxed/simple; bh=X/8yfJudKW9EbNvkGhChk+5v1WHZLCha36IwadqG9iE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=iN+ITgjXTeZf1elR1lHq5mUDLz+Y8GeSW+8CWTyAR90VNydaAwbq4cfb0TLNB4TBBqY8zrRuq6LoLtRuxjEAeWHz/NnRvvlB6+D/xs/7C8ZpeSDRwDdEkoZAWGEsWrmhYeh11rnf5TI1DXmKHlNHJ64dny7AON/3mR3OYJ6BFXQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=fdxo3MHO; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="fdxo3MHO" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BD9ZpWt006041; Fri, 13 Dec 2024 11:31:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= xlUvq4Q2T0S/YxUaxskYzJbZ1Go0REEo1iwOC/zpu3U=; b=fdxo3MHO4SstVZNV v8Vc9gbMmzCpye0w+BuGn6vpr5gNoE1rsUyUX4aJRSddahCRr5fabvgV2TNbolUR uLuAhAE4jYu0wZPjdPegdAlm+cuNuaejO+vKuIOpxZQWEICYpV1gDjEguEn+KY59 f2tuuwGx/paOnbVRa3xNnfhHzm/pg37wrBUTuq9EUWzuZf+w5VZFbY6bcNTxSgO+ bcN1PwcuKdPXfA5CDs0pGb9yzwd7d/WJD4DfuSPebwCQovgen9HpMK8yYh2v+a16 x1+XdRfHPnrh/4H/i5Eb65TEmFS1UpyAtY8+xt9YlA8msXBFaodl3s18p8O3vUSe Vq64vQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43g6xusyjs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 11:31:44 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4BDBVh3n010414 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 11:31:43 GMT Received: from [10.213.111.143] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 13 Dec 2024 03:31:38 -0800 From: Akhil P Oommen Date: Fri, 13 Dec 2024 17:01:03 +0530 Subject: [PATCH RESEND v2 1/4] dt-bindings: display/msm: gpu: Document A612 GPU Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20241213-qcs615-gpu-dt-v2-1-47f3b312b178@quicinc.com> References: <20241213-qcs615-gpu-dt-v2-0-47f3b312b178@quicinc.com> In-Reply-To: <20241213-qcs615-gpu-dt-v2-0-47f3b312b178@quicinc.com> To: Rob Clark , Sean Paul , "Konrad Dybcio" , Abhinav Kumar , Dmitry Baryshkov , Marijn Suijten , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , "Bjorn Andersson" CC: , , , , , Akhil P Oommen X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1734089491; l=1667; i=quic_akhilpo@quicinc.com; s=20240726; h=from:subject:message-id; bh=X/8yfJudKW9EbNvkGhChk+5v1WHZLCha36IwadqG9iE=; b=2yJnaMeZtehhdRNSExlKPTRa+CK+bCjAhYjX2+2riRq4qSi55vqaiZhNccaDqu6AIjWqNQMrJ acghSh8ODzsDLfwqTK4ZiX9sZCLxc36F38rprzpJK58/sYS4Mrp3rJp X-Developer-Key: i=quic_akhilpo@quicinc.com; a=ed25519; pk=lmVtttSHmAUYFnJsQHX80IIRmYmXA4+CzpGcWOOsfKA= X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 9R7D_B6tK3j9iAfrcbQy73vRGfURpHRA X-Proofpoint-GUID: 9R7D_B6tK3j9iAfrcbQy73vRGfURpHRA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 clxscore=1015 malwarescore=0 adultscore=0 mlxlogscore=999 suspectscore=0 spamscore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412130080 A612 GPU requires an additional smmu_vote clock. Update the bindings to reflect this. Signed-off-by: Akhil P Oommen --- .../devicetree/bindings/display/msm/gpu.yaml | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/gpu.yaml b/Documentation/devicetree/bindings/display/msm/gpu.yaml index 6ddc72fd85b04537ea270754a897b4e7eb269641..1276331cb262e64cc94d6a9973463b3c1ff8b7a8 100644 --- a/Documentation/devicetree/bindings/display/msm/gpu.yaml +++ b/Documentation/devicetree/bindings/display/msm/gpu.yaml @@ -217,6 +217,42 @@ allOf: required: - clocks - clock-names + + - if: + properties: + compatible: + contains: + enum: + - qcom,adreno-612.0 + then: + properties: + clocks: + minItems: 5 + maxItems: 5 + + clock-names: + items: + - const: core + description: GPU Core clock + - const: mem_iface + description: GPU Memory Interface clock + - const: alt_mem_iface + description: GPU Alternative Memory Interface clock + - const: gmu + description: CX GMU clock + - const: xo + description: GPUCC clocksource clock + + reg-names: + minItems: 1 + items: + - const: kgsl_3d0_reg_memory + - const: cx_dbgc + + required: + - clocks + - clock-names + else: if: properties: