From nobody Thu Nov 28 02:59:30 2024 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 C59C017DFF7; Mon, 7 Oct 2024 06:11:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728281484; cv=none; b=V9FTLSexko15dfscmUWk4nLTotSkzP2nmRz30PPrakyAnqs/HpCrMmKU7t4VmBk3RLwKzosq1KuiILV3Lyno7x1/D03keQMT3lodXs2RPV10aWi9Cpt1eKvdsvxO2EoljreXz04gEPDEelJqkXxqAURQbXbEcq7R6g8ViHivKdI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728281484; c=relaxed/simple; bh=zCpC649Gw0V0bNMN8vuw8E3p9dvzvqA/OfOrN4EJA5E=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DE6ETgHBMN7Po+HBb6W4M3Dv2sASnruzZCESgORbvxBvOxW/l82+jVMvWIJDGeGo7P4sXGT8MjBvOAKZc81y23jRsru1IsexHkxZRyxgPPwVA80v6sd9PZSMiOC2b2kfBJlCNUs13UrqzKh/UB7+iF3ry+0TyCp3+twPJrP4IL8= 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=lLU0qMYw; arc=none smtp.client-ip=205.220.168.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="lLU0qMYw" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4974SkCD026815; Mon, 7 Oct 2024 06:11:13 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= +XsnJmQ6qjXHSljaiwdTrTyOI6pTwJNl2FAkI9q3fwE=; b=lLU0qMYwt3vsj3dp BwR843t9iuSbDrILz1mm9EjwB95IDSh4K8h0+40KWSnyB6ckac+dGq8WRRu7pRhx 2f0ENQ7EQMDx40Jizrw0En9gH0V7+tEhaS7aBOwI6kfEXvWIvOFOf6cWpsieKbh1 75lKrS/kf3zxAfQBwdDeAvh8Grx8kfieWWcETpKwspPktS3JW/vZzX3hccmY+AU7 Q9VNDVcBrAKY/lQq1nSdkybXItM3h88M+k9Hol7jXtuzwEPCV8RGyoPvleLf8oGj c6N4v0XZ5D8JV9BxL6DCv9fum5ybZTeOn+dj6Fe4EsgDbauAYwc1V3GZDBhC3QFe xNmXBQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 422xq9u5me-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Oct 2024 06:11:12 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4976B7dk015235 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 7 Oct 2024 06:11:08 GMT Received: from hu-sibis-blr.qualcomm.com (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; Sun, 6 Oct 2024 23:11:03 -0700 From: Sibi Sankar To: , , , , , CC: , , , , , , , , Subject: [PATCH V4 5/5] arm64: dts: qcom: x1e80100: Enable LLCC/DDR/DDR_QOS dvfs Date: Mon, 7 Oct 2024 11:40:23 +0530 Message-ID: <20241007061023.1978380-6-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241007061023.1978380-1-quic_sibis@quicinc.com> References: <20241007061023.1978380-1-quic_sibis@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: WI3ajMQnc0E_pXSm-x2RF5CtWFpd5PyA X-Proofpoint-GUID: WI3ajMQnc0E_pXSm-x2RF5CtWFpd5PyA 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 clxscore=1015 phishscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 suspectscore=0 malwarescore=0 adultscore=0 mlxlogscore=920 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410070042 Content-Type: text/plain; charset="utf-8" Enable LLCC/DDR/DDR_QOS bus scaling through the QCOM SCMI Generic Extension protocol. Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 138 +++++++++++++++++++++++++ 1 file changed, 138 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/q= com/x1e80100.dtsi index aec3ceb502f6..24ebccd8c124 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -325,6 +326,143 @@ scmi_dvfs: protocol@13 { reg =3D <0x13>; #power-domain-cells =3D <1>; }; + + scmi_vendor: protocol@80 { + reg =3D <0x80>; + + memory-0 { + qcom,memory-type =3D ; + freq-table-hz =3D /bits/ 64 <200000000 4224000000>; + + monitor-0 { + cpus =3D <&CPU0 &CPU1 &CPU2 &CPU3 &CPU4 &CPU5 &CPU6 + &CPU7 &CPU8 &CPU9 &CPU10 &CPU11>; + qcom,ipm-ceil =3D <20000000>; + operating-points-v2 =3D <&memory0_monitor0_opp_table>; + + memory0_monitor0_opp_table: opp-table { + compatible =3D "operating-points-v2"; + + opp-999000000 { + opp-hz =3D /bits/ 64 <999000000 547000000>; + }; + + opp-1440000000 { + opp-hz =3D /bits/ 64 <1440000000 768000000>; + }; + + opp-1671000000 { + opp-hz =3D /bits/ 64 <1671000000 1555000000>; + }; + + opp-2189000000 { + opp-hz =3D /bits/ 64 <2189000000 2092000000>; + }; + + opp-2516000000 { + opp-hz =3D /bits/ 64 <2516000000 3187000000>; + }; + + opp-3860000000 { + opp-hz =3D /bits/ 64 <3860000000 4224000000>; + }; + }; + }; + + monitor-1 { + cpus =3D <&CPU0 &CPU1 &CPU2 &CPU3 &CPU4 &CPU5 &CPU6 + &CPU7 &CPU8 &CPU9 &CPU10 &CPU11>; + operating-points-v2 =3D <&memory0_monitor1_opp_table>; + qcom,compute-type; + + memory0_monitor1_opp_table: opp-table { + compatible =3D "operating-points-v2"; + + opp-1440000000 { + opp-hz =3D /bits/ 64 <1440000000 200000000>; + }; + + opp-2189000000 { + opp-hz =3D /bits/ 64 <2189000000 768000000>; + }; + + opp-2516000000 { + opp-hz =3D /bits/ 64 <2516000000 1555000000>; + }; + + opp-3860000000 { + opp-hz =3D /bits/ 64 <3860000000 4224000000>; + }; + }; + }; + }; + + memory-1 { + qcom,memory-type =3D ; + freq-table-hz =3D /bits/ 64 <300000000 1067000000>; + + monitor-0 { + cpus =3D <&CPU0 &CPU1 &CPU2 &CPU3 &CPU4 &CPU5 &CPU6 + &CPU7 &CPU8 &CPU9 &CPU10 &CPU11>; + qcom,ipm-ceil =3D <20000000>; + operating-points-v2 =3D <&memory1_monitor0_opp_table>; + + memory1_monitor0_opp_table: opp-table { + compatible =3D "operating-points-v2"; + + opp-999000000 { + opp-hz =3D /bits/ 64 <999000000 300000000>; + }; + + opp-1440000000 { + opp-hz =3D /bits/ 64 <1440000000 466000000>; + }; + + opp-1671000000 { + opp-hz =3D /bits/ 64 <1671000000 600000000>; + }; + + opp-2189000000 { + opp-hz =3D /bits/ 64 <2189000000 806000000>; + }; + + opp-2516000000 { + opp-hz =3D /bits/ 64 <2516000000 933000000>; + }; + + opp-3860000000 { + opp-hz =3D /bits/ 64 <3860000000 1066000000>; + }; + }; + }; + }; + + memory-2 { + qcom,memory-type =3D ; + freq-table-hz =3D /bits/ 64 ; + + monitor-0 { + qcom,ipm-ceil =3D <20000000>; + cpus =3D <&CPU0 &CPU1 &CPU2 &CPU3 &CPU4 &CPU5 &CPU6 + &CPU7 &CPU8 &CPU9 &CPU10 &CPU11>; + operating-points-v2 =3D <&memory2_monitor0_opp_table>; + + memory2_monitor0_opp_table: opp-table { + compatible =3D "operating-points-v2"; + + opp-2189000000 { + opp-hz =3D /bits/ 64 <2189000000>; + opp-level =3D ; + }; + + opp-3860000000 { + opp-hz =3D /bits/ 64 <3860000000>; + opp-level =3D ; + }; + }; + }; + }; + }; }; }; =20 --=20 2.34.1