From nobody Sat May 9 09:23:10 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 0023421ADB7 for ; Fri, 24 Jan 2025 10:11:01 +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=1737713464; cv=none; b=RqFnvabLQ102KK7UEU3CyIxYGd9FaAmx3TM2ExtXVL5W4ZxugOmIenHOhbZ4Gpkml3hsx/YSz4Q8sit3ggjYBUO7CtR55RX2vZqzHyQIIAAb7pWFbu8qTnbZJdYUCx+9MRCqSiIDS1u8t3/hCmShFiCplgO2CL4xdoIRDd4SO0o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737713464; c=relaxed/simple; bh=Fk5tEvSGj966u5MNAJ6KeljaVlxKuCrisn/aqCxdhBw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GDMtSbNmW1V9AtOn5SZGHPIKjISHksCqYvk4++K8kiU56TKMmsUSxXki1SUDhC8lYGWE+TImmyudJgyZBsogTi4ctLXy+lDq4vkES82jn1kXQs1t5z1a3zy9PvtTlK9TkgzdS2wGuVXufXtGtXFzR4rB+2FaTZsh7LGMp5NhI7Q= 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=FVlqwrG8; 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="FVlqwrG8" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50O5O2lZ029450 for ; Fri, 24 Jan 2025 10:10:55 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=uBFsWeSYOmq gaCuFxuf/xhhEESZ518ip0a8YRr+64yE=; b=FVlqwrG8kWkeOwjHm9xKD+PcQG9 fw4csyL8n+BKPWeO3L9hkJxkGu1Id58THTwtWf7wt9eZvvRiDQt7Suq/HumcQXOE ULoVPw7DXNnxI7kT6jyb0IniKSdh3qp9NZvpu1ER/dM5uxYIqXjCqD1koLulzQIm gHLv+Fde3fjDbB1yHgTpqjCFrzMICjavnPUwCdIMdvTaZPNMeOcQ9ChVIJ3oZDbR CYxRfirfpo8I8YMKEntEXOYmgyn2ndtHboJetU0QgkdAcxW73NlxaAYjwcIKxzdN v7SRa0kcHeLTgZQaIg49ciozSc7OgGIBxzjm6hXhUkxfk26aEy9LfznZexg== 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 44c4p5gqau-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 24 Jan 2025 10:10:55 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-21640607349so47596015ad.0 for ; Fri, 24 Jan 2025 02:10:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737713454; x=1738318254; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uBFsWeSYOmqgaCuFxuf/xhhEESZ518ip0a8YRr+64yE=; b=uoLRpAzW2e3jgksZgT/4oUGHbGC0TG6OKGTQDODO037QSJTrK9OvHVR5Kpddrqh6kK 6nq9f2G4kHXRh8PLhkYFAcSPswiypYNko2pqQ4yPUnyuiPpzi5KALTxzUQWxx7O9Atvm T2TyoiTj+yt5cCthRFefqALzmO0l0Ysp6ptd2c/QU7iS92aYAc+Nu7h4f+jqw/DESKM9 yAbbvboilJ1X44BgcTy9SkJqnkKfdowoHK/zXWdGwHRgz2EsfClUNshjIRxHaUaLiD3F EgXCurYkB2P7GCBwQTLR3LrRftqPO8G7j9/gGt4ozPpH8p0opQY4KkEcOc9cXBqOuZnE M9yQ== X-Forwarded-Encrypted: i=1; AJvYcCUkXQ5KUS6USZhFDBqnnYfmUGZLZn/SPqg59WWan1M2m9GmSrKY3nFh/M0ADbj0QNJBgNixVPdeqkkTBYU=@vger.kernel.org X-Gm-Message-State: AOJu0YwFC+a50nVUnq75cge6uZ3DKuxBbGhooMEBhMmUMM2MmaGCWbZy gwLJStIYOg6C21eR4xaUAcmzO7sEfpzNmI/fOkCmCN//n93XwO2PSmYG5Uy/yst8dx/N5JyCYHT Nf3cewMpECzpYvc6MY/M5xHsqMLv3gfszLE66pNBgByfgVVhsV+WRKHUNM0iiCk4= X-Gm-Gg: ASbGncsDR8jCX0wSqH3rCiIsbVSiXNA4iaypBsJ4xSxKPD3PdX7kqJclwuVbuKMngT9 QH18iRiWDXbu1jjbrR4cRPaiqHvf76tbZTMkimQN5NprQ7qpjvh0C1C5+dikoxdYcFLUvbOY9Uv ZIlyOvmdsbygNITyIyqj2CSl7/OIcWgH2sHpr34fWyIWxNezJBHKebRiAi3xNn3ng/2NZ7lgRJ2 g+EdoJH1ev65RuWA/I+VBYAM5eQv5npsXrp0RSUW+j49+5A81R6uWMj6WB7cR9vyGkHubj2f4rv a6C/3LPVNX6UjCQHzTQw3BkwCF/eeg== X-Received: by 2002:a17:902:da82:b0:215:f1c2:fcc4 with SMTP id d9443c01a7336-21c3560f672mr436882935ad.41.1737713453677; Fri, 24 Jan 2025 02:10:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IE/nEpZtyW54k6KlPky+UJchioawmSuyEs/SdUstEm5FKB1Ac0u4oF2S05Nb02C99nATcAMAQ== X-Received: by 2002:a17:902:da82:b0:215:f1c2:fcc4 with SMTP id d9443c01a7336-21c3560f672mr436882485ad.41.1737713453326; Fri, 24 Jan 2025 02:10:53 -0800 (PST) Received: from hu-krichai-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21da4141dacsm12773825ad.133.2025.01.24.02.10.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 02:10:53 -0800 (PST) From: Krishna Chaitanya Chundru To: andersson@kernel.org, robh@kernel.org, dmitry.baryshkov@linaro.org, manivannan.sadhasivam@linaro.org, krzk@kernel.org, helgaas@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, lpieralisi@kernel.org, kw@linux.com, conor+dt@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree-spec@vger.kernel.org, quic_vbadigan@quicinc.com, Krishna Chaitanya Chundru Subject: [PATCH V2 1/2] schemas: pci: bridge: Document PCI L0s & L1 entry delay Date: Fri, 24 Jan 2025 15:40:37 +0530 Message-Id: <20250124101038.3871768-2-krishna.chundru@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250124101038.3871768-1-krishna.chundru@oss.qualcomm.com> References: <20250124101038.3871768-1-krishna.chundru@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: BgSInbRDBG26r4IipeFaD7v99lb7Qhot X-Proofpoint-ORIG-GUID: BgSInbRDBG26r4IipeFaD7v99lb7Qhot X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-24_04,2025-01-23_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 spamscore=0 mlxlogscore=999 impostorscore=0 bulkscore=0 malwarescore=0 mlxscore=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501240072 Content-Type: text/plain; charset="utf-8" Some controllers and endpoints provide provision to program the entry delays of L0s & L1 which will allow the link to enter L0s & L1 more aggressively to save power. These values needs to be programmed before link training. Signed-off-by: Krishna Chaitanya Chundru --- dtschema/schemas/pci/pci-bus-common.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dtschema/schemas/pci/pci-bus-common.yaml b/dtschema/schemas/pc= i/pci-bus-common.yaml index 94b648f..a9309af 100644 --- a/dtschema/schemas/pci/pci-bus-common.yaml +++ b/dtschema/schemas/pci/pci-bus-common.yaml @@ -150,6 +150,12 @@ properties: description: Disables ASPM L0s capability type: boolean =20 + aspm-l0s-entry-delay-ns: + description: ASPM L0s entry delay + + aspm-l1-entry-delay-ns: + description: ASPM L1 entry delay + vpcie12v-supply: description: 12v regulator phandle for the slot =20 --=20 2.34.1 From nobody Sat May 9 09:23:10 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 ED8B021ADB0 for ; Fri, 24 Jan 2025 10:11:00 +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=1737713462; cv=none; b=OgxKF+hvEdnZK0uNGR2UBbENjMHSX4igFvy1FRV+hxTWdYFIZXSRVN86tE1VuneN89Jfx6XRK4SDBm5KZBbIS6yrToCrURfFqYHAEDt9gH/7J4aYxyMBlraIduJBPBaHFwRJppkYAOW9S56zT6LsAq36B18QTSAU9Ue1Irz4Alk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737713462; c=relaxed/simple; bh=N2lF14aGwlo/azpWF8BRBrEW5+wH2aHyY+T2Zoz8R8E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kY0XHp8VT08b82svaPKc/NFbKxKjqmgx0pv4h3KVlrSadnMEIimUAclV30mzT2TvKoaMtRmTbVgdMa9BMjBlnrYKTQ7VGqYax44X8Nxm2V5r2eyFWIfbhFzviP8jXa0MOghW8vT16/wUvaa3Fj27QopVyDB4kFU44PlhgkFEM9I= 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=Q3hQPxrO; 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="Q3hQPxrO" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50O5T4Qe026318 for ; Fri, 24 Jan 2025 10:11:00 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=QTuzQaNN61y 5MqpLSwcmOsw3cjnsMlfMXyB5by59pS4=; b=Q3hQPxrOOGpKzb5YmLU2pPiHj43 rU9xFVN5EZaUW3EO4scLVnyRapoTSdivZhDxZ77e9D5sVxtmQNufOO6rQh7rwWaH 8kBKRWlc7T/CxtZoOATBbi+3hXK/nEUknCZ91PXHHL/I/wZoDP1cZKPDyNBQHncO ph1K2SGB5y6zQooMj14HeOFVRFM1AXoq7/dBWWOxlfjSEpBuEi82WQr2nrahZ+ao coQI8rqFEfgBNJ83DqJhRcF3O5z7Uu+tXEs3MEgYDx8lctLUa5Gct0txizabrsnq xGQfTwFcC/cpWzyo3RhSOy8Y7IBGHCKS+ivxkNZvg5khSpLBHWDAQQI9glA== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44c4rngq2k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 24 Jan 2025 10:10:59 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2164fad3792so32799895ad.0 for ; Fri, 24 Jan 2025 02:10:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737713458; x=1738318258; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QTuzQaNN61y5MqpLSwcmOsw3cjnsMlfMXyB5by59pS4=; b=Bo5qPoOlIDUGntUN0MUTTIX9jJFgtIdda5zugkW8HpC950vXCWqFBZmMeuKndm750N cFCxGBwyHRQK8NIw8uhLtH/XEOeqyFkzWhZ8XaBXhP1bgdl8vi3bmcAWtMO5d882rjhn DyAOqtjhLYdsbLljF312mTkXU00OHQN1Ofq3X4aHp5LUTXn1eOwYhYrxwDgMTu7BFkmc Uha7nzjUSf8+I+USSRyYERVioH1VfpdCUZZL8EqfQGYbLnd998RAniXbGF/3Ol1o8sAc FCSmKXm71+ndtU3dww2VoBc6AbkeLUoINQYvO3XhXiryGqIEGELYzoH3uMp9G5osp17g b0jQ== X-Forwarded-Encrypted: i=1; AJvYcCVCJz7PDkDNVhOQe0xPRKrcGjYFsZ2AaRpMDwxYjAPyJ1RIYOJb14aQJ2Ai/oBCtOEl9T7k/cXewlJT+gU=@vger.kernel.org X-Gm-Message-State: AOJu0YygggU4dJenpkUFwRlYlNwpxZTiYg7WUIAF2xJNXT0GNIVxjMmW jMQDSS8m3bVAnMSU8BGQ9vxQ/pO/dYsOtjQt7JiiTJ55JVWuJF58TaBFExer7pkXq0MA7qFgKXo 0vgxboWIzErP6wZZsPLsAdG2VDVF0ZwpwhfiMpV3bEfZENOLJ206ESTRW1HxNBIw= X-Gm-Gg: ASbGncsR8ymKqEY1dKHHhAZoPiE7DfNmdPGz8ACJQ50po6B05uw+x9xCvkdi7oNIIvi gL+AlL7r53z55Lgkw5RvPAXwIpHAFTYjMsg9BEx58tY9wenLzenIXkAyTyOxEDEDT4nbkUsLjHO wcjX0ek9AFQifO9cB92RcwPJDCtLnY/F0/Ii6Lx4+r6HFoxMuxvhmH0JkHtDA8phIZrf4wgmviE k/YzNJZ+O8Q/wUZLCoolxt5zanbBZYrynaZmAT0yswIxWpbf/A/nq6xyCdNvI+N+iDcRrT57koq 6qWDcSIflui4c437X90sHzItx7xsrw== X-Received: by 2002:a17:902:cf0e:b0:212:4c82:e3d4 with SMTP id d9443c01a7336-21c356093bcmr449066755ad.46.1737713458459; Fri, 24 Jan 2025 02:10:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPdt/tWXnYv0ZJnPog4hmu7Y653tEvtmLqJ8rL0b6LAjLhAX1Bo1hz2SKucKP3+NMNwSY2mg== X-Received: by 2002:a17:902:cf0e:b0:212:4c82:e3d4 with SMTP id d9443c01a7336-21c356093bcmr449066285ad.46.1737713458082; Fri, 24 Jan 2025 02:10:58 -0800 (PST) Received: from hu-krichai-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21da4141dacsm12773825ad.133.2025.01.24.02.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 02:10:57 -0800 (PST) From: Krishna Chaitanya Chundru To: andersson@kernel.org, robh@kernel.org, dmitry.baryshkov@linaro.org, manivannan.sadhasivam@linaro.org, krzk@kernel.org, helgaas@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, lpieralisi@kernel.org, kw@linux.com, conor+dt@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree-spec@vger.kernel.org, quic_vbadigan@quicinc.com, Krishna Chaitanya Chundru Subject: [PATCH V2 2/2] schemas: pci: bridge: Document PCIe N_FTS Date: Fri, 24 Jan 2025 15:40:38 +0530 Message-Id: <20250124101038.3871768-3-krishna.chundru@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250124101038.3871768-1-krishna.chundru@oss.qualcomm.com> References: <20250124101038.3871768-1-krishna.chundru@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: AZ2wjqrPYELrFcpQYWy-f1nhVlajusvC X-Proofpoint-ORIG-GUID: AZ2wjqrPYELrFcpQYWy-f1nhVlajusvC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-24_04,2025-01-23_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 clxscore=1015 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501240073 Content-Type: text/plain; charset="utf-8" Per PCIe r6.0, sec 4.2.5.1, during Link training, a PCIe component captures the N_FTS value it receives. Per 4.2.5.6, when transitioning the Link from L0s to L0, it must transmit N_FTS Fast Training Sequences to enable the receiver to obtain bit and Symbol lock. Components may have device-specific ways to configure N_FTS values to advertise during Link training. Define an n_fts array with an entry for each supported data rate. Signed-off-by: Krishna Chaitanya Chundru --- dtschema/schemas/pci/pci-bus-common.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dtschema/schemas/pci/pci-bus-common.yaml b/dtschema/schemas/pc= i/pci-bus-common.yaml index a9309af..968df43 100644 --- a/dtschema/schemas/pci/pci-bus-common.yaml +++ b/dtschema/schemas/pci/pci-bus-common.yaml @@ -128,6 +128,15 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 enum: [ 1, 2, 4, 8, 16, 32 ] =20 + n-fts: + description: + The number of Fast Training Sequences (N_FTS) required by the + Receiver (this component) when transitioning the Link from L0s + to L0; advertised during initial Link training + $ref: /schemas/types.yaml#/definitions/uint8-array + minItems: 1 + maxItems: 5 + reset-gpios: description: GPIO controlled connection to PERST# signal maxItems: 1 --=20 2.34.1