Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1404493lqj; Mon, 3 Jun 2024 23:36:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW6PCpkvBxvKsXeh97SAi4Gj1zhH5BlEhwg1Fiadn2lVzQkovX12GoUNPSphVosUetcXfjPMykh7Qb6/j91Sf5WFj+EJuFSqNrnnYxjtw== X-Google-Smtp-Source: AGHT+IHbuR4W3i83VehQd/O/DQGl4WbMeul27U83fax9iqRb7jLwajIrntwqQS9vh0PHU6b+/jlO X-Received: by 2002:a05:6830:1306:b0:6f0:6420:35cb with SMTP id 46e09a7af769-6f911fb562amr12250029a34.29.1717482990396; Mon, 03 Jun 2024 23:36:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717482990; cv=pass; d=google.com; s=arc-20160816; b=Luqm0c42Tozkrfjbpy4W3dgqdz7cGnAji30TcH+Fi82o9zZN2XJNqD06nrv9HQaZOY PAvYUeqOIiW3RSPMY4ni/ncoD8emNWJ1WxMjsobvOkKznmuyBELiEsnzAVO6G6QWDaZe ItnrFkd6xmc/TrN0W42o0i7HF/Cjf5TpKFFbhry3NMwMklY12tu/aOGgU075rJIFLzPg VABes/mSRklAHfsUVGkR4BVON/arbI0yd5/MNhO7pafTIZFnKEqNLPFOiyQAQJi33M3S GpAEB6P6+PoXRa3qxc7bEDJeA2nBt/pLRu3EqGJiOC1JAHovgZe+Ivgt6A7j2S2Fs5GM ZRng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=KElOtvYy19yMu+398gnbtDERPlNAFCOh2TeOkocFvtk=; fh=3fJat3Y2LmKfS/XmRZr9ZI5T5Z893oWESjdys5hSkIY=; b=mlKDQiuSvPPiQbg+LlrdQSgCMsh6zu0GG/QakTVLI6/I91DzPwZJS28d9hw5+vnMmC 3rEsFavpc4hULT+4omsmrDP7HkJ8pnBQBk+L0HZGTg8DWzAlY9FA3NCsicNYZOTZBimy zPfr95lRsjiw8Tbmbmvdc4Buvej0T7Nfh8N4AgIBY3kgIxcvpr2L836S4pq8mVsByp5z sXyjVOAk0FXPX+XXlD705jZ5u32IuHlm3ctqG0WKQkAKowbY0mGMnYwP1WuxamAM+bTE 6DcvW6MUlLZnpjvpvXg9RJFlwKsQeZnOyrJNs+3u39/yil8TBkixFztKNkMtyNS8hSOc ipsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pVALGFzO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200111-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200111-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c3542e3a32si7703366a12.156.2024.06.03.23.36.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 23:36:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200111-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pVALGFzO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200111-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200111-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E8CB7B25350 for ; Tue, 4 Jun 2024 06:33:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 212BD1386B3; Tue, 4 Jun 2024 06:33:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pVALGFzO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 36B2C801; Tue, 4 Jun 2024 06:33:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717482805; cv=none; b=Q3R5HFYgQi3e0eOFU79wnydTn9INn5QGqPpsdWZfjF52eeSANUpYf2G34Geu7YXgDjs+d5312tv6Dz/H8uA6f0hzJ/opoIr9B7+f0BIJDXpsePg20WJHPoYKqKr3pSxFhecpChhI+w94JD+azza9z/SwO5/DW7d41T7PI2MMIhI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717482805; c=relaxed/simple; bh=dpZyVHMswi3v2L6bUKC9WMVdfPiLGk+kr3qSj20mpgs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DlfqoaecgMJSYyYwnWCQotvBJz2snbv7OTwDBesADGS78pvnTZP96ia9KBE6Wg1RQBJPkcLZ/PZ6XmF9r6ZOQo3LkgaRlqnVY/4rgowF2026Lu+kX46I56YZFvp4Lk5LAN1B/BUvPdXeNyCSFtJp0QWt1hzq0vOkm+PvMiipVlM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pVALGFzO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1521CC32786; Tue, 4 Jun 2024 06:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717482804; bh=dpZyVHMswi3v2L6bUKC9WMVdfPiLGk+kr3qSj20mpgs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=pVALGFzOARE6ZmiWGLawAzToD5WjGG+qyYYrbdPC1P1LiUviUiU7ap39ICGCO16LS XuC4aQmorcr+Y0MvV2WXYAuRE5g6DVOU1OYBEdMmqU+TXdccglyWWP0Gt0EIMeqGcW 7kG9XiziI6HHB/fcDUxmXEc0K6d9NA41gjrxLsA9lCYYOT0IauwZtKkiNSlW0Oc+QK UKzVOOxGZPqJ+9z0aoH6g4x6cBvVWliMLWbzZ5SYrRUWke+YHzcASqQAT8F88vhxqA uLC+7H/3NiOwtaIW7xufe6pUuaWv9Y05A5KCOlIj38i6E4pgd3TrrBpBumb2rp6wCm QVOaQUjqbT4aQ== Message-ID: <9c665afe-16d7-469e-ac3e-d0d7388a31b7@kernel.org> Date: Tue, 4 Jun 2024 08:33:19 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2, 1/3] dt-bindings: usb: dwc3: Add snps,p2p3tranok quirk To: joswang , Thinh.Nguyen@synopsys.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, balbi@kernel.org, devicetree@vger.kernel.org, joswang References: <20240601092646.52139-1-joswang1221@gmail.com> <20240603130004.25662-1-joswang1221@gmail.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5TYeTVXGSyDsuZjHvj+FRP+ gZaEIYSw2Yf0e91U9HXo3RYhEwSmxUQ4Fj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1WJ/GgaIRIBE+NUqckM+3zJHGmVPqJP/h2Iwv6nw8U+7Yyl6gU BLHFTg2hYnLFJI4Xjg+AX1hHFVKmvl3VBHIsBv0oDcsQWXqY+NaFahT0lRPjYtrTa1v3tem/ JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240603130004.25662-1-joswang1221@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 03/06/2024 15:00, joswang wrote: > From: joswang Is this your full name or known identity you want to use for all kernel contributions? Looks like login... > > There is an issue with the DWC31 2.00a and earlier versions > where the controller link power state transition from > P3/P3CPM/P4 to P2 may take longer than expected, ultimately > resulting in the hibernation D3 entering time exceeding the > expected 10ms. > > Add a new 'snps,p2p3tranok-quirk' DT quirk to dwc3 core > for enable the controller transitions directly from phy > power state P2 to P3 or from state P3 to P2. > > Note that this can only be set if the USB3 PHY supports > direct p3 to p2 or p2 to p3 conversion. > > Signed-off-by: joswang > --- > Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml > index 1cd0ca90127d..721927495887 100644 > --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml > +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml > @@ -242,6 +242,13 @@ properties: > When set, all HighSpeed bus instances in park mode are disabled. > type: boolean > > + snps,p2p3tranok-quirk: Why this cannot be deduced from compatible? Which upstream SoCs are affected? Best regards, Krzysztof