From mboxrd@z Thu Jan 1 00:00:00 1970 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 4DC173C0617 for ; Thu, 11 Jun 2026 10:37:45 +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=1781174266; cv=none; b=Ur83A32wJGT6gWg713QIq7nn8n5QE3mTV2ubjO40XfVhv6q/3/Z0cLCVBiijRXQBVbsaxzbEikJDUKV/4DOnovKlpQalNdl9yAKSGJg7MdGq9fEP3nOlffHRtNQGD/wG/n44mHd82BTKJ2A9bQQabEmMxLFO5aaQ3Y5YNx9QM+s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781174266; c=relaxed/simple; bh=SLxDXjrIL6iecKw2dITuFW5iAt8aytHnHu3Mm9uiiRQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QdI6HmtaeAxfk2fpL3d4sggY/EJJ5cFGb7p8AIcjwwW2ti91vtops3rMLKp4vwACfeq79AfG440QrKK1KHVfX5Fhi2Or7arj65NbKfrEtMvWaYwA/9JR6AT9W6G+A4fpeFMjwFQnmUeOXY6NnRhACPY1AvIBwobQASFgrYsHoFA= 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=FFZH9dgw; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=hVbaUZY+; 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="FFZH9dgw"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="hVbaUZY+" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65B9x5Jl267506 for ; Thu, 11 Jun 2026 10:37:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 5tSbZsTv8JdnJf8FsvcniqLT25i5MlPnJqdxZhssIRI=; b=FFZH9dgwWkxTBnGx 8rLe5O7oimmieFnYnob2ZY1JehYl4EanRI8M/JNn7Z0Ui4IxilRYc3BgGY9EZSao wNNOOyjXMdbtvXrIvlFtJbivMgYm4xEZWPDNBv3XnXVr0RkMpw6i/mVPunBlqzKl DcvRPqQLOy22KZMmcsDaU5DnYNhfWQIOx2lGziO11Z0XQdd0pO+8H+OHi9t7fuKB AIoU0U5tGl9QNicb0Q9O//W2FhjMhkeEjJn8Cy9iCGDOYh4Clrp1IhQ6O/nBanpO dSZsku8gyTW7z/SbCEIMBihPjTzb0G47fO7dwDH0SWVuA9Xv+JzJjz4X7OnxKDiY DgNvTw== Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eqe6u2yns-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 11 Jun 2026 10:37:44 +0000 (GMT) Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-51759082206so23225401cf.3 for ; Thu, 11 Jun 2026 03:37:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781174264; x=1781779064; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5tSbZsTv8JdnJf8FsvcniqLT25i5MlPnJqdxZhssIRI=; b=hVbaUZY+ySLMFH4Eor8tDvmHnM4xl/yCKYmavydgx8ED3ForWzna1ANGUvRbUsPybY 6JV1la664ebGHesNRjP5KFSPi9pQBBvTExtqn+3uHQ5E8rgvbWfhRegur/E8WKM/snEv USoI6MjnGQ7zWfCKZMOjkNAhByFxm/Old3SiR7md//LMb67PMc7Et1iyI0HUL/5Mot6H 6HPAfSKcDKG8Kx+2zFxhqU1D7fQGSiP59me+3Fq3bEUfzmyF1D3QX8Rp4VdwqBg3G87j hi+Zv6uQfYSfY5uE1M12vsRS/Sijwf/1Rq6koJ8T3tzLmMB+DTc8uhT4okJkApz3fKB9 T2ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781174264; x=1781779064; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5tSbZsTv8JdnJf8FsvcniqLT25i5MlPnJqdxZhssIRI=; b=GYRfjKMtpaFgn3SLqRgxUg7CbwlYqylmVM91JSscswitfEY5sNQRWBT1nFepdk0zVo sj+0g4YNS0ttmYwFN9PNEPPtFucVXhuQujvRzbjZNKeRwtoGv8xRyldq4Mpf/4eW18n7 lFjJHS4XiXzLwEfbL+UmXkNAY3E9uYxHwL50LSRlhM70BqZycy6KgcUKy4PeiI1+QO6N K07iWw1wqrFIJAM3R38DFNvTpP5EcYAOnXDolmwQNK9rKqIV+5gtmeuKY5LhMpPeh+zB O9fya+bzG5sxxOsVgmpgLmtJLl5oZdIwQC7NpEVuQ1pG1OTIZ5IVLodWGvE08UWoWEuo tnZA== X-Forwarded-Encrypted: i=1; AFNElJ+LVUht8RtLMvmNb3YiylHlvK1tZuoxd839JVk8+0ZWvK4KkzjSHkivln1fO3b05sEbUM1a++kYCxT4EfU=@vger.kernel.org X-Gm-Message-State: AOJu0YyoNTD0n5UlkhQlOp7h/z2Sx+ebP/AdEHdnnRbfZmNaMFkTmZzr 5uGj2uflexSwg5G0NWNrtquP2jLpaGlwh/Ge8RIn0q+ExLbnCtixEEB7zLkATngS/E3b68/5iyq HfJBG9QKSVY/qIOC2MR/O6jCfeDaSYm/PHswpHVtyVPenGY3w8sePnC8HM3OQ7+XTsMc= X-Gm-Gg: Acq92OEvM5GxcKwvTUDIh40Pil6pKfSK+inMPiLeYIFkKPfjckf53HnrPkibn4/vfwL XBVe7gFZMuXGpNx4PoqQQwtyjzhiluZmjKyWINTFt8kAPgWBWgMEH7NvUygiU6gWCgCiRjp+TeX G8iXKcKUFdh6/KUmImtmf8sVgpqvF4N2cSF44lfFcNGE9ZImVk5RTK0eZe7OlH2TTeUj7xO9hBi sNTH9nGufSFaFSOlCGxlDr0gR4TQKa+b2BaR/WUn5DtnqtjXEkj03x1EulMi0yirSHjUKoPwWU1 nM6P+z7X1Hd+qJC0EFCRM1Kxx5XbrlK8bivzdqkDgN/ZnbesAARKKTCQRctvQtJkOwHgfPjmqq8 M5ZIBjpYRNMPwaKwxw7Cwx7pM7/kMCSLeWeb8wcVMKwcI6CfyURgl/7Lk X-Received: by 2002:ac8:5a16:0:b0:50b:5286:f756 with SMTP id d75a77b69052e-517ee22d93dmr21156511cf.6.1781174263473; Thu, 11 Jun 2026 03:37:43 -0700 (PDT) X-Received: by 2002:ac8:5a16:0:b0:50b:5286:f756 with SMTP id d75a77b69052e-517ee22d93dmr21156111cf.6.1781174262936; Thu, 11 Jun 2026 03:37:42 -0700 (PDT) Received: from [192.168.120.170] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bfcb0f14767sm48355366b.5.2026.06.11.03.37.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jun 2026 03:37:42 -0700 (PDT) Message-ID: <2365c393-c6a0-46a7-acbe-72e6d52c9645@oss.qualcomm.com> Date: Thu, 11 Jun 2026 12:37:39 +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 1/3] dt-bindings: usb: dwc3: document snps,reinit-phy-on-resume To: Rob Herring , Dmitry Baryshkov Cc: Oliver White , Greg Kroah-Hartman , Krzysztof Kozlowski , Conor Dooley , Thinh Nguyen , Bjorn Andersson , Konrad Dybcio , Felipe Balbi , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260601231236.20402-1-oliverjwhite07@gmail.com> <20260601231236.20402-2-oliverjwhite07@gmail.com> <20260605190638.GA4188454-robh@kernel.org> <45e5pepjwfixymk26uodz3pqhe44n2duo5dp5aflajbh3xv2kl@3nhzdev6dxq6> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: lCBhjjDgn00NTNnDdCQ8mAp00i8Lk6dq X-Proofpoint-Spam-Info: AW1haW4tMjYwNjExMDEwNiBTYWx0ZWRfX+G3FjA39gSDH TvV5USpHZFttZZ5iumu3k7wsu3k+fu2p6YASFhx8faQimEZ1s8+fjsyfbpVpSNpJMGtcAYdNkXB NHG8lmpbgx9VyLCTgckJ5Pf6pZfjngc= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjExMDEwNiBTYWx0ZWRfX0eiK4lT/K4Xq Nf1jflLia6R7gPhPU6y4TLyJKGkTWxYZdW43MseQXhmjDo2+Iwl3/ErIYwliainMoWYWD2AnBqj v/KuJAt+0DDsmZeQ10+ssD5FT8fqFui7bI34qSZwndLe427wsLtEDan21Wn3c6ef8N56b/FQCPe aJV34TOX0Xv6b4Sq/nyRTOI3RP7xdbeaAmPm4TO89egMTAoErfHaMcqNgvBCGZ/BbzeYq4zyOjm IJJMLYNTM6rI65s/AQ+7oAKrcOh6nLLmE7F0JetSIrcVyKKuzO1sAF7pMX6nuxW1in3bkeq3nRk W36XA7hHVlH75LydO5fDtlXxG17jdJNkYssFZTKfT/qdzDElXgtBa/bLD6fsPF4hAdR64HXXwGj FhuFcm198/LZKYopuwwF1yCet0QWnicajI6yD9Wxa2PInacMQDaHHF+qjpflGl+7eBk43DhbuDx If0Csg5n16LRhd3CeMA== X-Authority-Analysis: v=2.4 cv=F5lnsKhN c=1 sm=1 tr=0 ts=6a2a8ff8 cx=c_pps a=JbAStetqSzwMeJznSMzCyw==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=pGLkceISAAAA:8 a=Adm4HkoqiFglUZcFbxYA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=uxP6HrT_eTzRwkO_Te1X:22 X-Proofpoint-ORIG-GUID: lCBhjjDgn00NTNnDdCQ8mAp00i8Lk6dq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-11_02,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 adultscore=0 bulkscore=0 suspectscore=0 impostorscore=0 priorityscore=1501 spamscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606110106 On 6/9/26 12:00 AM, Rob Herring wrote: > On Sat, Jun 6, 2026 at 6:21 AM Dmitry Baryshkov > wrote: >> >> On Fri, Jun 05, 2026 at 02:06:38PM -0500, Rob Herring wrote: >>> On Tue, Jun 02, 2026 at 11:12:34AM +1200, Oliver White wrote: >>>> Add the documentation for the 'snps,reinit-phy-on-resume' boolean >>>> property. When set, the DWC3 core will perform a full phy_exit() + >>>> phy_init() cycle on each USB2 PHY during the host-mode fast resume >>>> path. This is needed on platforms where the USB2 PHY power domain >>>> is gated during deep sleep even when device_may_wakeup is true. >>>> >>>> Signed-off-by: Oliver White >>>> --- >>>> .../devicetree/bindings/usb/snps,dwc3-common.yaml | 10 ++++++++++ >>>> 1 file changed, 10 insertions(+) >>>> >>>> diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml >>>> index 6c0b8b653824..d12f6ae81ab8 100644 >>>> --- a/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml >>>> +++ b/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml >>>> @@ -212,6 +212,16 @@ properties: >>>> When set, run the SOF/ITP counter based on ref_clk. >>>> type: boolean >>>> >>>> + snps,reinit-phy-on-resume: >>>> + description: >>>> + When set, the DWC3 will re-initialize the USB2 PHYs during the >>>> + host-mode fast resume path (device_may_wakeup). Some platforms >>>> + cut PHY power during deep sleep even when USB wake is enabled, >>>> + and the standard PHY runtime PM resume is insufficient to restore >>>> + the PHY register state. This quirk forces a full phy_exit() + >>>> + phy_init() cycle on each USB2 PHY. >>>> + type: boolean >>> >>> This should be implied from a platform specific compatible string. >> >> Platform as in the "root node compatible"? > > No, the SoC specific one in the node you are trying to add this property to. Taking a step back, wouldn't this point to an issue in the PHY driver itself? Konrad