From nobody Mon Feb 9 19:04:37 2026 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (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 3C2922773D3 for ; Tue, 3 Feb 2026 18:42:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770144129; cv=none; b=GImkSrk1SOZWpBY/9/iOTW3LiG+iyGMNmCAKSUiCYnNVWau3kqEbrxU8Z9ukIL15k3n0/X+7un7TeB+iar1Cym8q8QF/9egAS66ZbVWoQWissAWSkTIMrzB/SctVbZFW4+l56axjpqr5uqWdHwEaBcEgnZvP1Ta6SfZnT7knMt4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770144129; c=relaxed/simple; bh=fiS+Dsf7kejX8rScYfkmaaLrPJb2gNjvgY69POQjL74=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AFI2gQPBPosKA/E9bClOu+htuRiXnWaCHz5Wpw5NEZ5PvcxCfj5sXpXif+8hIj+l81xulapwjfHEPN8e1ejPaktJ2fSYzp8uxxUXGoqguZPsnV0ZCw4S/0deWe+R0gV1oW8A+bVzrVduHvYVcNO0DZiw+fyYPWYr/uefuIs+AlM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=qJCm4Vpz; arc=none smtp.client-ip=148.251.105.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="qJCm4Vpz" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1770144125; bh=fiS+Dsf7kejX8rScYfkmaaLrPJb2gNjvgY69POQjL74=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=qJCm4VpzioKSrLqOhsnrXy+XjjfgZLRcdFMPKUg57jnrcJZTQuNF/Un0LmagglpFx bbaqqJUbgEHRfdFZ5FC+pC9E/QjSbqhjSDTaLwVuXz/gBdbyaBae5MUZ+hpRNspIKT J9PbAtfD8hlfrwEvJLlfAjTJehKIPMZYCvAEj6jQPB1sGVmJTRSxv3G7d0oR0RGbc9 kiLAi8FML7lfbGUMLfgBPh9OlOcNajNQIaoAMFDWOuOZ6NpcsexTqEH1c+P8ug3Xto DR/E7R1XDmc75g4xlGVVDmeM1Jo1TgiYVboYQ6WyhPPFKKCsmEgKAy/pi5kLtB5JEs VTkFdXbeL7xGg== Received: from jupiter.universe (dyndsl-091-248-189-143.ewe-ip-backbone.de [91.248.189.143]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by bali.collaboradmins.com (Postfix) with ESMTPSA id 81F6B17E0927; Tue, 3 Feb 2026 19:42:05 +0100 (CET) Received: by jupiter.universe (Postfix, from userid 1000) id 4B637480027; Tue, 03 Feb 2026 19:42:05 +0100 (CET) From: Sebastian Reichel Date: Tue, 03 Feb 2026 19:41:28 +0100 Subject: [PATCH 2/7] phy: rockchip: usbdp: Fix LFPS detect threshold control Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260203-rockchip-usbdp-cleanup-v1-2-16a6f92ed176@collabora.com> References: <20260203-rockchip-usbdp-cleanup-v1-0-16a6f92ed176@collabora.com> In-Reply-To: <20260203-rockchip-usbdp-cleanup-v1-0-16a6f92ed176@collabora.com> To: Vinod Koul , Neil Armstrong , Heiko Stuebner Cc: Andy Yan , Yubing Zhang , linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Sebastian Reichel , William Wu X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1464; i=sebastian.reichel@collabora.com; h=from:subject:message-id; bh=6KTsI7g25/YTK5NqGxPQGl5yWawgw8+Ad7FeccmRckk=; b=owJ4nAFtApL9kA0DAAoB2O7X88g7+poByyZiAGmCQX0N/sukoZNN81S2a1Xt9AvKmgNodU1mh f4X/sB6QfKB+IkCMwQAAQoAHRYhBO9mDQdGP4tyanlUE9ju1/PIO/qaBQJpgkF9AAoJENju1/PI O/qaN2sP/jUtS/35QjGdbSsXIl9TsKYB2ct9jnfFprR4enUwqpT5vMrJZ1ygscdBtqbflVn41q9 WkUQ6VArXS2Tep1zAlaC03XvUcKt93Yk5zehyjQrlmO8x+ssXzNmTC/Y1CNrD5FuVr2GEMGyEK4 pg78ZH9orwsCq0Umw1jQZlOH0UEH9NceerQ8s00Ek6rsDm6FMJoe8/bKBnFb6CeodPxh4/d3Ao7 anpUGarJxBSle1whl4n6th9fxpgQZ32Zycn386lXg0HuvfQoYQLZ91ujCNWY7jT94ZEpiAxytPR cGTyzY5OipVxrYOhPz/vN0Oh2uk73zDom3fmh6w2rR0NkYA0TBXgjnXdmWNwB9YXey2ZTtKI+b9 1xsqVoJtbqDaRPGWuDLrnpUtg8hJLWaKF6Bb/ge34+g20RBiecF3NzXWsR+gw/B+7PoqqZj56do /Qlc0Js8Lsm5yrnbLqJfCHd0UBhVEJJzCrj+hp11k7U1Yqufi2bvKLiszpKYsIdkEIM7KlMOppx CWoCOFYBKpeK4IOK5jc7oKmV9SjFjTnid6K5olMKRKhRUqIrOpMEz4NXivHohnhJ5e1kBJU1djZ nha4I4WfabKI+cvL7F2F7khBrVzXQVgeu+j0ca8kKtiyaP9hyMt2tjhtU4F8VnnQaS6ugpHwzVK 1HRqu9O2iEmjBu/a8Fuo7AA== X-Developer-Key: i=sebastian.reichel@collabora.com; a=openpgp; fpr=EF660D07463F8B726A795413D8EED7F3C83BFA9A From: William Wu According to the LFPS Tx Low Power/LFPS Rx Detect Threshold [1], the device under test(DUT) must not respond if LFPS below the minimum LFPS Rx Detect Threshold 100mV. Test fail on Rockchip platforms, because the default LFPS detect threshold is set to 65mV. The USBDP PHY LFPS detect threshold voltage could be set to 30mV ~ 140mV, and since there could be 10-20% PVT variation, we set LFPS detect threshold voltage to 110mV. [1] https://compliance.usb.org/resources/LFPS_Rx_Tx_Low_Power_Compliance_Up= date_Rev5.pdf Signed-off-by: William Wu [Taken over from rockchip's kernel tree; the registers are not described in the TRM] Signed-off-by: Sebastian Reichel --- drivers/phy/rockchip/phy-rockchip-usbdp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/phy/rockchip/phy-rockchip-usbdp.c b/drivers/phy/rockch= ip/phy-rockchip-usbdp.c index b494819be284..7e4142aef192 100644 --- a/drivers/phy/rockchip/phy-rockchip-usbdp.c +++ b/drivers/phy/rockchip/phy-rockchip-usbdp.c @@ -413,7 +413,8 @@ static const struct reg_sequence rk_udphy_init_sequence= [] =3D { {0x0070, 0x7d}, {0x0074, 0x68}, {0x0af4, 0x1a}, {0x1af4, 0x1a}, {0x0440, 0x3f}, {0x10d4, 0x08}, - {0x20d4, 0x08}, {0x0024, 0x6e} + {0x20d4, 0x08}, {0x0024, 0x6e}, + {0x09c0, 0x0a}, {0x19c0, 0x0a} }; =20 static inline int rk_udphy_grfreg_write(struct regmap *base, --=20 2.51.0