From mboxrd@z Thu Jan 1 00:00:00 1970 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 CF4B5333448 for ; Tue, 27 Jan 2026 09:01:57 +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=1769504519; cv=none; b=PYlJ33RgT1IZsbQ8abeK57PKtOX9k9XEzL9NHEEk3b26Gp8fIctZI6kx8tTCfFUHm5q+ov3WQALl7T+RR13HKbFkRVoQTzV4uglDBUDHz16T1jcFf4n8wjaC9XYp0wy73sU1SynoAKz+/QUhk5iZhaEIh6gwp5ucD/QsKvbgcSw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769504519; c=relaxed/simple; bh=Oik/qwTKsOA6npTm0TkNDx86wTm/52/PPO9Xasj6gTY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Gyv92Yz3/wIzaAlLT1wa1PapagnWc94b+S9bGsh231y0GRr98h+lqY1bc8YPmT2fJmO8N17G6yhkspfPGn9eHQxOxkjwaKMrtfjQh6uKYeXiPOABV2/DPeOUu0TxtHNINtU2s9leiFNFceFKFWnANcGFoTUiMG20mkoPqqwkwnQ= 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=ltZ9Es4A; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=h/adpnTU; 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="ltZ9Es4A"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="h/adpnTU" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60R4UDMC3714705 for ; Tue, 27 Jan 2026 09:01:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= ITz6w/Q2w67Ducysc+bZG/olR38WeARfEZrkn5j4QzM=; b=ltZ9Es4AGHOwn0Dx BKzhQMERsyzO8iV+NG6a1o3O8h7UyMG+PsMJGaDo8Vkg2PenXk03Z6WsI05owVX1 Fasvclv3l6qyd30iwLWubjv8hC9jZxU4zY0lqrx19VXEJ1lqWUiQ/pOHiCPY5WOO 4WCuedSVtNiIVMjEEBakhbTQwr/D9Afmxb+Ort4ZLlbgaV5cydHjol2ksww3oZTx mvcXe/J3tbW6A4dCcZsj6z7MFq6OMT108WpKlH1062WOP4/kNMGawgCT4plK+TKI X+n+JMx//adIDq7tuX0o9p9oNa4J4DgZ1TXWAvymu859m1FjmR2UkP34mDY1NZcW oBlMyQ== Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bxdv0aash-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 27 Jan 2026 09:01:50 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-82181ef69ceso2552636b3a.2 for ; Tue, 27 Jan 2026 01:01:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769504510; x=1770109310; 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=ITz6w/Q2w67Ducysc+bZG/olR38WeARfEZrkn5j4QzM=; b=h/adpnTUUKY5cXD6CtlUbLu+3fDh9AfSvT4EsflaSTBsnrAsM7cdvfgfmELfzpxblD grl9NIpdzWIG2XZ85Eno0G/nyUIN2i0wQqcmn5I1WDwm1jBLX77eWwjIcb0pwklgJk0t 6NnnLZPAUUR+bmU1VbK8WgX92vS/wKKv8sba2aFXLt+ly7aXHii0n9WLwpHt5Lp76BR5 JXu4fADR2xXTseoaVLR3jh5+zI/eOO5XbzqrLFNGuaU1uNK8P6zERbwB+XFIiCasvN7m y1z3YZi9B56MRnlAGSoAm6yRFaGP/ABw/74Ls1qY/PKXiYk+gxRTiaKXpEZi0RZYLujk TWwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769504510; x=1770109310; 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=ITz6w/Q2w67Ducysc+bZG/olR38WeARfEZrkn5j4QzM=; b=iVj/QF3ZYUVCLIe9cLPyGpQrGoDM8A2N7nSzbJC0ybKTaefhHm4gLeXx/NXJc09iQD /2sxBpD6+mwH9toopu1DULLu+Koad52UmxCmGNX9RElc/dUU3Z7B/vBX6k+jM0MqAK7h V9odwtArKEFVmnL5P2JCu65MUuTg+E+S9uxcOYxIaToDGXQ8gzdlEXH4cMFCICnsmq1Y 5zAGNT+E2naAtZJ3etWLMZAyIYEy6nYTTPi11F4WWCWWTdiTot91FeQ0YdtRCIYGX4Xw qTeTXl746edH9pZwz6I/ApE7jOk8JJBVV8VYSoxVzfNLBzJN/s3/lz4G61RgcPQejiPG 68pQ== X-Forwarded-Encrypted: i=1; AJvYcCU5rfSKEdp8Tp7BVh4BtOssQJlgx74sjApn+yyq1RamOabT4zwP56vT9uOzZ340zWe4lYOdC19yVJQT@vger.kernel.org X-Gm-Message-State: AOJu0YylZKHRbQ5nTkxIqTl2JMfMWKxsdZ+hVnPEw6uwaF8Tt30M2NzS vQaKGqyQyTIZsyjUPQcWUxqSRmim7nnM+gQtUk2JczHAa9/aQU2I+DSlf7MrF4jcHn+eJJVjZiS T7Sn3BhRZmN38KzvbcBMlPCHy8zjZNWS9T/szSeiTLiW77Ocn+RCtCXhLqQZOpdMq X-Gm-Gg: AZuq6aL1xYKdKf/41Cmk1XmODDHRhRjBvEUFXErfJ/Z3nKLJmPhsEDujzdqTDsPbRp4 EP5LSTohgN/TkBppQNtsakjnGeG6llAUUbk46sI3eMgqecqbYJidAqtP/bh8Dblb8a3+cOocIJJ BpCRzx7AgfjB7/RKF0XP4GV9dP4li0Li1RGDsmHdi9dHHp3MlEpZa1rfqqfF+fkCpoV34vaoaFt st4ZVvtytCbvrhHNEPA2q601D6R8ifKyvvhUYGurhFqw1JfeC1tu/721NtddEdzxLID6DoFCcVo Fcfd5087d08mqtkddufbmFPjLeom2KVYlNdcTQmgGGL8e8KLoWJ36571lo5gxxFcvYgcxs1teRB 4w3eiaBcn+Opj7EZmsonmaGhlVnPgme9Pc0rgoD8Nq9U= X-Received: by 2002:a05:6a00:1a17:b0:81b:c2b5:31a with SMTP id d2e1a72fcca58-823692bf878mr1087414b3a.53.1769504509720; Tue, 27 Jan 2026 01:01:49 -0800 (PST) X-Received: by 2002:a05:6a00:1a17:b0:81b:c2b5:31a with SMTP id d2e1a72fcca58-823692bf878mr1087369b3a.53.1769504509180; Tue, 27 Jan 2026 01:01:49 -0800 (PST) Received: from hu-okukatla-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8231873bf53sm11579228b3a.45.2026.01.27.01.01.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jan 2026 01:01:48 -0800 (PST) From: Odelu Kukatla To: Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: Raviteja Laggyshetty , Odelu Kukatla , Dmitry Baryshkov , Bartosz Golaszewski , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Tipton Subject: [PATCH v2 1/3] dt-bindings: interconnect: qcom,qcs8300-rpmh: add clocks property to enable QoS Date: Tue, 27 Jan 2026 14:31:14 +0530 Message-ID: <20260127090116.1438780-2-odelu.kukatla@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260127090116.1438780-1-odelu.kukatla@oss.qualcomm.com> References: <20260127090116.1438780-1-odelu.kukatla@oss.qualcomm.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: g1FmfXXqrL5ZaujLW8o-EQVm6WX9nT3s X-Authority-Analysis: v=2.4 cv=SvedKfO0 c=1 sm=1 tr=0 ts=69787efe cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=OrdcpLHLpR68xOABugYA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=OpyuDcXvxspvyRM73sMx:22 X-Proofpoint-ORIG-GUID: g1FmfXXqrL5ZaujLW8o-EQVm6WX9nT3s X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI3MDA3MyBTYWx0ZWRfX2U+PQ0Zhz+kh B7KSHN593vc5EaFNhcYxm0rutGqDJ30Zy2WdMVqOxnN5QYiUpULySnSs1/FdIzX6zvz0TqZZdFp L9xotqNAErYpTiFb/dl3AEYy3SnvMqPHtbUTOxW04in9A3h77mAb4hT16yUq6ycNXVGVleUOoOL BadDKqZ90IDdDURLL8oUMfRXRNN6N10+zUxKnT82ElYJDd90rIxpEw1QQjeH6kXH9iuFTxLEfz4 Dw7UMws7+tNO06ZzIb0HHM5Y+ytJYrlBQmLYBZ1PIOcbwLZ1pZEF2ua9xHUEds+nBwkIfXftjo2 0DLozUGs7e/wBjGs4Uw7aq4K1nUDK8Y7uYSX56ip1QHDVF+V4x+PNK07tCpo9/U9SvovhfpuGW1 aaBJdiBW8R4fht316WpnYAdi6ppaD/+ckfttZpS3BGs1AbOcqqI0gwk54f2lJ6XXnVe/1tyvIL5 Zmuwy/sKrjatSr4+wmg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-27_01,2026-01-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 clxscore=1015 suspectscore=0 impostorscore=0 spamscore=0 phishscore=0 malwarescore=0 bulkscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601270073 Some QCS8300 interconnect nodes have QoS registers located inside a block whose interface is clock-gated. For those nodes, driver must enable the corresponding clock(s) before accessing the registers. Add the 'clocks' property so the driver can obtain and enable the required clock(s). Only interconnects that have clock‑gated QoS register interface use this property; it is not applicable to all interconnect nodes. Signed-off-by: Odelu Kukatla --- .../interconnect/qcom,qcs8300-rpmh.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,qcs8300-rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,qcs8300-rpmh.yaml index e9f528d6d9a8..88fe17277110 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,qcs8300-rpmh.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,qcs8300-rpmh.yaml @@ -35,6 +35,10 @@ properties: reg: maxItems: 1 + clocks: + minItems: 1 + maxItems: 4 + required: - compatible @@ -54,6 +58,64 @@ allOf: required: - reg + - if: + properties: + compatible: + contains: + enum: + - qcom,qcs8300-aggre1-noc + then: + properties: + clocks: + items: + - description: aggre UFS PHY AXI clock + - description: aggre QUP PRIM AXI clock + - description: aggre USB2 PRIM AXI clock + - description: aggre USB3 PRIM AXI clock + + - if: + properties: + compatible: + contains: + enum: + - qcom,qcs8300-aggre2-noc + then: + properties: + clocks: + items: + - description: RPMH CC IPA clock + + - if: + properties: + compatible: + contains: + enum: + - qcom,qcs8300-gem-noc + then: + properties: + clocks: + items: + - description: GCC DDRSS GPU AXI clock + + - if: + properties: + compatible: + contains: + enum: + - qcom,qcs8300-clk-virt + - qcom,qcs8300-config-noc + - qcom,qcs8300-dc-noc + - qcom,qcs8300-gpdsp-anoc + - qcom,qcs8300-lpass-ag-noc + - qcom,qcs8300-mc-virt + - qcom,qcs8300-mmss-noc + - qcom,qcs8300-nspa-noc + - qcom,qcs8300-pcie-anoc + - qcom,qcs8300-system-noc + then: + properties: + clocks: false + unevaluatedProperties: false examples: @@ -63,6 +125,7 @@ examples: reg = <0x9100000 0xf7080>; #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; + clocks = <&gcc_ddrss_gpu_axi_clk>; }; clk_virt: interconnect-0 { -- 2.43.0