Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1309909lqj; Mon, 3 Jun 2024 18:14:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHxjiZbba8sXhEOY28ZgFT7X7o6fYBGQf91a6ub1WtdVBSu67NpAavTIVIy1sfACFdR7dBDns1Jf8Gwi340Dx9FxqAQ8oMy/pCjJfEcA== X-Google-Smtp-Source: AGHT+IEH957I8Oy1VNg/z4qnCr5JYU/AheHgn5IDYHn4VesChTsdeBUKHwHcme4SR8OvZckg4d5j X-Received: by 2002:a05:6214:3203:b0:6af:41c0:f23b with SMTP id 6a1803df08f44-6af41c0f312mr87921686d6.17.1717463656786; Mon, 03 Jun 2024 18:14:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717463656; cv=pass; d=google.com; s=arc-20160816; b=sUDUc7cZ5X7vBrMeg+WbpD7bzyuO3qnZxq9Gvd9cpp1+cZTVlkjthXWJ/cz9l1y6VG uVe+IQJMSIuDtenwXTOZqH/m0wfIkM/xT1ig4pyFKfsRYz+OlRxGWL1Sf2FuIhWRQ24o QmZ9Zi1nUCPzf8M6IYLipHTTcF+QJR1qIj71OXn9TLpMglVCUsiJZzp8vJVoR4x+mHEm 3HwOZaeSCMh0CuI85oDoeJ7kavImwEJ2Rm0jzqlw9qLxQHB8EJCXYjsoNAnfXUybn0Yk MhqJmWnajkw2NHw/NsgbpqgRybiPts3sSVbzhe85vyNutXbTUEo2g6FPrhXSNfxpIt11 DZsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=F/W4lDdY6X2lh6aTgZSzx4PYPpK0djVRNtFVTL8YCPk=; fh=Uu9ZDwg+MtVyZgAp/Y+whyRK27A4LJoOQCDTGYmYyQo=; b=wggZpfPx8y1dYTZRXteivNvgM9LPLxwgQE/BiRtxQHNfjFSyyvmRR3F8HXqWopiG1u htaQ+dYRk9RBRnjYc/YExXplhvHKv1XEp8md+5bWLTALScO3lGxhYQbQQMD7LU4iShdD CVhx0c7KwarmBSrT3Umu9lHeVUZjaq3wqSM1ozOgPLpeWP486laOFVywPkBsckWqufAt rHIPcm0yuBiP+cbpIr1JXUpRHYrJZX2m3mXZnzSIg2BW4PzqmuPOhi9eAkmO4NMH8Axh zqF+x+01fZNY76ys4cSMDDfvWHBk7G0oYNB1gSo38/yJ4M/DZ4CYLMGWou+ZAAT54lT/ nQNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=acMR1Poc; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-199895-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199895-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4a732cbbsi94840176d6.21.2024.06.03.18.14.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 18:14:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199895-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=acMR1Poc; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-199895-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199895-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 73E1D1C2346E for ; Tue, 4 Jun 2024 01:14:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ACD761A269; Tue, 4 Jun 2024 01:13:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="acMR1Poc" 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 4AC6B18EAF; Tue, 4 Jun 2024 01:13:28 +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=1717463609; cv=none; b=YT9d3OUlDuDMC7wuPHjbQqExZy5z7pgiJFnl6p8N63D83dmGEkLSJQxOUDSNVGq23Cbj3J9MRTzY6PKMuDJQNe73ILtR6Q7F0HOYd/rYqVLcX6QIsEVeolCBAM0EsaGMKauGdQxp4+2veAqiaaxHlUP6e4yMWQhY3IV2nU1zjq0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717463609; c=relaxed/simple; bh=0MJjx4QjT0jX2wWToiHvtIu7YcmjnzcYZNMa19A0KSM=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nY+Nz3nCdSWvTBIsnN8iWoK3iOvsBMDxQStMMSOhPTvbQgp6XP6pa8CbR0HD5jxfk3IJJydRJRPJR6yqww0Y7X/k1BxUBPJs2dea0shIZ9BQVEKiFhqsM4z85NE7BVXbl2/PqmZMoZAqaTgzwnW2OHSJBXQ+d9vvCuFPJu0Hc1o= 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=acMR1Poc; 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 Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 453D265n031534; Tue, 4 Jun 2024 01:13:24 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= F/W4lDdY6X2lh6aTgZSzx4PYPpK0djVRNtFVTL8YCPk=; b=acMR1Pocd4kZPoD9 2cZgrPP7NE8YFVJAiXnL+fWo2Q3+iPXUrTxS7+So4+aLITsEBmzVtXsMZ+1RGjiV MREXIKZ78udnQfhNULdZ+QHXwwDkyMwUdc3mGagINDlPoXoz6uz2H3HJpEyW5pIw 4IwDF+Xa6cvh2WVWnCTrjz5LOop6vnymoFZwLlLjfQxLQh6jxAKvh3hN+uUgELSA wSFmutZiiogT39pNJv+0f14nkV06r0J2ppA6qhs/60D3GYfmJBMKqsX9g+AY90uK EuuJm/5cZKf9OdaklVOc0QXenAfeZJTAdNZ9u60Gn/ZKCRnL/9lpwfiZhA95mvLl VE3CaQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw4bdcuw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Jun 2024 01:13:24 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4541DNhf023372 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 4 Jun 2024 01:13:23 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; Mon, 3 Jun 2024 18:13:18 -0700 From: Sibi Sankar To: , , , , , CC: , , , , , , , , , Subject: [PATCH 3/4] arm64: dts: qcom: x1e80100: Add BWMONs Date: Tue, 4 Jun 2024 06:41:56 +0530 Message-ID: <20240604011157.2358019-4-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240604011157.2358019-1-quic_sibis@quicinc.com> References: <20240604011157.2358019-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: 8bit Content-Type: text/plain 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: 18uscrXsqX-CN_9yCd2j9tn6Djfb0JcD X-Proofpoint-GUID: 18uscrXsqX-CN_9yCd2j9tn6Djfb0JcD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-03_17,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 phishscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=823 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406040008 Add the CPU and LLCC BWMONs on X1E80100 SoCs. Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 169 +++++++++++++++++++++++++ 1 file changed, 169 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index 1929c34ae70a..d86c4d3be126 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -5329,6 +5329,175 @@ cpu_scp_lpri1: scp-sram-section@200 { }; }; + pmu@24091000 { + compatible = "qcom,x1e80100-llcc-bwmon", "qcom,sc7280-llcc-bwmon"; + reg = <0 0x24091000 0 0x1000>; + + interrupts = ; + + interconnects = <&mc_virt MASTER_LLCC 3 &mc_virt SLAVE_EBI1 3>; + + operating-points-v2 = <&llcc_bwmon_opp_table>; + + llcc_bwmon_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-0 { + opp-peak-kBps = <800000>; + }; + + opp-1 { + opp-peak-kBps = <2188000>; + }; + + opp-2 { + opp-peak-kBps = <3072000>; + }; + + opp-3 { + opp-peak-kBps = <6220800>; + }; + + opp-4 { + opp-peak-kBps = <6835200>; + }; + + opp-5 { + opp-peak-kBps = <8371200>; + }; + + opp-6 { + opp-peak-kBps = <10944000>; + }; + + opp-7 { + opp-peak-kBps = <12748800>; + }; + + opp-8 { + opp-peak-kBps = <14745600>; + }; + + opp-9 { + opp-peak-kBps = <16896000>; + }; + }; + }; + + pmu@240b3400 { + compatible = "qcom,x1e80100-cpu-bwmon", "qcom,sdm845-bwmon"; + reg = <0 0x240b3400 0 0x600>; + + interrupts = ; + + interconnects = <&gem_noc MASTER_APPSS_PROC 3 &gem_noc SLAVE_LLCC 3>; + operating-points-v2 = <&cpu0_bwmon_opp_table>; + + cpu0_bwmon_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-1 { + opp-peak-kBps = <4800000>; + }; + + opp-2 { + opp-peak-kBps = <7464000>; + }; + + opp-3 { + opp-peak-kBps = <9600000>; + }; + + opp-4 { + opp-peak-kBps = <12896000>; + }; + + opp-5 { + opp-peak-kBps = <14928000>; + }; + + opp-6 { + opp-peak-kBps = <17064000>; + }; + }; + }; + + pmu@240b5400 { + compatible = "qcom,x1e80100-cpu-bwmon", "qcom,sdm845-bwmon"; + reg = <0 0x240b5400 0 0x600>; + + interrupts = ; + + interconnects = <&gem_noc MASTER_APPSS_PROC 3 &gem_noc SLAVE_LLCC 3>; + operating-points-v2 = <&cpu8_bwmon_opp_table>; + + cpu8_bwmon_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-1 { + opp-peak-kBps = <4800000>; + }; + + opp-2 { + opp-peak-kBps = <7464000>; + }; + + opp-3 { + opp-peak-kBps = <9600000>; + }; + + opp-4 { + opp-peak-kBps = <12896000>; + }; + + opp-5 { + opp-peak-kBps = <14928000>; + }; + + opp-6 { + opp-peak-kBps = <17064000>; + }; + }; + }; + + pmu@240b6400 { + compatible = "qcom,x1e80100-cpu-bwmon", "qcom,sdm845-bwmon"; + reg = <0 0x240b6400 0 0x600>; + + interrupts = ; + + interconnects = <&gem_noc MASTER_APPSS_PROC 3 &gem_noc SLAVE_LLCC 3>; + operating-points-v2 = <&cpu4_bwmon_opp_table>; + + cpu4_bwmon_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-1 { + opp-peak-kBps = <4800000>; + }; + + opp-2 { + opp-peak-kBps = <7464000>; + }; + + opp-3 { + opp-peak-kBps = <9600000>; + }; + + opp-4 { + opp-peak-kBps = <12896000>; + }; + + opp-5 { + opp-peak-kBps = <14928000>; + }; + + opp-6 { + opp-peak-kBps = <17064000>; + }; + }; + }; + system-cache-controller@25000000 { compatible = "qcom,x1e80100-llcc"; reg = <0 0x25000000 0 0x200000>, -- 2.34.1