From patchwork Fri Feb 23 14:48:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna chaitanya chundru X-Patchwork-Id: 205447 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp631965dyb; Fri, 23 Feb 2024 06:51:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVsY7O/xjRGDPjXBWmnC6d21T+COhTkDRXzuAgfRIBdzO27eBS++Z1dTBNMwDdMGj2hA6ww4dtt68d0zsM7PTNo3dKWVw== X-Google-Smtp-Source: AGHT+IGsWq2zFWi0W+LEkvt2+EEhx0QMvAMYD4tvTWFYouD2mVrsAj6K0KhCJ9/n/q2EJegX35fN X-Received: by 2002:a05:620a:444f:b0:787:a7ef:7c1e with SMTP id w15-20020a05620a444f00b00787a7ef7c1emr29404qkp.47.1708699865714; Fri, 23 Feb 2024 06:51:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708699865; cv=pass; d=google.com; s=arc-20160816; b=A5zE4mM8n13kyxGJtXTbt8OCMrIxkYUChqKIziJNhKaisfVKdm0p4nAZvN9tM3m6hy +QlaYkB585RwhwYkT1SOi4EL1d/P/zmIpNaBJtPtvIPb1mUF1cVdkHPF1zfJSs69VeQu i7mDfurqNLn4aDkiMas3EKYaDG7mPwI66DIAT4uH3qNHQaNFMgQMIrcHDaxCQisyhmLk Xxd/KuuXKU8Pze0V4E0SMnYXIxTxOry5dygM2/tfXjB3fQ6p/vtoUlLAuTJlwq+hekIv Hmz9TqZe7q78HwE0SqiwHHYzZdEGxdvLRqqzn87lQYB2FdEvKrd1UU84uUEVumsyzBni rm3Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=2ilRA4F8XouQOkHZIvowRMIrWXeaZkTccgPDvx1p9nE=; fh=63UNKMbpyqb4ZkGH6hrL/vBl4Y0R681s9cnR5UcAamQ=; b=p0sMG58yhStidvJADdIG0bz2+2MGacWHt5SC0jwjcW8nD0l/wwEcmfUKaeHJMk/tIw jMW9GiPpXZAdKPfpYbvGcRIfc8iT6MiwWjJ+PeFF/STSYeTD54bx9XQX31ybUkzZIDmp 67itdsvI6zAOhNkkYXv691tQbTGXKb1MEWO4Ssi38IKy4sZLXYWl6hNdZmy3Jj/rzSX8 ub1vCuEqGEf+fI981Mzhv4fwVg3QJ+UoHUPpZhk+mGSSXUv0m93Je3mSCuXSM1itkDIQ 3B9r/TiaEdP1b9tM9ArYa5U3OjeCi45ZblIqUTUfitFQfpr3QxyfcEjBLxXzDHZGH/Gg AJzg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Rz4CNhMi; 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-78535-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78535-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z18-20020a05620a261200b007833f260edesi16911362qko.487.2024.02.23.06.51.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 06:51:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78535-ouuuleilei=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=Rz4CNhMi; 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-78535-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78535-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 810F21C21E19 for ; Fri, 23 Feb 2024 14:51:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0304E8592F; Fri, 23 Feb 2024 14:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Rz4CNhMi" 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 ADE7F5C60F; Fri, 23 Feb 2024 14:48:54 +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=1708699737; cv=none; b=JgaDKIjPJ+NiIlfY5mKkx3F0/0067WPWb4Zzpb/8bcV0cHzi0j3CRjKtCnkS4lgeA0BltpS44hZ1x5lPR7L3Opntq+JUN148NWMfmI4L3oOv16KXuiUw9rqvdjw9lkSW/Dn+9ra8/SNzOr5rDTJZ0pLf1O5wla7XlQM6XaIwx0I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708699737; c=relaxed/simple; bh=sUI5hJ3jZ135N0buYIvZdIjDEI5T2GRIwmaUXAbq2Io=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=Y4Wog7F/5OuD6SwfA9WCJ3E24amcpRmHWPZ4D7uBHvrywkPh0XTpVpx3VeDhHe4oJOz6GbqS3USEnXTqQTMbmJMw8gMmTnLUOJPMe2uLaJR76Z1/m0tYdz8jnnjU//0j/8Yw5WpJDaH0AGiEo2qnWe7bYmgfwC5p9ayF+uWR58w= 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=Rz4CNhMi; 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 (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41NDU2a9007337; Fri, 23 Feb 2024 14:48:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=2ilRA4F8XouQOkHZIvowRMIrWXeaZkTccgPDvx1p9nE =; b=Rz4CNhMiSVHG4vrHRo+SkaSbstpSIjXAJ0OV6aXNcbl5CMt2/U4KwdaBCOb p8SAMfLInNT9BnMQMhHm5zUlSLm8lEgLIb6iDm/R3cGyQru/RvrNZlsVk8P9I9dp q00cwYnkEVBY/Z4koptzINgSZFPWd+/5mr1ONIYXQ3ELqrgOiySLzdXt+lVCYdY9 vWKW7uFh79ZB2WTe9Q8/j0upfwWWtXHprUJTFd33bPkC0SAgJIisk8EXreyVAMEw ZB0BS7AtnaLLZLFfAV7/CBcLQ9lslQs7A1sfH9WLHS7Y60/3vEYzYDDKngKU4m1k ldPin8R/GmtPMsjgYYyuWxglVuw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3weqcf8v9s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Feb 2024 14:48:47 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41NEmkY9017016 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Feb 2024 14:48:46 GMT Received: from hu-krichai-hyd.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.1118.40; Fri, 23 Feb 2024 06:48:39 -0800 From: Krishna chaitanya chundru Date: Fri, 23 Feb 2024 20:18:01 +0530 Subject: [PATCH v7 4/7] dt-bindings: pci: qcom: Add opp table Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240223-opp_support-v7-4-10b4363d7e71@quicinc.com> References: <20240223-opp_support-v7-0-10b4363d7e71@quicinc.com> In-Reply-To: <20240223-opp_support-v7-0-10b4363d7e71@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Rob Herring , Johan Hovold , Brian Masney , Georgi Djakov CC: , , , , , , , , , Krishna chaitanya chundru , Krzysztof Kozlowski X-Mailer: b4 0.13-dev-83828 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708699692; l=1100; i=quic_krichai@quicinc.com; s=20230907; h=from:subject:message-id; bh=sUI5hJ3jZ135N0buYIvZdIjDEI5T2GRIwmaUXAbq2Io=; b=rvAl5ycEVrHXHRamaQsUvfLfLWU7+GLK4wOrDyC8Id/jNHkQkEuQHsnWG1LCu2W2DjbW4lWlK Nf9SL3HFN2ZCOETppS1sxPUyj34X/Lo/x9m+bf1Hf2kXygeZ2rHxL80 X-Developer-Key: i=quic_krichai@quicinc.com; a=ed25519; pk=10CL2pdAKFyzyOHbfSWHCD0X0my7CXxj8gJScmn1FAg= X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: earLYDZASq_1d-e4n4lx5YliBjlQ0bXG X-Proofpoint-GUID: earLYDZASq_1d-e4n4lx5YliBjlQ0bXG 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-02-22_15,2024-02-23_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 mlxlogscore=916 impostorscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 spamscore=0 phishscore=0 lowpriorityscore=0 mlxscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402230108 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791701670468753910 X-GMAIL-MSGID: 1791701670468753910 PCIe needs to choose the appropriate performance state of RPMH power domain based upon the PCIe gen speed. Adding the Operating Performance Points table allows to adjust power domain performance state and icc peak bw, depending on the PCIe gen speed and width. Acked-by: Manivannan Sadhasivam Reviewed-by: Krzysztof Kozlowski Signed-off-by: Krishna chaitanya chundru --- Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 5ad5c4cfd2a8..e1d75cabb1a9 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -127,6 +127,10 @@ properties: description: GPIO controlled connection to WAKE# signal maxItems: 1 + operating-points-v2: true + opp-table: + type: object + required: - compatible - reg