Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1200406lqt; Fri, 7 Jun 2024 10:41:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXLQEg2z4cuYauu3ttz4k11MaRAyOud/3hymCAPnklVdf+kdC8Ld4UV1mRwV/Jduy/NJ5a2H/Rss6TpsHi5rSMgd/pBeGLaZTW6z7azDQ== X-Google-Smtp-Source: AGHT+IH6eq7Ufro+DCc0VCzNgy3V7WxgCGxO2T5s8UoUxdjlffcD95FwJUYmIU1L0G4KhDu/mN1C X-Received: by 2002:a50:d541:0:b0:57a:4af2:fcf5 with SMTP id 4fb4d7f45d1cf-57c50851f3dmr2536194a12.2.1717782074610; Fri, 07 Jun 2024 10:41:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717782074; cv=pass; d=google.com; s=arc-20160816; b=P/5ZjNBomgSiwl0dAr2BzEbuN74t5iBSlttqexNnn1TQprMg/yyHLLlW3KgRjGmlhQ D9FciGjRC2TlEppnd7AQs4bqcgG00BSsofpv1nGnGEFpZ0QFdEB2VnUsKQJAc1DsUZR4 Sya4antW6j1GKBpD0LFmq7SQhDe/z5+8FyksAPsp3pJcOqgiKMSnM7S7Xz85LoruQ3VV 5noAiNKKIrmRY7Vmpy6s1WFtFhAgCmP9gm9RdobgVsFrSHvdm8mLJ73Kra+5zleDsJjI eBfSxQOYZ1zK3ETDpgLAcT66SJBMPkgLLb3+j9wdU7U/gxQwKxdabN3FYUEWoE+Y6JQB 8H6Q== 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:cc:to:from :dkim-signature; bh=4FKkT+e/28S7L0bKbRq7COMYfC09vC4M3GNUiYKkuwA=; fh=0V7QfCqmTZkVZOcbLrxCDhUIsjV+i30C31rwuIAiFUw=; b=GGhfMLZbGKBC6xCzORBEAHt0Wu6jnLRyx7n3EpAzgsV5ZryD8girD2WJmt6xiTqykz unGnJ7ibM0czrHt+2YbYgPFf/4sG+nDyc6KxiWS9ZBQ9GyYuISl5rZYGpqmX2Zav228C pljl3zJctcphS+2akU21tlTppG+8wGSjoalasvfJVs9Q++odAiDmhbv6xnVoh/qlvFVB wCws4EkppPM0C2VWVKcW9pXYGTpwJLWYzYJkKTpqAIeYz9uW1h7i6lEbPhV4+siaY5/+ AbbLM5qbZ4b30sWhSTxvUdkRpAC9+SjgjYf3Iwem+ozWd9TU1PdZMCDpKCnq40rpU75B DAZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DUwPl6lw; 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-206556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae25fd9fsi1961809a12.526.2024.06.07.10.41.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 10:41:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DUwPl6lw; 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-206556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206556-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 54B181F243B9 for ; Fri, 7 Jun 2024 17:41:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78AF119B3FB; Fri, 7 Jun 2024 17:40:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="DUwPl6lw" 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 17CE319AD95; Fri, 7 Jun 2024 17:40:32 +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=1717782034; cv=none; b=R2GQ6e/mYTBRMIvfVni3ocR1DHLsE9r+7jIMaLX57MF6be7YPTnLhs44hsfhyMVFcofhWOlXvLJQ+f81dBCmxxb93KA5NO+Cu7OwQXT9v+FOSyRMJGRzbrnksdiJpCL9wEh6spUaXgudL0c0MXYyORPuMvodpu2drvRTBYQeJzU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717782034; c=relaxed/simple; bh=FKk3o+t2VtcbmBRTLc5pUd9y25bQMEp6vTDFaMDrQAM=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Dgo1/s2dQ++5F00vHC8aVnnCreAVz+UUYj0PbuyLy1Y0W5HXjEEnAlhokIrSZhpl0F+7W8Bp3iWBE6gnwm0JXBqmKUmWqVNTX/vcOPt/DdSc0Y7UQGK2S3nEteO9/UpRfuHJuEIktQ03j6xDo9b6WHT8lC8DkbOd3BHvdBCNO+M= 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=DUwPl6lw; 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 457HZrMr021526; Fri, 7 Jun 2024 17:40:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=4FKkT+e/28S7L0bKbRq7COMY fC09vC4M3GNUiYKkuwA=; b=DUwPl6lwesrZCP5QHmJdcSnW5sCZVaS4Kysa6+N7 iNd2bAiuaI4lTNmdYv7XSKNZ81ICbEOE75Pleu+aH6VaGYqNe5ID51KJrXlWCF8g inPV3UeyGW0hWCQcY94MqMZVWZ0FY4c/nJy0B6cbkuRj5Ieq6IFDROMwnQ5E7zBW x82C5CZPKJA8p7vktgkL2sIUbqBJzGKMCblreXimczd8D/jphJrrr6kk4OTFtkGw 1OblcW2qYv+684E+b9Oia5y7RRnwAaotzdPNCZCDogbIzTKpzkQx0M6Q04Zr6v+U 2laotA48lEYCdrQ6EoJBzZsVrrOxMo5M3I6z+FsvrfBixg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ym0sf14ww-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Jun 2024 17:40:29 +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 457HeS1l020581 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 7 Jun 2024 17:40:28 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.1544.9; Fri, 7 Jun 2024 10:40:23 -0700 From: Odelu Kukatla To: Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Kees Cook , , "Gustavo A . R . Silva" , , , , , , , , Subject: [PATCH v5 3/4] dt-bindings: interconnect: add clock property to enable QOS on SC7280 Date: Fri, 7 Jun 2024 23:09:26 +0530 Message-ID: <20240607173927.26321-4-quic_okukatla@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240607173927.26321-1-quic_okukatla@quicinc.com> References: <20240607173927.26321-1-quic_okukatla@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: h4I0232PvMriS27JKmNuFAS6sTmUYmaI X-Proofpoint-ORIG-GUID: h4I0232PvMriS27JKmNuFAS6sTmUYmaI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-07_10,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 impostorscore=0 adultscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 clxscore=1015 bulkscore=0 phishscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406070130 Add clock property to enable the clocks required for accessing QoS configuration registers. Signed-off-by: Odelu Kukatla --- .../interconnect/qcom,sc7280-rpmh.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml index b135597d9489..9fce7203bd42 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml @@ -35,6 +35,10 @@ properties: reg: maxItems: 1 + clocks: + minItems: 1 + maxItems: 2 + required: - compatible @@ -53,10 +57,50 @@ allOf: required: - reg + - if: + properties: + compatible: + contains: + enum: + - qcom,sc7280-aggre1-noc + then: + properties: + clocks: + items: + - description: aggre UFS PHY AXI clock + - description: aggre USB3 PRIM AXI clock + + - if: + properties: + compatible: + contains: + enum: + - qcom,sc7280-aggre2-noc + then: + properties: + clocks: + items: + - description: RPMH CC IPA clock + + - if: + properties: + compatible: + contains: + enum: + - qcom,sc7280-aggre1-noc + - qcom,sc7280-aggre2-noc + then: + required: + - clocks + else: + properties: + clocks: false + unevaluatedProperties: false examples: - | + #include interconnect { compatible = "qcom,sc7280-clk-virt"; #interconnect-cells = <2>; @@ -69,3 +113,12 @@ examples: #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; + + interconnect@16e0000 { + reg = <0x016e0000 0x1c080>; + compatible = "qcom,sc7280-aggre1-noc"; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, + <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>; + }; -- 2.17.1