From mboxrd@z Thu Jan 1 00:00:00 1970 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 EF2AB41B36D; Wed, 4 Feb 2026 15:05:46 +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=1770217547; cv=none; b=B0tHluFLvqWZxFrterh5eZ4ezY4Pkyo8UEHqUjYod/2wEPeZflkzmKX46SqJFshfAQmfqPhny7wpb4EUoHDUfIeu2wbr3+ZfrfMzQc6WStojkeyMCUTpc3iSF/W+Vnp5tCcCxp1DBiDka2tG4BXCqqjvsWWFiilM6i9rh5JPUBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770217547; c=relaxed/simple; bh=+P7whMoGkDrA/BypyBqNNDzD3ArW1u+swaAZQIWh7sU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KkLhUaSF9ECf+XpS/LaaWztm3R6kWQAnBEOyOpkD+xvJ5Hk8CRqmXHKruihq3vZ89DEpHcUINijnT8t6xd00iBgGSg0MRqs/8D2/5Q/4dYMzIBFJ1gHTYyJwx2eJ3Wz9974/sQWRcsoddJKA7CzAv/5VanbnDbtDeKXCDR3tWwo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tKnLd4CN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tKnLd4CN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D218C4CEF7; Wed, 4 Feb 2026 15:05:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770217546; bh=+P7whMoGkDrA/BypyBqNNDzD3ArW1u+swaAZQIWh7sU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tKnLd4CNftZ/tMcJqjkaCBMApJP7kOPvPuzk3uUbSYwNQ59X2Au9bC89h00hd49mQ 0963XqvdNsvDuIQ3rHh+Frgji2spPjRPVxVK/Vhe2wvkzwgaw6KFF1ovOmp4nPysd/ v7dRx6cr0CbHPQDzS1H85QZbCnhNzP2OfKbCH8DQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Wayne Chang , Vinod Koul Subject: [PATCH 6.1 046/280] phy: tegra: xusb: Explicitly configure HS_DISCON_LEVEL to 0x7 Date: Wed, 4 Feb 2026 15:37:00 +0100 Message-ID: <20260204143911.294811443@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260204143909.614719725@linuxfoundation.org> References: <20260204143909.614719725@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Wayne Chang commit b246caa68037aa495390a60d080acaeb84f45fff upstream. The USB2 Bias Pad Control register manages analog parameters for signal detection. Previously, the HS_DISCON_LEVEL relied on hardware reset values, which may lead to the detection failure. Explicitly configure HS_DISCON_LEVEL to 0x7. This ensures the disconnect threshold is sufficient to guarantee reliable detection. Fixes: bbf711682cd5 ("phy: tegra: xusb: Add Tegra186 support") Cc: stable@vger.kernel.org Signed-off-by: Wayne Chang Link: https://patch.msgid.link/20251212032116.768307-1-waynec@nvidia.com Signed-off-by: Vinod Koul Signed-off-by: Greg Kroah-Hartman --- drivers/phy/tegra/xusb-tegra186.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/phy/tegra/xusb-tegra186.c +++ b/drivers/phy/tegra/xusb-tegra186.c @@ -84,6 +84,7 @@ #define XUSB_PADCTL_USB2_BIAS_PAD_CTL0 0x284 #define BIAS_PAD_PD BIT(11) #define HS_SQUELCH_LEVEL(x) (((x) & 0x7) << 0) +#define HS_DISCON_LEVEL(x) (((x) & 0x7) << 3) #define XUSB_PADCTL_USB2_BIAS_PAD_CTL1 0x288 #define USB2_TRK_START_TIMER(x) (((x) & 0x7f) << 12) @@ -601,6 +602,8 @@ static void tegra186_utmi_bias_pad_power value &= ~BIAS_PAD_PD; value &= ~HS_SQUELCH_LEVEL(~0); value |= HS_SQUELCH_LEVEL(priv->calib.hs_squelch); + value &= ~HS_DISCON_LEVEL(~0); + value |= HS_DISCON_LEVEL(0x7); padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL0); udelay(1);