From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796309315; b=DuUNebts8QZp5ftGLvpVIrjRTm2EHHGGif8269QZE2vmcbYKpQclMEiu4mF+yEzmbTmg 6uJ7w6vsjrWBWStYErT+b8f+TlJ2TUgJQimoJSyyZAnFfp3UKdmkRmof87GhviP6gMw7V PyT4WW93YEeRPms6e0cX6v0gxWQ5T1gFH67PKY2uxYQotTM3SYVqt/PbYxAIe5gMeJ2s4 4x3F8LqhoKZY8EmMUx4E2iToU11ilQDws8WlJqZhA1pHSfnuaZnPnNBb27Hla69EpzxBk Jf036Nrb5/JyRj+LaNkN34YPJbzTJQDakhZz3kxAsSNUr7ctStMKP8KhPfeLllyw0hw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796309315; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=F+odQW8ba/LGbFx3xWoFW6QttrNPh4sqgK2xJ5VpOrE=; b=pXsFU7QVsKOYEIzzdGHX20JONDkynNfyvmcxrOpvze0ytA97E+c7rd9T2M2DcmBxmMt9 kVhjvvYyo1U3xsMnKunbuG0jAL/hgEqYmpAPLHRCbW+ul8QylHs3f/ksrJOKcRo1I+fzE 1ps8bicAt745lzHMlyxJGdWSpWJDW0GkimxKJoCGOLow/c6ufODTk5faZ7F45V5m14blb MmzgkP1vvjASjmZbuDLiduoVeS9bV1U/vNbAw7ceHPYSoLdrpivqJx7BIGdeSV8sRIHQI 1EezLlUJQQBnvt8k4daqMKZ8yG8BxOM4zZwH7l33hRWknjfFPz9aqJGi2E56x0OIEdQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=lI0AbHdW; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02CEB606A333 for ; Thu, 3 Dec 2026 14:48:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=lI0AbHdW Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8C531F00899; Thu, 3 Dec 2026 14:48:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796309314; bh=F+odQW8ba/LGbFx3xWoFW6QttrNPh4sqgK2xJ5VpOrE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=lI0AbHdW5Gv35HUjXkIR9XvVKLGUzfd08H4PmAE/BvRhIzMwh1PfU87A81vcmdDkL 4/cPEDHK5gFut8kEunr7vUQpLope5/yEqm6188/+Jf5Att+NzGqUofQICA2JS/brIz JyBkRPZIOVtW5teXe2yqT/fLOV+gk57eLDkWLEPVuUvhtGWyFqsgEhiyANYSJQj0Rs m8DB6NkIUJ8alY2GswS2fDU4L/uG9AanGT45bAhejONy1ufOwgEx8Ov8UzIrBpDzFQ P8Q/LDCuNVzRSNUVtvYsarmvG8NW6pmywxcCGDUc99eeioDrMQg/CHUaq/56AkvLiI s18Lx5j2P4fVQ== Date: Thu, 3 Dec 2026 15:48:32 +0100 From: Thierry Reding To: Jon Hunter Cc: JC Kuo , Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , linux-tegra@vger.kernel.org, linux-phy@lists.infradead.org, Wayne Chang Subject: Re: [PATCH v2 2/2] phy: tegra: xusb-tegra186: Extend Tegra264 fuse calibration Message-ID: References: <20261202-tegra-phy-tegra264-v2-0-2ef15ed73f2c@nvidia.com> <20261202-tegra-phy-tegra264-v2-2-2ef15ed73f2c@nvidia.com> X-Mailing-List: linux-tegra@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2yjzr7hq6fmwjksl" Content-Disposition: inline In-Reply-To: <20261202-tegra-phy-tegra264-v2-2-2ef15ed73f2c@nvidia.com> --2yjzr7hq6fmwjksl Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v2 2/2] phy: tegra: xusb-tegra186: Extend Tegra264 fuse calibration MIME-Version: 1.0 On Wed, Dec 02, 2026 at 02:52:18PM +0000, Jon Hunter wrote: > From: Wayne Chang >=20 > Add support for receiver offset and squelch offset calibration on > Tegra264 to compensate for manufacturing variation in the USB2 > receivers. The receiver offset calibrates the receiver differential > offset between D+ and D-, while squelch offset calibrates the squelch > detector differential offset used to distinguish valid high-speed > signaling from low-amplitude noise or idle. Each USB2 port has a 4-bit > REC_OS (receiver offset) value and an 8-bit SQ_OS (squelch offset) value > stored in fuses. >=20 > Add a SoC data variable 'has_rec_sq_offsets' to indicate if the USB PHY > supports the REC_OS and SQ_OS register fields. If the USB PHY supports > these fields, then read REC_OS for ports 0-2 from FUSE_USB_CALIB_EXT_0 > and for port 3 from FUSE_USB_CALIB_EXT3_0 and read SQ_OS for all four > ports from FUSE_USB_CALIB_EXT2_0. Apply these values to the corresponding > fields in each port's USB2 pad-control register when powering on the PHY. >=20 > Signed-off-by: Wayne Chang > Signed-off-by: Jon Hunter > --- > drivers/phy/tegra/xusb-tegra186.c | 57 +++++++++++++++++++++++++++++++++= ++++++ > drivers/phy/tegra/xusb.h | 1 + > 2 files changed, 58 insertions(+) Reviewed-by: Thierry Reding --2yjzr7hq6fmwjksl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmsRgT0ACgkQ3SOs138+ s6HUwQ//SIDrQ5pru4KjA6xqiQ5vzseD86A8YY8lgrsXB3lrqRXcQVDtg1tpdExu hvUaz0HohLsi5mZJHEaji8CIc5+FAfm3F8iyFrIKQY2Qth6TKsPm9LPYNzhOVn4P h1RyoUCGcwCvFgCHm24WT3d7PVqBOeDNTLqbN2viruxvk3T8FCYCLxtp6OZXbryV r6E/2kap8w7ObyLugGFZZ/n8L++tRYNsbK4+VL3Rmvk0C9c/TNWo6bH6TcVeAPv9 w6/5tHlMa/HN1vQ1TUNs777C51Y1pL49pUFFnXD1xpNq+FVjvJE4nE4IwN/PdYK6 vztlKSgRKVT6l07hXQzuzZ6h5NSF+KsDdexhtFyhbSYPW91YwBhJnQtwl6GnNdda hlU6bQFXNW2GL564whrvGPHCPsoCgu1fh87bAb8LMamktrUer4GdehOUA57TbJnE 2xFR6g6FQXjib5dA0FWCuT3t+jWulImH5Tt6d9ja3Kt8q50x4pKZ/GLGZ+m7uGCv fxyVwTu+Fab2nCP17geAqoxJpUEZdKh/3YXxvtpBQcYmYB1lqQMQvZMK0KrxRLIu 0fEbwlDgus1Wk6zOvNNPT3XqchNRz6pTXQ9XwaIGfqapzf5Up9ZCBb7xZRezmnz2 kWH7inMbMs0YhwEX1K7JbkzSGElNVwFEqqXgaMD1jZgu38WZiI0= =UIT1 -----END PGP SIGNATURE----- --2yjzr7hq6fmwjksl--