From nobody Tue Feb 10 19:47:48 2026 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 234C71D88D3 for ; Mon, 6 Jan 2025 09:33:34 +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=1736156016; cv=none; b=IsA56W1Y+qGOhHDF8dy4F/Kq+l/FY4p9Scx333WSj7QnD0QQGwmGOlpZ/wf5rMnb8D8mhcR8ehM0txBX7PD1Zb3NWz+mPPdIGjKeUy7JGPz0ulS6lfCrNXsSj7eBYkksJBbX1Ov6FEY5G3i+BFPPDErMBA+C92DqKrnAQ7W6g9I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736156016; c=relaxed/simple; bh=u6ITWZK6Pnui8R/rp+fW3eZGVRboaltac30M06+tTJY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hj1Zi0SEsbcEwQjgLDV+pY5nBgCtkMim9z60bmab6MHn3I05BdO2zcmtIROzYpl9e/CCp9ydGuM42p7CLX10vDUPPArD8xlUxZjP/l/TaLNN/qbUypc7m7GRTXeEXxq8niDPcrspEV5pI20JJzOKn47K7Bqsr3ker45Kav/09fQ= 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=IJpz3M34; arc=none smtp.client-ip=205.220.168.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="IJpz3M34" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5068gSf3016828 for ; Mon, 6 Jan 2025 09:33:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=qcppdkim1; bh=Ooc8CaBX+hRHDY5DeK/hHvsWjudmqQEAdI9 cWCPXiSU=; b=IJpz3M34yCiwp5zx/LTp3uU6muWxlExxrA73fpDOmFtdnnfKxZH ujwFw4wA7tbbuN/HcU9KO/j0Bian2erDSOh7uHcqa/FexMvDzTcnfPWQmwVj1YQG egmpeGb2kwhuhUdt0t12tQzxh1CGJPOl4qwfhLK9DPq2wxyYaNTY5lVUCGmpP2h2 DekO4nXZrtWXQWYkWzu+DDOa5IIgf/X8MPPQ+04D8UFbCiwGBcL0j+hpBiDWgMED FJYlGTluvt+/4Sa9LIfuZ4wN4WgGX8rvIoLE/C9OHlnmNZOdK5BnQZ6A/tSFdvGV ppcEFvhwCeci6TkfD7z1qDy4SE+nzI6paWQ== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 440bwc83ny-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 06 Jan 2025 09:33:33 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2178115051dso191227315ad.1 for ; Mon, 06 Jan 2025 01:33:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736156012; x=1736760812; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ooc8CaBX+hRHDY5DeK/hHvsWjudmqQEAdI9cWCPXiSU=; b=NHsKQ6OYyjJR8Nza4uIEXywhXPAvK2NZTF/jVmVGp+104DBumuQMp3qPJJzxZX2zsp s7cyziaRFUH9XoQC4oLzIQ8g6JSgKI0amvemvIKDziB4D5A+sqcawXzAEUTa/yqTydRW 81qIWcDBwteCEewOQbIUSrOjQnsCD1yqyoPRvVJOfLoiTYNQ5DKwdLUug3ioMR35nZX6 AoKvqE+fw+NKc8fnwUjU2fZLMGOmkAw0xY4a+BOVGiIF9p7NTM6lYO/u5Oyw3PSGU7Wt 2Fhxp1rlfHoWeqiRkCr+5MMQ2vppDvQwWlm6kLfXSvAURJEANXCQLevBVtn/ThhUmDnp 3WOw== X-Forwarded-Encrypted: i=1; AJvYcCX2qGhyy6wOUa1jw3A0dhevqzx9szemn4Cjc1PczXOFPQnxwRhXTBj71hJjp/y9A8u+fYysDqkqDEWxOT4=@vger.kernel.org X-Gm-Message-State: AOJu0YxG5nhQyeJk5VrUivFKISh2V2D3rwV564lHZgKYKQ/2kv8DuKk6 A/uEIBFHnEGDEYawF5jFiwwKyuR2mJsVPuSAwcQQtHvb74xHEK+hiAOcFk/Nkhqa3LazvVrAw7A TMshVPvJ47en4PHg03FG4iPrOGMHNtHweLhQKRQ4UWY1TFHIRgtmO1eSOd1QgNV0= X-Gm-Gg: ASbGncu9JpNFLU3rzTQNO/imwROZSkzxR6eNK73EUVfXKQn3AOaBgnfTSSbbzPCEncG G/a1X+z5xayaF0y2DYvD8ve35e36H3C7Oua57U6bIU4eNX9Dgrvo7rOjtbUdqsmjHBEr0aaScBc 5DqSmuMKmmic/Fnsjkq/rnWhuALbSV/T9HckX9mg4JmC2am/VeVefqjuRDahG+UydmONp+yU7pj THic4tvuV31PCIvKcw55J37YirYT85WRUfWzTn+LNcB6xUNmuL3PSLIYPze/UuWqgMmq2sf3Wlw BHTVlw/7H7V+l6Th X-Received: by 2002:a17:902:f685:b0:219:e4b0:4286 with SMTP id d9443c01a7336-219e6ebcabdmr705471615ad.29.1736156012423; Mon, 06 Jan 2025 01:33:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgBkTe3UZfkvpcZzMY3x0JbZEG0gq0kNqGGbjEBJ5gyLmgAR+ikmyKbTEvWQACPEWxprKFPw== X-Received: by 2002:a17:902:f685:b0:219:e4b0:4286 with SMTP id d9443c01a7336-219e6ebcabdmr705471305ad.29.1736156012068; Mon, 06 Jan 2025 01:33:32 -0800 (PST) Received: from hu-krichai-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc9f625csm281079085ad.208.2025.01.06.01.33.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 01:33:31 -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 V1] schemas: pci: bridge: Document PCI L0s & L1 entry delay and nfts Date: Mon, 6 Jan 2025 15:03:04 +0530 Message-Id: <20250106093304.604829-1-krishna.chundru@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 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: -227xTShw27Z28gQMc_uLZTZVHR-ewkX X-Proofpoint-ORIG-GUID: -227xTShw27Z28gQMc_uLZTZVHR-ewkX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 phishscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 spamscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501060084 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. As per PCIe spec 6 sec 4.2.5.6, the number of Fast Training Sequence (FTS) can be programmed by the controllers or endpoints that is used for bit and Symbol lock when transitioning from L0s to L0 based upon the PCIe data rate FTS value can vary. So define a array for each data rate for nfts. These values needs to be programmed before link training. Signed-off-by: Krishna Chaitanya Chundru --- - This change was suggested in this patch: https://lore.kernel.org/all/2024= 1211060000.3vn3iumouggjcbva@thinkpad/ --- dtschema/schemas/pci/pci-bus-common.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/dtschema/schemas/pci/pci-bus-common.yaml b/dtschema/schemas/pc= i/pci-bus-common.yaml index 94b648f..f0655ba 100644 --- a/dtschema/schemas/pci/pci-bus-common.yaml +++ b/dtschema/schemas/pci/pci-bus-common.yaml @@ -128,6 +128,16 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 enum: [ 1, 2, 4, 8, 16, 32 ] =20 + nfts: + description: + Number of Fast Training Sequence (FTS) used during L0s to L0 exit fo= r bit + and Symbol lock. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 5 + items: + maximum: 255 + reset-gpios: description: GPIO controlled connection to PERST# signal maxItems: 1 @@ -150,6 +160,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