From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (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 51C863876B5 for ; Mon, 1 Jun 2026 23:15:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780355748; cv=none; b=IliTDCN7JjaEBogDfqHaD1paoGaYoORZA1U35/j3z0KY3qLlvHApuAIjiWYrjAZsrEyKlwU95OIlKFsrslbrpECKCuIigO8CJXL+I0cBCuifBGli9qI0F6MpQNHBn/L+aLyuna3gVHut/GIFycPzIQ44M7scVwku+JwjkKH/wSc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780355748; c=relaxed/simple; bh=pEOFktyEdDrmsMq+VxhyWtZQC/mdnC1YCF3iTCL9224=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=G59sBfPuRW3r6Hd2klfFGk9KNnc19avTnl9tbxRbB1RBUZuQNWm1CC8dx2qfXgxns9thMqWugzYBuFC/tFXZvEcTe3Ntbri3mZAPd6BLZlND6bKitqHa9eIFDmiKgYo9JUVKngZZma3wdAohAD48zD8DULnKy9+PMUwiCzQychY= 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=et3aWNAB; arc=none smtp.client-ip=209.85.214.180 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="et3aWNAB" Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-2bf3781ca51so26315365ad.0 for ; Mon, 01 Jun 2026 16:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780355746; x=1780960546; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xQhwbUv75riwhJ2xHnBk5bpyd72x1+FfpjxIgAuZhAc=; b=et3aWNABTQ80KblQvTDfx1fppju0qciGXnI8ZWmoLtkAYX3QQxrvPRRVI9oaZ+s9dj RWoWVLZvaf9v5o9Hlvuol8nTXW593VXYx6a9H+H+QptUVtebnP4yJLp9Tak5PNe2cXvo P9v3fgjkk2flPzs2vlki98uZxr3eBmp0w3TDG55LPDT7qpcgwUy/Wy9/7PGaXZV6zc8j cC6UsZshHWwbtcp0EZRILCiXPPSpi9jXYmYj/i4B9BQOGJu8kHBhrtvCVP7uHSlauMmk BtbFXTdgAK8V48gBCQA8rHL2tEkWcyverHPkqNQu3LXl1mVHhpjRplFZvi3eF27lX1cW 39Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780355746; x=1780960546; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=xQhwbUv75riwhJ2xHnBk5bpyd72x1+FfpjxIgAuZhAc=; b=eVVZ9TOuyGiiFCqcuDO20df2nYiKkdIEyblGHtlliDZPpnW5sWq9djQhexKQyD2N4U QyWB07mlocYHKMoR7zmCkRA24oz6KpbcFX4Dw0T15xU9C3cjMl9fAQZ+sxPyVKbXlWHE 2xqha/6R1leOQ7kmzFKOSMZMG8dWLiUNWifSettsRcBPhSwnTQgzpi229lZRjcYo0I0o WnN3z2v+YEr4aQ8LTKRPZ3+Lkraf7/qPkeQVB8vRju/XdJdWXaLta0PP31ioCIAs4EGi eyrciQoyplycpAEwnX5seSHa6VpJ/o1+pudvEl1U2i+0nD6E7b6n2J+ooJhTC07TD9Du 0yKg== X-Forwarded-Encrypted: i=1; AFNElJ/1QQ+lUdam/5pvTwr2RjtHizSKod/65pvijTcpXxIvD857o1MFgX8PpUQBGOqlXHR7ZKOGlrOV26p0jHU=@vger.kernel.org X-Gm-Message-State: AOJu0Yy/AVC3XrjU3dS7ujI+hI4byDijfhUdSCLsJMEw2VpLGxM7A952 dRrWQDY4qRBb4gF4hJkj881MEfKpjh4c4gNMkPJ4wCniX3io071RHlW4 X-Gm-Gg: Acq92OFZ/IOYj2++SJ6V5XL1t90K/cI7UXRpAud16NR+CrZkfuipXlIGpq09s+4ym5i ACtbiSZHcKCxCkuGbub5wn3chpb1E/UtN4RXJ+plLxU8WgH+HSy4MgUxasqlM5U9LTzj5P6FU+B qyKKX9JN9EqPUBOtNLbeyKzsLgnBJW0y7vTk5eVeqmB0TkDffBUuSDViyTAoZ0cdLJGCn7ZDd0r uvYynq6OcRfF3VcD6Q9ce1tUnlybZL2ryYmCJij5Ge1+nLVvbyWk/Xj6iuB7zyAhRxcYdONvdY0 HdS0WhxtqFhp0WJqageMURAyT8lOhcN3TsPcRjxxSKKH18tvY0PfbifpvVByMRqiZpLHOUeZeAv qAAFoOE7XeYZ+3awTWApkSSAMemyGCP1NJGG29OuaFHtEbgw1U/UCX80Ee/BpM8jOfcEf0roVzA BLPdOusN51r7nSBtnd56w9Nd4JV/UBxcCkqZYiU8ze7CI8BDXs4CMHmyhzH3cFZn9D3aVvYIvAM Fk7LO+6Mq7fdffOXC53 X-Received: by 2002:a17:902:d58d:b0:2bf:2e28:db28 with SMTP id d9443c01a7336-2bf368263d0mr145407195ad.29.1780355746509; Mon, 01 Jun 2026 16:15:46 -0700 (PDT) Received: from tomriddle.canterbury.ac.nz ([202.36.179.106]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2bf239fd24fsm143815355ad.20.2026.06.01.16.15.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jun 2026 16:15:46 -0700 (PDT) From: Oliver White To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thinh Nguyen , Bjorn Andersson , Konrad Dybcio Cc: Felipe Balbi , Oliver White , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: usb: dwc3: document snps,reinit-phy-on-resume Date: Tue, 2 Jun 2026 11:12:34 +1200 Message-ID: <20260601231236.20402-2-oliverjwhite07@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260601231236.20402-1-oliverjwhite07@gmail.com> References: <20260601231236.20402-1-oliverjwhite07@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 + snps,resume-hs-terminations: description: Fix the issue of HS terminations CRC error on resume by enabling this -- 2.53.0