From nobody Thu Apr 2 10:57:46 2026 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 EDB993CF687 for ; Wed, 11 Mar 2026 10:36:18 +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=1773225380; cv=none; b=cAfN0OINHA4tW1b6HLmkdjdL3QzZUYn7yO1Nrjokw++AUrKSy+MK0G3DvUXSw4M6k/X0alzo4OAqIGmsvRm2Jq1OJVLNTo0A7WIy+asQK4c174vN8A8Y0+Zrqe+9/jB0kjsTPKHXt5osmtmzPqvL21OASwmQBAtEsXg4szrrV7E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773225380; c=relaxed/simple; bh=tGrNcd0y7CJU+ZVI9UlHtCqY+NuYNkZ+5bmlpSwapVk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=l8KKKl6RORFXJTQLxw/qzFVVWwtm4bIm6A+aeLB/Sf2pHkbglIbjjGC4jg52R79x2mqW8aQ6QUtXXjJ8Fyml7fj16xT5wyEc+Qq8ajHgBrdl4XJHG5LTeuPR1SQjv914NCx95nLVO0i9LA6SB8SWeOAWX/PQvjvSXtdEapcY9c0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=C6Bc56+J; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=BuaNScj2; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="C6Bc56+J"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="BuaNScj2" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62B7ZZ1u508366 for ; Wed, 11 Mar 2026 10:36:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=XnF+hwK6IN3 lQvtKkrLMTEvYuvQLMpmBOoiGY5dThRg=; b=C6Bc56+J53g9Dc1aHU2aflWeLhl 6wqlAl8gxRxOdHeHzWQMWIKl1CKci29UowrmXV92cc2xA9Uah2gDOUOtesSLXTyn MjwHw+fmi6Psjq4adVe4xW3dzUoLrF5R3TBE3jTudI65xbTGkL0Wp4FiuW91GlOm YtiouPlw/uGWbLwSPAbNGspGvlZTf5spXXuMavjn+zD7o3G72uVZufNpZ4Cqj4bU XPq7091+cHdaXaRPrcPdsZamPDUI4jyQ+3lSoSOz91dGW7v7z0IJdDb5RVJSBFMG naCQm+kmx7IiX63F95Y0oB4p95OsSRZ7qqd4VlfbnRGUo58mtdOcsgCA96Q== Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ctppakeum-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 11 Mar 2026 10:36:17 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2ae57228f64so103563485ad.0 for ; Wed, 11 Mar 2026 03:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1773225377; x=1773830177; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XnF+hwK6IN3lQvtKkrLMTEvYuvQLMpmBOoiGY5dThRg=; b=BuaNScj2fEkyo7j6J43gMqmg/fhWJyAqet7cUIxdnAtqKSt8EgkNE5KbofCucRYlaq GgVJXYl8r17NzYamkuzhCzx3daLh/svERFaCUlC7iG/TqhseFJfnV2twy+ALgNd60Ln+ gMJOf3UyvIr/MwcxhNPQBx+FGzEku8hh8/IIgnUexjDVlV7hgg5byNE+O3BWOH+X+rN7 Nqvroyn3r2nCJ5XEXTecZsY//ChS5WZrxNopy+1zdRdEvq9zlAS+YvWJmTQ0er390g+x tfYgal9rDdMB/Cxypcf2PB3kscUS0G1HdVfsbv5M4XvoF3PskN4ibpDsLt38VpYc8chk f5Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773225377; x=1773830177; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=XnF+hwK6IN3lQvtKkrLMTEvYuvQLMpmBOoiGY5dThRg=; b=kOhAEG9gF+T4b35npEbNYYUQgKnP/V/g5+XClpQwKZRtrAyCGEhy0o8g2doB4o/qET YnuPGetRmSe/qNtnII8wNIutn4ByWnOgYPJB2rIh5ZKXcNSlmCMdkm2/sQVcjaWy/FYJ 614qJvh++2EclTR0Lahje9FlM0wdyx31l2QYVG246pJoakP+jGSGhSAkZ39tc+uZFfUI DBqVrYVIpd6S+HSS4/VGzpk8QUJjcfImAgkv+ia2/req/J/UyqeaC7zshoTfB/IJOQsY UyaP5m8EFsf8cFHqsvD5IGCsWmPJoRbDn+aFyLnscEK++dtxSuGDM+OXI5Ptgket0ReX Iu+A== X-Forwarded-Encrypted: i=1; AJvYcCX3aLgMEYBv7K5MF0XEbZNZYJyn1yNzc5xB1Lu9Me1pG/q2baOwj3BZkGSJ966GFhjwt9s0pBDuAWS6VY8=@vger.kernel.org X-Gm-Message-State: AOJu0YxUGbRnciKOR75OqB8H6kZiZu1AThcc58N+JyGSyND+f2a63Tm7 oW8Fds0soqlEfiitFCKd1IfaRbAGTcTQwOCd4P40hJrdwpC8x8dwY6sKMdT/LAdSMW+m895yXTO p3YEAJa60/A1YYBaCrlQ0pzT+0cQzjdiuDth2ZjnEJ1WLhyidFWdNuTtsp2KWRay3xgc= X-Gm-Gg: ATEYQzw1/nSuHcXCQ+mawB1A0gVcXizCVYLiTOLRKmKk3a5PyiOwcZ/oJLUYVKGximn Ph7XaI1ZiCgL0yOJ4SdMuBuIyRZI/BGvGkAf8qSmGdxk65kTTAaOvgoUB4Ii63FaFQ/x7QvR+z3 vOHzv7J247fzpO/ZWcWUkoSTgtKWlP6DIX0dvsVJsYt8ETrnUf0zfYwWtmBdOk08QXIt6xhNuR+ 2KHAqYhsGBsLVetslxIirw5HfVjiiPBFYec2/puKy337e710UWLrHetA9kyasEGmqrC9YbGlV/Y GP16a7Ldw2NzP5X1lSRZasxXbmH5FSoKMYdmNB39KsGCUhVdzuGajhRXJIUrcwFKImY+65Y/cyp KypowlJG5MTuUwXnz17/ZgoP5eyQQfL80NRAPjuKDp5FeBx43MgBn+TU= X-Received: by 2002:a17:903:1249:b0:2ae:4fc8:3f5d with SMTP id d9443c01a7336-2aeae90b614mr21054535ad.48.1773225376885; Wed, 11 Mar 2026 03:36:16 -0700 (PDT) X-Received: by 2002:a17:903:1249:b0:2ae:4fc8:3f5d with SMTP id d9443c01a7336-2aeae90b614mr21054065ad.48.1773225376299; Wed, 11 Mar 2026 03:36:16 -0700 (PDT) Received: from hu-okukatla-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2aeae378a28sm21042925ad.88.2026.03.11.03.36.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2026 03:36:16 -0700 (PDT) From: Odelu Kukatla To: Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: Raviteja Laggyshetty , Odelu Kukatla , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Tipton Subject: [PATCH v3 1/3] dt-bindings: interconnect: qcom,qcs615-rpmh: add clocks property to enable QoS Date: Wed, 11 Mar 2026 16:05:46 +0530 Message-ID: <20260311103548.1823044-2-odelu.kukatla@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260311103548.1823044-1-odelu.kukatla@oss.qualcomm.com> References: <20260311103548.1823044-1-odelu.kukatla@oss.qualcomm.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-Proofpoint-GUID: w14ejhfAV5epoWbXpb8BRuTdrldNJpOw X-Authority-Analysis: v=2.4 cv=D7BK6/Rj c=1 sm=1 tr=0 ts=69b145a1 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8 a=ulcEZqAivlg-R9bOFCgA:9 a=1OuFwYUASf3TG4hYMiVC:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzExMDA4OCBTYWx0ZWRfX6Jrm1a1zf6f1 jqUlmOu/FKXkOpsobm4tuksc7ktf3/ZXZ/Ri6rr3OsEi0o21zgxE3X9UH2wWOh17vYURAZedE0U oelG7cuaMu3YMtl4DWzhqFSQMZnV9RQbMs1jcP4Qd1a5svd0LtQSmQUhFAWk7NRdbMhBUYYAVBq gfaHUkodEBMohh5AFPaYVkm8BtltrvI+UynOYGhTeyiIkZn/ZAbXDT/YKwq08qwaVL5gRfayxoW OVO2/0jW+WQfOShHtFzBcPwvx3Jl0uCUutJEHIQ9DSsqIolssK6XkRZzWHbvmUGu0bO0sUt2UDt S7/hD1fPP7bWe3EBipCiRc238+4v/qBjqxkg8HWXX7LO053Clk05zM94IwLdsqo74LBDOgFgY4o 1tkEe3nouUlBjX/s7ks5vkM91DCWuhzNhjBVait9mIYOGtxSNpngorkh6lNi3oG5bilOpGMhSXt joENziuMhv589nhNdow== X-Proofpoint-ORIG-GUID: w14ejhfAV5epoWbXpb8BRuTdrldNJpOw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-11_01,2026-03-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 impostorscore=0 spamscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 adultscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2603110088 Content-Type: text/plain; charset="utf-8" Aggre1-noc interconnect node on QCS615 has QoS registers located inside a block whose interface is clock-gated. Accessing these registers requires the corresponding clock(s) to be enabled. Update the bindings to include the 'clocks' property. Ensure that only aggre1-noc interconnect node uses this property by explicitly forbidding it for all other interconnect nodes. Signed-off-by: Odelu Kukatla Reviewed-by: Krzysztof Kozlowski --- .../interconnect/qcom,qcs615-rpmh.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,qcs615-rpm= h.yaml b/Documentation/devicetree/bindings/interconnect/qcom,qcs615-rpmh.ya= ml index e06404828824..ada0bf15845d 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,qcs615-rpmh.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,qcs615-rpmh.yaml @@ -34,6 +34,13 @@ properties: reg: maxItems: 1 =20 + clocks: + items: + - description: aggre UFS PHY AXI clock + - description: aggre USB2 SEC AXI clock + - description: aggre USB3 PRIM AXI clock + - description: RPMH CC IPA clock + required: - compatible =20 @@ -53,6 +60,22 @@ allOf: required: - reg =20 + - if: + properties: + compatible: + contains: + enum: + - qcom,qcs615-camnoc-virt + - qcom,qcs615-config-noc + - qcom,qcs615-dc-noc + - qcom,qcs615-gem-noc + - qcom,qcs615-mc-virt + - qcom,qcs615-mmss-noc + - qcom,qcs615-system-noc + then: + properties: + clocks: false + unevaluatedProperties: false =20 examples: @@ -69,3 +92,14 @@ examples: #interconnect-cells =3D <2>; qcom,bcm-voters =3D <&apps_bcm_voter>; }; + + aggre1_noc: interconnect@1700000 { + compatible =3D "qcom,qcs615-aggre1-noc"; + reg =3D <0x1700000 0x3f200>; + #interconnect-cells =3D <2>; + qcom,bcm-voters =3D <&apps_bcm_voter>; + clocks =3D <&gcc_aggre_ufs_phy_axi_clk>, + <&gcc_aggre_usb2_sec_axi_clk>, + <&gcc_aggre_usb3_prim_axi_clk>, + <&rpmhcc_rpmh_ipa_clk>; + }; --=20 2.43.0 From nobody Thu Apr 2 10:57:46 2026 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 307653CFF4B for ; Wed, 11 Mar 2026 10:36:23 +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=1773225387; cv=none; b=G3xBgnJC8jB+wa4aR9nCjTsxjKZIJXKEe2630+eIajrJfYodJHuHMa+22wremmJ0FZMdhGYcw6d7wYxUaYYIFZUOBngilf4YEmc2aGYMNkGgoVEluuo06gXVdKBLD2yKiNTW0Sk/jowNjRqJGZxZ9GCObhtLT4N8/58Y0/HDTZw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773225387; c=relaxed/simple; bh=B7tlSaRxoVzDVzgWIvLFZJvfgJWCbLmlyzh9k+uC7R4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=e2haPH7kbyKRh074W6JfjpxZF/wsYlLIrstNLPBDtc4RA0jcwVMrVDBtOmqfMvDY0WuLKhv4yuySmKiHre5/lp8DB1EMZ+9loqTVi3VCS+eYeEwvtiV1nK34JJR/Jzxjtj1fVXsh6D+scJwfxN9VOsPpBfiCSeI0yDDIeDVdQnM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=DuAoQE7H; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=JliXVUaA; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="DuAoQE7H"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="JliXVUaA" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62B8nWmg1572980 for ; Wed, 11 Mar 2026 10:36:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=LhcnCaZGEe3 cTjSbYgHfJXBp6F4JDXqmAu7e6xxYU4w=; b=DuAoQE7HtwYX60dR2CwA3HllVmf 2gyrDxIXOKmQcER8ADl4xIyPZJsy2CenXzysAbTRzYo/s66KdfQ63MLYAGYo8i43 fgIiNeYdPJneazlSqMPmXZ+8vDveE2gyiOb5TLUvtZ/jd6YPjDFcipT6AakRye9B lBLX2FPU4YUEL1EHftBRnMTqEmabTNV6YypTNsO4KoVsMqJXh+azqacKgxcBwhNZ mn73VmT+M5mI4A5YiBru8dA3N+dRE2cYODK5SfELbwGqX7gElXipowE3ve/syvBI rjCJ5OM4VHBHdgboGMNbvMNIfbC7h7wK5I8MM2yHRKZjh8PuAzAL2LjGhlg== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ctqgkb6qw-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 11 Mar 2026 10:36:22 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2ae65d5cc57so443111875ad.2 for ; Wed, 11 Mar 2026 03:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1773225382; x=1773830182; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LhcnCaZGEe3cTjSbYgHfJXBp6F4JDXqmAu7e6xxYU4w=; b=JliXVUaApgyzs8RvijjJdQEeVNjtBMNxEH8G8YboYrbCfWTxyn2spsVhbj6m+J+elD fQehko8q0174lquQUKD3KorVcY+fpnKTvY0V5lWk3QkWhWCdP89YYDSmdMI2eDy0cpOr yw9D2bVdm7qsQo9UyB0Wqhxhv/RbbbzRQu0i7SQ3d5IYC05vpeZ0vT8QlwrafkqPYcmk wahGgOjo3Z1uXLaEHSd53gcP38BGWksOXPGo1kQne72O8RPcWyPOIvUeysi7tLacrHRh TKn8ONfTQGeTubFL5/aApb+nORysHdUNSO53MKkIBGVKMHtQDAF2KXHKRrRS+SqJE3CQ zXwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773225382; x=1773830182; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=LhcnCaZGEe3cTjSbYgHfJXBp6F4JDXqmAu7e6xxYU4w=; b=XfsqEM9Eb+B1RrTHYvpnEGPYq+OaJ7C06M8LSCAfFUGes9a9SfsEM+Vf+kPTDrYI1y Ub8fiB9SwSEgHFeTZcsOTJlPDFR5Wb7EbManzls8w/sgywTwd1sfKuwDq+9s7aj09qDH yyPGj70zvx5/H6SCe4np2+ZlOmWAptatnQTiy9GXCXc5ta5VvxvYlzUcfQjx0nBDfbxS sY/O6/D4qQyT4tL5BIVGO1blnpldPpRW8PeqR6viGWpOaEMCnz78/dLr6sG4N6daG3qM qqyAkx4zQ0O0LSIWS8CLsr8QJpi1yrYULBYQ9PRmc+1rxRq3cWzqdiM3lu826DyZMTGm 88eQ== X-Forwarded-Encrypted: i=1; AJvYcCXvPOqEYhDUNknsxaCsWD9eVLqQA1HSJ6c/KFacV1uGFsK3ByZeCK8ipDO+KV8BgBtJ39DNEg+Bcp337+k=@vger.kernel.org X-Gm-Message-State: AOJu0YyPbk4y+9wDHbso/5jZkcN3M14xKmM3hVFliPUe25ERcDJ0G3vV EAE+DXdJsPcvxZbNe36PBTaB10lPv+gxgrq0IhtDN3c44gjD4jbv6bYEBLJdfl6e2WaYJ04OQIm UDgHLwsQEmhufR8zk4iiKWN1nIr65miA8YbQ/zhbqcVfJ/Y92hU+IIZfBEPd3rKaqDIc= X-Gm-Gg: ATEYQzwU6kRpIMHCmOPm8/I9mbWqJ6JFRi1H5ESh8CTq4+uT+krosExJX7ekp756Sc0 CuPdR271w7x7NjMDxVYYKXdunXKqKZuzSarutmyUNHHRlaG7TShKSkz3iZYUc35nI2YJ6MXpc4x nXk+c09ny9Fxew3nHuzOLc3ShY+wOVR1WyLPUk2bSu9Y3fZIKDyfc4nqq8voBOl5lCcMsw/IICx qsOCy/Zl31S45Mrmu+fXqakHa0fiFPiDuktuyih5bDv16Xd0nV6xA5bG4dE137t2v2dohXCTMAG 3NOSRhmYyFgNhSRUQMT8wCCoaIkMHuWvvGjnLYiSw9IketLv9Nkx364uLE4sXvt0rCXkZ2xD9H0 ne/R22TeeSwDSqcY5WIrtSnLFWgoCgDkmCrekyABP8+YO24ea92AF824= X-Received: by 2002:a17:902:f54e:b0:2ae:5eee:7c2 with SMTP id d9443c01a7336-2aeae76fd1bmr21408675ad.4.1773225381824; Wed, 11 Mar 2026 03:36:21 -0700 (PDT) X-Received: by 2002:a17:902:f54e:b0:2ae:5eee:7c2 with SMTP id d9443c01a7336-2aeae76fd1bmr21408435ad.4.1773225381278; Wed, 11 Mar 2026 03:36:21 -0700 (PDT) Received: from hu-okukatla-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2aeae378a28sm21042925ad.88.2026.03.11.03.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2026 03:36:20 -0700 (PDT) From: Odelu Kukatla To: Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: Raviteja Laggyshetty , Odelu Kukatla , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Tipton Subject: [PATCH v3 2/3] interconnect: qcom: qcs615: enable QoS configuration Date: Wed, 11 Mar 2026 16:05:47 +0530 Message-ID: <20260311103548.1823044-3-odelu.kukatla@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260311103548.1823044-1-odelu.kukatla@oss.qualcomm.com> References: <20260311103548.1823044-1-odelu.kukatla@oss.qualcomm.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-Proofpoint-GUID: pqN2g8q5z9p5ArItOP8f3sSvYRY8bhak X-Proofpoint-ORIG-GUID: pqN2g8q5z9p5ArItOP8f3sSvYRY8bhak X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzExMDA4OCBTYWx0ZWRfX/cYdlZVDEFsz gqLljK4T3w4gb0F0cP7T1PeEtc+BmCgCRuQH33K+ynL9CrsHX8suUaqGkRcu8EINrmH0Tpi58m8 1OHGBLuPjqPBONj1X6AJllyq2zs4W/KIERdCiV7y9VdzIMzNUARTVE6MicV/+2eXRJ+KdWdgCfj zC7qw7sKzy3TaJ/dGxJrWqGshX4ijR2fFOUBus7UXYzd0nWBGVce3eoM7TrNIT2lMstCzxah+WX 41u7DVZysYIOFIVBR0QEU2aaqrzmtpiB3vCQGyvxe9O/e657ftX2p8Uvmbkqkg6xQOQOYYqhCbw O8sQ8w6e72pDqWrPfVVVAe3FVUMGxWiRxuzGksHV/50QW2/UZhIhNJAhsvs6xY4pNSHvGrU+S7k +vbrX8iWmlI4rtsBZ4wLu8qq2wUbbAjQXak2zWCyj2iVKUu4GMtZOten/0EUmnqsYPO3w5ITXy3 4/b16X5pdZzZGw04Zzw== X-Authority-Analysis: v=2.4 cv=M4JA6iws c=1 sm=1 tr=0 ts=69b145a7 cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8 a=_F59LTAU7XM1lwoZ_igA:9 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-11_01,2026-03-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 adultscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 spamscore=0 suspectscore=0 bulkscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2603110088 Content-Type: text/plain; charset="utf-8" Enable QoS configuration for master ports with predefined priority and urgency forwarding. Signed-off-by: Odelu Kukatla Reviewed-by: Konrad Dybcio --- drivers/interconnect/qcom/qcs615.c | 247 +++++++++++++++++++++++++++++ 1 file changed, 247 insertions(+) diff --git a/drivers/interconnect/qcom/qcs615.c b/drivers/interconnect/qcom= /qcs615.c index 797956eb6ff5..017a6017421f 100644 --- a/drivers/interconnect/qcom/qcs615.c +++ b/drivers/interconnect/qcom/qcs615.c @@ -142,6 +142,12 @@ static struct qcom_icc_node qhm_qdss_bam =3D { .name =3D "qhm_qdss_bam", .channels =3D 1, .buswidth =3D 4, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xc000 }, + .prio =3D 2, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -150,6 +156,12 @@ static struct qcom_icc_node qhm_qspi =3D { .name =3D "qhm_qspi", .channels =3D 1, .buswidth =3D 4, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x17000 }, + .prio =3D 2, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -158,6 +170,12 @@ static struct qcom_icc_node qhm_qup0 =3D { .name =3D "qhm_qup0", .channels =3D 1, .buswidth =3D 4, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x10000 }, + .prio =3D 2, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -166,6 +184,12 @@ static struct qcom_icc_node qhm_qup1 =3D { .name =3D "qhm_qup1", .channels =3D 1, .buswidth =3D 4, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x12000 }, + .prio =3D 2, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -174,6 +198,12 @@ static struct qcom_icc_node qnm_cnoc =3D { .name =3D "qnm_cnoc", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x4000 }, + .prio =3D 2, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -182,6 +212,12 @@ static struct qcom_icc_node qxm_crypto =3D { .name =3D "qxm_crypto", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x5000 }, + .prio =3D 2, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -190,6 +226,12 @@ static struct qcom_icc_node qxm_ipa =3D { .name =3D "qxm_ipa", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x6000 }, + .prio =3D 2, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns_lpass_snoc }, }; @@ -198,6 +240,12 @@ static struct qcom_icc_node xm_emac_avb =3D { .name =3D "xm_emac_avb", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xa000 }, + .prio =3D 2, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -206,6 +254,12 @@ static struct qcom_icc_node xm_pcie =3D { .name =3D "xm_pcie", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x13000 }, + .prio =3D 0, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_pcie_snoc }, }; @@ -214,6 +268,12 @@ static struct qcom_icc_node xm_qdss_etr =3D { .name =3D "xm_qdss_etr", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xb000 }, + .prio =3D 2, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -222,6 +282,12 @@ static struct qcom_icc_node xm_sdc1 =3D { .name =3D "xm_sdc1", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xe000 }, + .prio =3D 2, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -230,6 +296,12 @@ static struct qcom_icc_node xm_sdc2 =3D { .name =3D "xm_sdc2", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x16000 }, + .prio =3D 2, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -238,6 +310,12 @@ static struct qcom_icc_node xm_ufs_mem =3D { .name =3D "xm_ufs_mem", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x11000 }, + .prio =3D 2, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -246,6 +324,12 @@ static struct qcom_icc_node xm_usb2 =3D { .name =3D "xm_usb2", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x15000 }, + .prio =3D 2, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -254,6 +338,12 @@ static struct qcom_icc_node xm_usb3_0 =3D { .name =3D "xm_usb3_0", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xd000 }, + .prio =3D 2, + .urg_fwd =3D 0, + }, .num_links =3D 1, .link_nodes =3D { &qns_a1noc_snoc }, }; @@ -356,6 +446,12 @@ static struct qcom_icc_node acm_apps =3D { .name =3D "acm_apps", .channels =3D 1, .buswidth =3D 16, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 2, + .port_offsets =3D { 0x2e000, 0x2e100 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 3, .link_nodes =3D { &qns_gem_noc_snoc, &qns_llcc, &qns_sys_pcie }, @@ -365,6 +461,12 @@ static struct qcom_icc_node acm_gpu_tcu =3D { .name =3D "acm_gpu_tcu", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x36000 }, + .prio =3D 6, + .urg_fwd =3D 0, + }, .num_links =3D 2, .link_nodes =3D { &qns_gem_noc_snoc, &qns_llcc }, }; @@ -373,6 +475,12 @@ static struct qcom_icc_node acm_sys_tcu =3D { .name =3D "acm_sys_tcu", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x37000 }, + .prio =3D 6, + .urg_fwd =3D 0, + }, .num_links =3D 2, .link_nodes =3D { &qns_gem_noc_snoc, &qns_llcc }, }; @@ -389,6 +497,12 @@ static struct qcom_icc_node qnm_gpu =3D { .name =3D "qnm_gpu", .channels =3D 2, .buswidth =3D 32, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 2, + .port_offsets =3D { 0x34000, 0x34080 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 2, .link_nodes =3D { &qns_gem_noc_snoc, &qns_llcc }, }; @@ -397,6 +511,12 @@ static struct qcom_icc_node qnm_mnoc_hf =3D { .name =3D "qnm_mnoc_hf", .channels =3D 1, .buswidth =3D 32, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x2f000 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns_llcc }, }; @@ -405,6 +525,12 @@ static struct qcom_icc_node qnm_mnoc_sf =3D { .name =3D "qnm_mnoc_sf", .channels =3D 1, .buswidth =3D 32, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x35000 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 2, .link_nodes =3D { &qns_gem_noc_snoc, &qns_llcc }, }; @@ -413,6 +539,12 @@ static struct qcom_icc_node qnm_snoc_gc =3D { .name =3D "qnm_snoc_gc", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x31000 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns_llcc }, }; @@ -421,6 +553,12 @@ static struct qcom_icc_node qnm_snoc_sf =3D { .name =3D "qnm_snoc_sf", .channels =3D 1, .buswidth =3D 16, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x30000 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns_llcc }, }; @@ -445,6 +583,12 @@ static struct qcom_icc_node qxm_camnoc_hf0 =3D { .name =3D "qxm_camnoc_hf0", .channels =3D 1, .buswidth =3D 32, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xa000 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns_mem_noc_hf }, }; @@ -453,6 +597,12 @@ static struct qcom_icc_node qxm_camnoc_hf1 =3D { .name =3D "qxm_camnoc_hf1", .channels =3D 1, .buswidth =3D 32, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xb000 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns_mem_noc_hf }, }; @@ -461,6 +611,12 @@ static struct qcom_icc_node qxm_camnoc_sf =3D { .name =3D "qxm_camnoc_sf", .channels =3D 1, .buswidth =3D 32, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x9000 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns2_mem_noc }, }; @@ -469,6 +625,12 @@ static struct qcom_icc_node qxm_mdp0 =3D { .name =3D "qxm_mdp0", .channels =3D 1, .buswidth =3D 32, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xc000 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns_mem_noc_hf }, }; @@ -477,6 +639,12 @@ static struct qcom_icc_node qxm_rot =3D { .name =3D "qxm_rot", .channels =3D 1, .buswidth =3D 32, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xe000 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns2_mem_noc }, }; @@ -485,6 +653,12 @@ static struct qcom_icc_node qxm_venus0 =3D { .name =3D "qxm_venus0", .channels =3D 1, .buswidth =3D 32, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xf000 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns2_mem_noc }, }; @@ -493,6 +667,12 @@ static struct qcom_icc_node qxm_venus_arm9 =3D { .name =3D "qxm_venus_arm9", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0x11000 }, + .prio =3D 0, + .urg_fwd =3D 1, + }, .num_links =3D 1, .link_nodes =3D { &qns2_mem_noc }, }; @@ -559,6 +739,12 @@ static struct qcom_icc_node qxm_pimem =3D { .name =3D "qxm_pimem", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xc000 }, + .prio =3D 2, + .urg_fwd =3D 1, + }, .num_links =3D 2, .link_nodes =3D { &qns_memnoc_gc, &qxs_imem }, }; @@ -567,6 +753,12 @@ static struct qcom_icc_node xm_gic =3D { .name =3D "xm_gic", .channels =3D 1, .buswidth =3D 8, + .qosbox =3D &(const struct qcom_icc_qosbox) { + .num_ports =3D 1, + .port_offsets =3D { 0xd000 }, + .prio =3D 2, + .urg_fwd =3D 1, + }, .num_links =3D 2, .link_nodes =3D { &qns_memnoc_gc, &qxs_imem }, }; @@ -1213,11 +1405,21 @@ static struct qcom_icc_node * const aggre1_noc_node= s[] =3D { [SLAVE_SERVICE_A2NOC] =3D &srvc_aggre2_noc, }; =20 +static const struct regmap_config qcs615_aggre1_noc_regmap_config =3D { + .reg_bits =3D 32, + .reg_stride =3D 4, + .val_bits =3D 32, + .max_register =3D 0x3f200, + .fast_io =3D true, +}; + static const struct qcom_icc_desc qcs615_aggre1_noc =3D { + .config =3D &qcs615_aggre1_noc_regmap_config, .nodes =3D aggre1_noc_nodes, .num_nodes =3D ARRAY_SIZE(aggre1_noc_nodes), .bcms =3D aggre1_noc_bcms, .num_bcms =3D ARRAY_SIZE(aggre1_noc_bcms), + .qos_requires_clocks =3D true, }; =20 static struct qcom_icc_bcm * const camnoc_virt_bcms[] =3D { @@ -1289,7 +1491,16 @@ static struct qcom_icc_node * const config_noc_nodes= [] =3D { [SLAVE_SERVICE_CNOC] =3D &srvc_cnoc, }; =20 +static const struct regmap_config qcs615_config_noc_regmap_config =3D { + .reg_bits =3D 32, + .reg_stride =3D 4, + .val_bits =3D 32, + .max_register =3D 0x5080, + .fast_io =3D true, +}; + static const struct qcom_icc_desc qcs615_config_noc =3D { + .config =3D &qcs615_config_noc_regmap_config, .nodes =3D config_noc_nodes, .num_nodes =3D ARRAY_SIZE(config_noc_nodes), .bcms =3D config_noc_bcms, @@ -1302,7 +1513,16 @@ static struct qcom_icc_node * const dc_noc_nodes[] = =3D { [SLAVE_LLCC_CFG] =3D &qhs_llcc, }; =20 +static const struct regmap_config qcs615_dc_noc_regmap_config =3D { + .reg_bits =3D 32, + .reg_stride =3D 4, + .val_bits =3D 32, + .max_register =3D 0x3200, + .fast_io =3D true, +}; + static const struct qcom_icc_desc qcs615_dc_noc =3D { + .config =3D &qcs615_dc_noc_regmap_config, .nodes =3D dc_noc_nodes, .num_nodes =3D ARRAY_SIZE(dc_noc_nodes), }; @@ -1331,7 +1551,16 @@ static struct qcom_icc_node * const gem_noc_nodes[] = =3D { [SLAVE_SERVICE_GEM_NOC] =3D &srvc_gemnoc, }; =20 +static const struct regmap_config qcs615_gem_noc_regmap_config =3D { + .reg_bits =3D 32, + .reg_stride =3D 4, + .val_bits =3D 32, + .max_register =3D 0x3e200, + .fast_io =3D true, +}; + static const struct qcom_icc_desc qcs615_gem_noc =3D { + .config =3D &qcs615_gem_noc_regmap_config, .nodes =3D gem_noc_nodes, .num_nodes =3D ARRAY_SIZE(gem_noc_nodes), .bcms =3D gem_noc_bcms, @@ -1376,7 +1605,16 @@ static struct qcom_icc_node * const mmss_noc_nodes[]= =3D { [SLAVE_SERVICE_MNOC] =3D &srvc_mnoc, }; =20 +static const struct regmap_config qcs615_mmss_noc_regmap_config =3D { + .reg_bits =3D 32, + .reg_stride =3D 4, + .val_bits =3D 32, + .max_register =3D 0x1c100, + .fast_io =3D true, +}; + static const struct qcom_icc_desc qcs615_mmss_noc =3D { + .config =3D &qcs615_mmss_noc_regmap_config, .nodes =3D mmss_noc_nodes, .num_nodes =3D ARRAY_SIZE(mmss_noc_nodes), .bcms =3D mmss_noc_bcms, @@ -1418,7 +1656,16 @@ static struct qcom_icc_node * const system_noc_nodes= [] =3D { [SLAVE_TCU] =3D &xs_sys_tcu_cfg, }; =20 +static const struct regmap_config qcs615_system_noc_regmap_config =3D { + .reg_bits =3D 32, + .reg_stride =3D 4, + .val_bits =3D 32, + .max_register =3D 0x1f300, + .fast_io =3D true, +}; + static const struct qcom_icc_desc qcs615_system_noc =3D { + .config =3D &qcs615_system_noc_regmap_config, .nodes =3D system_noc_nodes, .num_nodes =3D ARRAY_SIZE(system_noc_nodes), .bcms =3D system_noc_bcms, --=20 2.43.0 From nobody Thu Apr 2 10:57:46 2026 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 0F5F33D091C for ; Wed, 11 Mar 2026 10:36:27 +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=1773225390; cv=none; b=lxCyWCbfzhaK80GzUtf4rWZhukMeFmZbkwZVqujRxmA8EIAwlhWfa/32UZij1mpPwi6Rz2OXnZl7qXYk7X3YHC4YiKv2hW91XB7dAzbIHnaBK5JATogonMnUfEPQ0Ocw1OTTCaF8wOACLpYJ6yO/pS5MgTtWsX5YP/N+sHxmiQY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773225390; c=relaxed/simple; bh=kxZo7ioQhvtoHjeZPVYY3GMaH9CaQ1h9s3DRTXP5qow=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oFN7j8D9SsThLPGvVveZm2fBkhHWemybnQ++ezb13f0APyu6rbpIgEkgsKC6yOVOleWXY4lI3uHgLjyUz85lho+X9MA//pm5cHgj7xfBYivSw9B7H/dAkbJ8MSBkSoJj8Z2V/XMsOdAyxfQ+TAqiuqO9EIe/IZTV0h3QhdSoVKI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=H4h2wrrJ; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Baa7Zr8W; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="H4h2wrrJ"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Baa7Zr8W" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62B7QOG12031665 for ; Wed, 11 Mar 2026 10:36:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=HbZj9tv7s1K +qsnLUWbHvi8x21FiaRRcwrvvVvQVwKE=; b=H4h2wrrJSgSGdDWebATTwGoBugs Kpjh3zOo29TjEHhlxwhhslr7/QBVwCrCDxJuJ1kQVbf8VudB+u/wauVHodm06zcW 2u3VY8SA3UuXAZIcGp8vsnybLrApluh9QJJcesQtOVFynvhhWZjoU1EC9CkA7Zsp JE0uDXvFu3L017iK0fqY1V0OLaOa9hcVnoyKzqsTDQhHQUXgdI8qNta2xMqftlUb UjVzuVDrqv3tFZDVyfVqNkKAyqij6dHERcgta8MMLIZK5/RXJ158CmfjZbxx885Q M0s38x8/nnfkws4H4WsnUwpOl6xUoFaFqBV109Qdn4EjULKcLDCSjc48sOQ== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cu40h0ru8-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 11 Mar 2026 10:36:27 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2ae47b3adacso100084795ad.3 for ; Wed, 11 Mar 2026 03:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1773225387; x=1773830187; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HbZj9tv7s1K+qsnLUWbHvi8x21FiaRRcwrvvVvQVwKE=; b=Baa7Zr8WqQkpbcDatk2f0pMRMHT7AeslpYl5RTo0Iut5uHHIqk2a+YaQJJRUIKyowV Y/Itsc9sB5YhPycJAEWCA4AIIUseuKoC4JK0+wTtSZqk4AVP/yetiAPXIbuDgjDILVg2 9XVVxdN8Y7NO21YqMEeA1ORZII5S6ViUDKuwkeA+sgmmaBGBxczeNuJpN769MN0urLCh NOyCQVHq2iPvdIkOkAHgsWXn4qWeKtRv1J8FuRyerz6MjXybzI1e4xo3/ueXaJBnFBxI vgsqNhHeInC2LvWcvwNd3MOjyczcc5e0J4Px+skMO3LlEN7m/GvkHYcM1jRnCrvjRXC4 KouA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773225387; x=1773830187; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=HbZj9tv7s1K+qsnLUWbHvi8x21FiaRRcwrvvVvQVwKE=; b=EIJMw0dGrzhH3iTlyBbk31KTCsUPbkqxGItHLID/c36Wgv1lT8zpnq+4xyhgjD38jZ u4uBmiAU41/vGGHflCJ+4aXdw78GFqiIpUr5WVqEquEUZhmFAZyjcsPJ6JyLqBxeUQOa QVmlgLfKH/HEwfW/0mT+NfW3olUQw8NIOq0ZjGtpDGtqQJbiRO6PWeGBCZsklWrRsydP bj/YkwSCCWISdL8Y0fZ9Z3qRNBox1Gv+F29atNYHiJxDzMWeuxnnjuyGkFrxi3Ncms+q bRpOsYByGj7CVDCiq/0v08EVr8z7+5zIfna4c+sR5PK21qTCFd5yef7NFpBnIGJzTG2g 464Q== X-Forwarded-Encrypted: i=1; AJvYcCWC/46tF/azTlrBEgpR3TaD46E9+/XHPMhoB5MZRBcAYukwLjfDBm2nQF7bgONeFLmYfG82/M/eoDZ4BJM=@vger.kernel.org X-Gm-Message-State: AOJu0YyMUHztr/c+SpTEj6dUkz3WI/srwMdNWmGJrwL/x7UISTw7JEqf NGZQP+iW8PkJvTsNXFEB5g9SocAOTGSDuvqm91thfUQiHFjjzUFANXjAv5pEPe5GL41TIk33mfH h8YiwLLBK0soG7AbNoPKhlrZj2y1M4t8UUP032vfQqHy0pH0zzZkcCNu8zHtfKjxjJNI= X-Gm-Gg: ATEYQzxmafXNTqCOInucNHAMExshGkfJBNRqJcnUIZXgK4KyQM+KtbfYQOFFnA4J4+l miO3yetZImenJ3EAdB/HxJV8ay8VYXIPT903XToeGBTPgPZ8ISAjzCR2TUyHDLa/oyPDMCgOqoD 1xPo/iYSexWS/4G/FXUbjGhohs9CaEgCkdDJX6YPwZZ9TvJDJbaAU+WkLzp1ZA8ZW70OavJ5n3F NiEnIIuMUH8LoiSH9CEkHIal8CNdsD8KXlkRlOmRsLNlDXkLlOzd8nO6iv170MZp0HBVr8/jjTI imOVgTZSbJA38Hxq3yvqe01SuAIE0hzyl9Qw+ZcWhcPUjYtsSOsG2kTNEBmTOylG8iUdZGv5C+N Y4lH2v2NysJkU2elQp1HlcdReu9DElCJ/3+dkwnn3KYkEfWcp5BZlb1k= X-Received: by 2002:a17:903:1a4d:b0:2ae:48e9:8c89 with SMTP id d9443c01a7336-2aeae8d244amr21270965ad.48.1773225386553; Wed, 11 Mar 2026 03:36:26 -0700 (PDT) X-Received: by 2002:a17:903:1a4d:b0:2ae:48e9:8c89 with SMTP id d9443c01a7336-2aeae8d244amr21270685ad.48.1773225386085; Wed, 11 Mar 2026 03:36:26 -0700 (PDT) Received: from hu-okukatla-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2aeae378a28sm21042925ad.88.2026.03.11.03.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2026 03:36:25 -0700 (PDT) From: Odelu Kukatla To: Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: Raviteja Laggyshetty , Odelu Kukatla , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Tipton Subject: [PATCH v3 3/3] arm64: dts: qcom: talos: Add clocks for QoS configuration Date: Wed, 11 Mar 2026 16:05:48 +0530 Message-ID: <20260311103548.1823044-4-odelu.kukatla@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260311103548.1823044-1-odelu.kukatla@oss.qualcomm.com> References: <20260311103548.1823044-1-odelu.kukatla@oss.qualcomm.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-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzExMDA4OCBTYWx0ZWRfX+XWxmrfEwaWE w+uKhaxUi/6nektMt1ewRYnK2wy+9uuJ2gHEhDsNQg6B+lhtWeG+thWGWU/2aIC6Qc9vog0ysyq L7xioEZyqHv7jw95ESzNVx7cBMWSqxSoin1xC5lmaAfcL+BOa3z/RqmdEX58I48r3Y3/4IozUgQ X+UabDyOyiuNThVuZyDdwkpBAKBMD8vnSZhmdKCqg56aK12C464czbBla3qZijotn7x50zNuin5 BWe+8wlqmfxnq+LsNJDW1X9NYhCBwdmTXtnvRoQ8yjeBeBm+BPivSsf4ubn5zFlqDj0y/lPelIP SozVPzChA3zUJA8fv2jjBE2fHUwKOcSWtO2BtY0wT41twl9ZOxIa5mRdbwcW8r1xtnYWxAIV7fs X//qTQA/phb21vtEPbkIamt9FGCf/yEcY7yYDGvXPpM6LO3JqaEfMqS68PiUpA7m24BsUlTOLZs 8tD25SHzdBLwqMMDxpA== X-Proofpoint-ORIG-GUID: jcoS0Fm1N0Om3ZTQNQ6V7AtztLG5IPwG X-Authority-Analysis: v=2.4 cv=YJ+SCBGx c=1 sm=1 tr=0 ts=69b145ab cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=7s_9-EB0MOrke_GCL94A:9 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-GUID: jcoS0Fm1N0Om3ZTQNQ6V7AtztLG5IPwG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-11_01,2026-03-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 spamscore=0 bulkscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2603110088 Content-Type: text/plain; charset="utf-8" Add clocks which need to be enabled for configuring QoS on talos SoC. Signed-off-by: Odelu Kukatla Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/talos.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom= /talos.dtsi index e0282a5f9a6a..73a7544d8283 100644 --- a/arch/arm64/boot/dts/qcom/talos.dtsi +++ b/arch/arm64/boot/dts/qcom/talos.dtsi @@ -1237,6 +1237,10 @@ aggre1_noc: interconnect@1700000 { compatible =3D "qcom,qcs615-aggre1-noc"; #interconnect-cells =3D <2>; qcom,bcm-voters =3D <&apps_bcm_voter>; + clocks =3D <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, + <&gcc GCC_AGGRE_USB2_SEC_AXI_CLK>, + <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, + <&rpmhcc RPMH_IPA_CLK>; }; =20 mmss_noc: interconnect@1740000 { --=20 2.43.0