From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7D88320391 for ; Thu, 13 Nov 2025 06:16:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763014596; cv=none; b=f7F1lnX/IAu3mfyQEwr3S8LDTohx8yrRBgG6OBZoYnotDNL08u6FpAaf+6+WolkAVQ5fh6tBna0kixyq+iCdnH5lGAQ1n2wMfE1Q3z290KQUtOn0hnj72NSd82ms3wF5H6SWVUArO3qpdIGk/z5T/SsNXTiWFd/XMVSVSalSUKo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763014596; c=relaxed/simple; bh=vXr4z/5AmuKDK9MkRAtVv/b3MT7Gq4lxxIUxD2UqhlA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=c/xzWuRdlo4IRKVwENlAu7CUhGHet6n1y1s1pieJQCZljMcQ+2r/HpzET8G1cU+CdFnFeutki445kzemeAxZTITxhysqVKqIW+W4G5+guCTWd85LvYoiBrbng81/IEmOYGNSWYc14CYfELiAccB87gV3vO8g1XFiqSJs9aitq18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MJlZziOi; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MJlZziOi" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-63c489f1e6cso765605a12.1 for ; Wed, 12 Nov 2025 22:16:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763014593; x=1763619393; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vXr4z/5AmuKDK9MkRAtVv/b3MT7Gq4lxxIUxD2UqhlA=; b=MJlZziOiocbfn5p0sDIcqn8JGRhvZP3lJsp1vTWYcMKjSxcjSIQFJ5rG2R6P8cyDpk ABlOisRQrYZswEP9oBzX2mx4xZxHeggANTywM1wg0x+etQHxV5o/QVhNTF/0O2priB/5 OyXdu3dSPuMwDbvZE2lnjLxC0sqv4lv2zgt5j2X43/IAr4nEGeYPV9fFQc8C1CJF/P6D nZ3XrjxaeFm2xmM/7njUxNZXknWIaRHShi6SlXO/bgpk0V6QaCynkfN9LZurFOF7YSu0 u9W5vJ90WWUz4/i1XUvp2gkrjTXzRj+OX47zRl3lnvSq6oF8zNbZ94XYfxzjkJSadRf+ hrEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763014593; x=1763619393; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=vXr4z/5AmuKDK9MkRAtVv/b3MT7Gq4lxxIUxD2UqhlA=; b=ds18lmamV7cZUIXWrvctK7GYaxzqq3sRJYs4ylhWqzCbNOozcu7fRmyaITUF24GAK6 7KvFwJ7kw8h65zqvzzQQmq4xiHHXoiLSlZsqZUsbwUQ+3No/C+Md6xyrVFVMyyMBVyva /BeM0B5uMmSz5z4StLrIYo5GwChT92gForhAU6P4j+vKJ1Iz+p+A1DeD8fYmnH5ZPs0N Ep0gsdGJWM6c7HlikKNulszkZcRUpFB334714BRxb4bkAxgzk9NZD1cSYG7ehajcWz/o VBggcTPZ1/4ltTx/8j2SgSD/lu+3c02ATBVmgXmkrN80XrIs2ExrGGzGlaK2wP1Lgqlp 9x9g== X-Forwarded-Encrypted: i=1; AJvYcCUb86JXMm/zecWbJZdxrM/rX8paFUZZqmnnL8wacO0Ml0lrRn4LKs0FccP3Pp0NIwtn0A0eIF9YYoUY@vger.kernel.org X-Gm-Message-State: AOJu0YwMATVDHEX/xV42QVQxQxv9oLbzMnhVNT4xSZ2CFGnRtrc8KI26 jCwti888xqElULzM5NZTSKVjmmLoNJ1ElI2P/WO2lgHsegDLzMbGB2fnvS+pSJ6IZGuCci0W0b2 YjtdjfYznZ5m2QafeqiN549Whcc8B/cY= X-Gm-Gg: ASbGncstQ3Q5D80Jep7tU7m929b7tx4TPDpYi8evxSMCDI9dWE06fcPpvd9AuA9QldT uAjtFRTSpMY0fpXhJ+5UH9SCVf1KtFoX2Boq+76WGbBlgpsg0JqtLA7TaCptZuC2mLnnrT+QIXF OSyw+jKCTEzY528rUwC/Y51a4HiholIUq7qqXvpOK2Npmy/Wi4Q0qUemP0RgQYWwolAzT0RPJ0L hKSaZ35kE5wI8nScVcZiLB8zzm8+C6kGC0X3ggUT2SaU8RZBh7tAKQi5vc= X-Google-Smtp-Source: AGHT+IF0lUMHUkosIjNcmT2zVA/YLbM9CDi0kMvQoY+mWAyW3yJ8I1hbIvOE8r577BhAUOnw4TrJG1tWSe9ZriSdU30= X-Received: by 2002:aa7:db42:0:b0:643:eae:b1b6 with SMTP id 4fb4d7f45d1cf-64334cf0ec9mr1146356a12.12.1763014593016; Wed, 12 Nov 2025 22:16:33 -0800 (PST) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20251110112947.2071036-1-krishna.chundru@oss.qualcomm.com> In-Reply-To: From: Anand Moon Date: Thu, 13 Nov 2025 11:46:16 +0530 X-Gm-Features: AWmQ_blPalLirVu2H6vvDa6N8fgBoN3hOKiij4FJp2bVsL0Z_mFude8G2oo5hRc Message-ID: Subject: Re: [PATCH v2] schemas: pci: Document PCIe T_POWER_ON To: Manivannan Sadhasivam Cc: Lukas Wunner , Krishna Chaitanya Chundru , andersson@kernel.org, robh@kernel.org, manivannan.sadhasivam@linaro.org, krzk@kernel.org, helgaas@kernel.org, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Manivannan On Thu, 13 Nov 2025 at 11:21, Manivannan Sadhasivam wrote= : > > On Thu, Nov 13, 2025 at 10:46:59AM +0530, Anand Moon wrote: > > Hi Manivannan > > > > On Thu, 13 Nov 2025 at 10:01, Manivannan Sadhasivam w= rote: > > > > > > On Mon, Nov 10, 2025 at 01:41:45PM +0100, Lukas Wunner wrote: > > > > On Mon, Nov 10, 2025 at 04:59:47PM +0530, Krishna Chaitanya Chundru= wrote: > > > > > From PCIe r6, sec 5.5.4 & Table 5-11 in sec 5.5.5 T_POWER_ON is t= he > > > > > > > > Please use the latest spec version as reference, i.e. PCIe r7.0. > > > > > > > > > minimum amount of time(in us) that each component must wait in L1= .2.Exit > > > > > after sampling CLKREQ# asserted before actively driving the inter= face to > > > > > ensure no device is ever actively driving into an unpowered compo= nent and > > > > > these values are based on the components and AC coupling capacito= rs used > > > > > in the connection linking the two components. > > > > > > > > > > This property should be used to indicate the T_POWER_ON for each = Root Port. > > > > > > > > What's the difference between this property and the Port T_POWER_ON= _Scale > > > > and T_POWER_ON_Value in the L1 PM Substates Capabilities Register? > > > > > > > > Why do you need this in the device tree even though it's available > > > > in the register? > > > > > > > > > > Someone needs to program these registers. In the x86 world, BIOS will= do it > > > happily, but in devicetree world, OS has to do it. And since this is = a platform > > > specific value, this is getting passed from devicetree. > > > > > According to the RK3588 TRM Part 2, the DSP_PCIE_L1SUB_CAPABILITY_REG (= 0x4) > > It is a commonly configurable parameter, It can be tuned on for the > > Rockchip platform. > > T_POWER_ON is a generic value defined in the spec. All compatible platfor= ms > should support setting this value through 'L1 PM Substates Capabilities' > register or by platform specific register. > Ok, Thanks. > > > - Mani > > > > > > -- > > > =E0=AE=AE=E0=AE=A3=E0=AE=BF=E0=AE=B5=E0=AE=A3=E0=AF=8D=E0=AE=A3=E0=AE= =A9=E0=AF=8D =E0=AE=9A=E0=AE=A4=E0=AE=BE=E0=AE=9A=E0=AE=BF=E0=AE=B5=E0=AE= =AE=E0=AF=8D > > > > > Thanks > > -Anand > > > > I could not apply this patch > > > > $ git am ./v2_20251110_krishna_chundru_schemas_pci_document_pcie_t_powe= r_on.mbx > > Applying: schemas: pci: Document PCIe T_POWER_ON > > error: dtschema/schemas/pci/pci-bus-common.yaml: does not exist in inde= x > > Patch failed at 0001 schemas: pci: Document PCIe T_POWER_ON > > hint: Use 'git am --show-current-patch=3Ddiff' to see the failed patch > > hint: When you have resolved this problem, run "git am --continue". > > hint: If you prefer to skip this patch, run "git am --skip" instead. > > hint: To restore the original branch and stop patching, run "git am --a= bort". > > hint: Disable this message with "git config set advice.mergeConflict fa= lse" > > This is a dtschema patch, not Linux kernel. > Ok, got that. > - Mani > > -- > =E0=AE=AE=E0=AE=A3=E0=AE=BF=E0=AE=B5=E0=AE=A3=E0=AF=8D=E0=AE=A3=E0=AE=A9= =E0=AF=8D =E0=AE=9A=E0=AE=A4=E0=AE=BE=E0=AE=9A=E0=AE=BF=E0=AE=B5=E0=AE=AE= =E0=AF=8D Thanks -Anand