Message ID | 20240122143030.11904-5-quic_okukatla@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-33162-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2609700dyb; Mon, 22 Jan 2024 06:33:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9wd1XmYw+XdqvoSvToFrZACLOzsR5j2OUUimfW8hDo7ZZbGUx+wdu9AdU7ppF5+eT0byv X-Received: by 2002:a17:902:dac7:b0:1d7:3a3b:c56 with SMTP id q7-20020a170902dac700b001d73a3b0c56mr1532071plx.57.1705934012861; Mon, 22 Jan 2024 06:33:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705934012; cv=pass; d=google.com; s=arc-20160816; b=gPkDg4MjiJP1Fu2JJ19LR+ApZPdw1OPX0Le9dPIRvIwtuoQLbwh/52bkew50aqpEE9 XND6N0+6gpVS2wx4BHEdAeklhvEWric5O6Ti5X4tgbtzU4acOwQJCDDvvO9/cx3hOHOL WeyzodlaP3F0skDREyt+MSOUV2SFhuTGRkipv2DXIUv4G/oLczQEWXQBOVVVLbrz2CBu Sgd/UsH1Op9XcANYeSeuHA3rX4VQqsauY4vtvB54n7d7PzSrCMKlm8QCIwELCaS5m4dy HiGoxjVWQj0aOzM8qosmAFor8M/Z97vhXENIF1Ueloj5DMSMDGqGQM1BeNHl3Y+Q0q+c 4WXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=JvI6Fhi5xpbjzdZllOYNMowS8mtoLNuEfuwLjBBQ6fo=; fh=kIi+TPxYwVnnQ5vryKcbd+9/WZlKHlboUBpLwRqufe0=; b=jS8TcWKqjoa3EejCOx3usxQ4x0PXjc2sG+MuLeK91HnCnXaanfHl1dB0HLFDpxIIkG LHkHWTSy12dgk2K4FfOPA8nIXCIFztsa/6RvQXs/hK5No3c+Vk2IHGaC9nuz3rS+Ifp7 b4hpp5i8wcyNA/fVMjspiMptufRuMDFIVZsgIp2LMBI4FvCiSiujyhyYmtuXkf8p+6iA 1kTVuNbc/LMfeFRHnRM41nCyfuxlcspcCYC7IpIl00pvIr5syXTTPihyB7L+LqtDkBY3 kYHmeniu9gTa3yp4u3RCT059geVhlEE2izVhZlu9Y7ZLyXX0Pl6TMMgINfwVPbw0tXtC Ullw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CCosHldH; 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-33162-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33162-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b1-20020a170903228100b001d767df9dd9si169944plh.333.2024.01.22.06.33.32 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 06:33:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33162-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CCosHldH; 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-33162-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33162-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1044728752F for <ouuuleilei@gmail.com>; Mon, 22 Jan 2024 14:32:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60AB53DB96; Mon, 22 Jan 2024 14:31:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="CCosHldH" 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 885483D98B; Mon, 22 Jan 2024 14:31:23 +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=1705933884; cv=none; b=nhd/Bro1Rsf8bq7qS6kHLx7BUwkoFnZKtq+SwNgFOZHhuKn2qJUlsJyZxkMv7FrzwlH/49IQyVxb7rvc5DBJq0Oo9VME/8Gt0eorVtAl+gADeKpoZk/TGDyf52u4p2ZIcaPN7maGif+MOobf2SeJZCl1b5bUrViHF0dOJ6ppheI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705933884; c=relaxed/simple; bh=7MCuJ3UfHRqMd+JUh7AKlEUIeNyOfhgog0Os6Bc9bOM=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Or/mn3E1gfwf4szAAc5gIZnqaZWIlApLuOLMIKsZLQVf6A4+XU2zmiz2yaArbHx0tu1EwWs7HGlVaq7EdlPqywRdrPiAcQG7hTYMZZRLNk0b4GS19jxHloIfsJKZ0ZMncUg33uNrGGT71YQ2YOYcSBTgRkGRf9THkt2HGX3Lyug= 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=CCosHldH; 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 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40MDMWJZ014355; Mon, 22 Jan 2024 14:31:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=qcppdkim1; bh=JvI6Fhi5xpbjzdZllOYN MowS8mtoLNuEfuwLjBBQ6fo=; b=CCosHldHabNtl2sI9jcPdbEfa9SfaGVG6uu5 Q3Of12N1kWgUxXpi8b8ZYXPan5+wvmf3oYZ5W6wGBWPzzLRMn5XfEV7Dv5983zAb 1qaxE9KF3nyGS7/33nGjGierqpKe39uvuxT383JcBSoP3bPElQI1vsZzYQOSNgdr O8ph4iCzC2Vo/n8BlF999rK7rGz6N6EAbeLGHOxq50dvaTr3PaqJvW6nrVyw+oQx nd/lX7NzaUrh9SH0qx++8D/iGiLtfCycaxz9vEB9VkbymP+p1YWL5op3C9flKMoq By4TisC4aVXVFS8MWJ7HuY/2JaIqJKYCmfHZl5MbBWUIhZR55g== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vsq7w0jun-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Jan 2024 14:31:20 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40MEVJrn013348 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Jan 2024 14:31:19 GMT Received: from hu-okukatla-hyd.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 22 Jan 2024 06:31:16 -0800 From: Odelu Kukatla <quic_okukatla@quicinc.com> To: <georgi.djakov@linaro.org>, <cros-qcom-dts-watchers@chromium.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [4/4] arm64: dts: qcom: sc7280: Add clocks for QOS configuration Date: Mon, 22 Jan 2024 20:00:30 +0530 Message-ID: <20240122143030.11904-5-quic_okukatla@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240122143030.11904-1-quic_okukatla@quicinc.com> References: <20240122143030.11904-1-quic_okukatla@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Y-eXGHC-1czn3ZTHsLkwoEe6KAXtwmSP X-Proofpoint-ORIG-GUID: Y-eXGHC-1czn3ZTHsLkwoEe6KAXtwmSP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-22_05,2024-01-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 lowpriorityscore=0 spamscore=0 clxscore=1011 suspectscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 impostorscore=0 mlxlogscore=677 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401220098 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788801463033777129 X-GMAIL-MSGID: 1788801463033777129 |
Series |
[1/4] interconnect: qcom: icc-rpmh: Add QoS config support
|
|
Commit Message
Odelu Kukatla
Jan. 22, 2024, 2:30 p.m. UTC
Add clock handles for required clocks to be enabled for
configuring QoS on sc7280.
Change-Id: I58991300ff1d8d2865763d4e79ee81c03586249e
Signed-off-by: Odelu Kukatla <quic_okukatla@quicinc.com>
---
arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 +++
1 file changed, 3 insertions(+)
Comments
On Mon, 22 Jan 2024 at 16:39, Odelu Kukatla <quic_okukatla@quicinc.com> wrote: > > Add clock handles for required clocks to be enabled for > configuring QoS on sc7280. > > Change-Id: I58991300ff1d8d2865763d4e79ee81c03586249e > Signed-off-by: Odelu Kukatla <quic_okukatla@quicinc.com> > --- > arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 83b5b76ba179..73acf1bd0f97 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -2099,6 +2099,8 @@ > reg = <0 0x016e0000 0 0x1c080>; > #interconnect-cells = <2>; > qcom,bcm-voters = <&apps_bcm_voter>; > + clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, > + <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>; > }; > > aggre2_noc: interconnect@1700000 { > @@ -2106,6 +2108,7 @@ > compatible = "qcom,sc7280-aggre2-noc"; > #interconnect-cells = <2>; > qcom,bcm-voters = <&apps_bcm_voter>; > + clocks = <&rpmhcc RPMH_IPA_CLK>; Is there any reason to write QoS for the IPA before the IPA starts poking around? The same question applies to aggre1 NoC. > }; > > mmss_noc: interconnect@1740000 { > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project > >
On 1/22/24 18:43, Dmitry Baryshkov wrote: > On Mon, 22 Jan 2024 at 16:39, Odelu Kukatla <quic_okukatla@quicinc.com> wrote: >> >> Add clock handles for required clocks to be enabled for >> configuring QoS on sc7280. >> >> Change-Id: I58991300ff1d8d2865763d4e79ee81c03586249e >> Signed-off-by: Odelu Kukatla <quic_okukatla@quicinc.com> >> --- >> arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi >> index 83b5b76ba179..73acf1bd0f97 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi >> @@ -2099,6 +2099,8 @@ >> reg = <0 0x016e0000 0 0x1c080>; >> #interconnect-cells = <2>; >> qcom,bcm-voters = <&apps_bcm_voter>; >> + clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, >> + <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>; >> }; >> >> aggre2_noc: interconnect@1700000 { >> @@ -2106,6 +2108,7 @@ >> compatible = "qcom,sc7280-aggre2-noc"; >> #interconnect-cells = <2>; >> qcom,bcm-voters = <&apps_bcm_voter>; >> + clocks = <&rpmhcc RPMH_IPA_CLK>; > > Is there any reason to write QoS for the IPA before the IPA starts > poking around? The same question applies to aggre1 NoC. Yes, as the NIUs require a clock source which may or may not be the peripheral's clock Konrad
diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 83b5b76ba179..73acf1bd0f97 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2099,6 +2099,8 @@ reg = <0 0x016e0000 0 0x1c080>; #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; + clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, + <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>; }; aggre2_noc: interconnect@1700000 { @@ -2106,6 +2108,7 @@ compatible = "qcom,sc7280-aggre2-noc"; #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; + clocks = <&rpmhcc RPMH_IPA_CLK>; }; mmss_noc: interconnect@1740000 {