From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 C233C320387 for ; Thu, 13 Nov 2025 06:16:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763014596; cv=none; b=oPEf/57n7SgBwxb1mau2wSWFDP9vB4PpsL0vTjXVzxqttMx3YBg7ySsM0DhNybf8muvVaBrIf18+E98D/a6cWOO2aNB/2weZBDKCW3pBcLjxLaFkegRpEGvVLM6V0IyjoduKYPIsgsgpSKppDEjUYLDivOgKKOVjQ5VQWjmRbOM= 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.54 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-f54.google.com with SMTP id 4fb4d7f45d1cf-64320b9bb4bso1015622a12.0 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=rhVoIy4K6SJZDpdX94XkS5mmNBptgA5DnEt1E5Ww+UhzKp+N6+vSslMzZZ8dfFXfSN Vy6q7eM1vovVqQf3/imqOg6F2oa6urBWvXnkxG7HCUkQLGHWwiziJ17xhKUUueMtfl86 nsjJR1mmrA8XU4/ihrd6oODiRQK0nsw7A5/uNb9rplgaufKw+Kt11Xx9Lj14t3/Ha7gY Ulj+c1cKHFvJpopllWqURIsaGmrdC9tanFugZlm0qWUYYYt5YsGbPRMbI0Sz2vHs+XQm f1+d3T3i8rOoq/o6AdtsAL+Ou/ThvJE4y+g6rqqWl5xAXv/0Y7j0cKqKDtyITq4ItBWo Gq6Q== X-Forwarded-Encrypted: i=1; AJvYcCU3iKtzb8YoyGPufp41hVyYmtBhwhOeoNg9xpYMvbr9XeeLVU6xTzwOn17luR+yEQdPZasjje20gX3GoN7klgw=@vger.kernel.org X-Gm-Message-State: AOJu0YzaM1ydaiePn/tnEYyyimk+9BBksJ1qi7O/CGu2f9fPvtqU5Vt7 GcwsAw/LOpqfWWXY/+LmJjRnyCjQe/W+mFWqCD6bo/8e7Em7C6TICpG1VT9taoQpNRmt32f+wg6 uL+W3W4aPqpbiconQ0AN/+WiRPFM9FPk= X-Gm-Gg: ASbGncvaQd8b1BAgvna7AX06Fh4ycirQ+qAdLH5BEFaa3e8BYgw3V0z0LS8+V0EWIgB u5gSXhE/ax+BvZRqwuMENIP7RWbATxOnFt6EGKkEPxtJ/TGIo4BqRVJKhUSAGmbBn/A0dR/M3BO FsQUU8cfav/iKiDRfLDrnQObGr7RguR+UnjBaqOL3VfTz1VC8Ex5xH3b4nI/fGQ5lruQDKXZSLl 9kBXitiSc2iizdwuqSGQnBOJaBPn4BfXLzSsvhRgu/8q3+zbiP+in2ZuX0= 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-spec@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