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=1796037364; b=RC7PWG+NZi5h6VMdvSS5gJmxc1ryS4rWzUZtkjBKunaqKnT11tTntb/eyL4BrdHzHSs5 Fr4+VwKC6K7CWbco0CaklqjeZJjQU/3Equ8gqL/546SLsWN6Q1smtRkzCqQOZwZzSmAST djiOwtkUtaXxcogtFtjVFPYoTMpnC0VtmbfbroiME4q4YmrpQoPmZh7zUbDOHCUklUCtF 6LDXfaF9q2VlUWWUsP8IAYNZwccVciKwdGo5SCa8qpuy1MoO11XL2vTFVEjY2Bg8t1XZD Do8ciGArA3FKnkQI5I16+hBwJ0LPjrZVnpUdoF7XOnbjPd/2v7AXCN9KMtMc4EUJtFg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796037364; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=VXezc/zXVzYMHqe7+BCmWKs6j1C56T+Muj0c3obRS9g=; b=zCo6IHU2C0J/n6a8fTFe7XRAtBA/xLh2vFr/KDk9OZVmXwDzkbWa6STbtgrW7T/Kh+oS CvKYusmhWXPlfdHm5EFAc38PmH3Tcb7+dQbcj0lx0BTKWgZPSJx13nbyWRLhdX+yUyYXE WKqDFA0FMQE4uJNjqAW4r/7JdnqyYSrzHeddpwj+4sBEbb9uIwolKLq83ExAQ0cvYydqC BD643cK6srHXyx9e/lrR0NDsRYDQzaYBIcsj1AkyPhFQtFqv5boBkZ9aRNI4wBGbL6UCQ 2tRlhXRH64pad4XsxSE5+pALEVaeM0NWr3+NXhyuFXYTBu90wAThUOltbDNcMVMeF+g== 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=Xj9vSIY3; 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 14DA3606A31C; Mon, 30 Nov 2026 11:16:04 +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=Xj9vSIY3 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30A3D1F00919; Mon, 30 Nov 2026 11:16:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796037363; bh=VXezc/zXVzYMHqe7+BCmWKs6j1C56T+Muj0c3obRS9g=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Xj9vSIY3J/WtcyUEj89z4mNPV59WgiY39itqBWXxEeFl9JV+hd1/2ExnXFzuhiDSs ynUKW4LTgxir8eHotLwso0t+NBpaKxtdGvkpYaUwHSIWZhP+7Cv6pjBYDkEyVkwPSC 11KNQ0IaXJ9QrXM9muHyahUtw2nTIewHhmaEe2TI/sQdJ0v8HbP+vvO7POlD3DwlWO DF9EzwDWMClcprN7GabnS3ospRQgV7ap9/Z4v868pBLstXZOFtzMjBlryR/y5K6TNw 39CYskbWaibXeJZOD3HjfXvVHTk7R5k386afk4rgMN7IexcTVIUlnL2+FIq5TOjwy0 aa9kVRa1YPgkA== Date: Mon, 30 Nov 2026 12:15:59 +0100 From: Niklas Cassel To: Frank Li , "vladimir.oltean@nxp.com" , Richard Zhu Cc: Damien Le Moal , linux-ide@vger.kernel.org, imx@lists.linux.dev, Inochi Amaoto Subject: Re: [PATCH v6 8/8] ata: ahci_imx: Use bulk PHY APIs for calibration PHYs Message-ID: References: <20261130063607.294823-1-inochiama@gmail.com> <20261130063607.294823-9-inochiama@gmail.com> <173fe224-6ec9-4f40-b63c-b2d88887901f@kernel.org> X-Mailing-List: imx@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Nov 30, 2026 at 03:42:54PM +0800, Inochi Amaoto wrote: > On Mon, Nov 30, 2026 at 04:14:10PM +0900, Damien Le Moal wrote: > > On 11/30/26 15:36, Inochi Amaoto wrote: > > > Currently the i.MX8QM SATA PHY relies on the first two HSIO lanes > > > for shared impedance calibration. Store these calibration PHYs in > > > a bulk array and acquire them by name with devm_phy_bulk_get(). > > > Then process it in the lane id order in the imx8_sata_enable(). > > > > > > The document of this controller shows that the PHY will enter > > > calibration mode only after it is deasserted. And this deassert > > > is performed in the PHYs' power_on() callback. As the init() > > > callback only enabled the clocks of the calibration PHY. It > > > should be safe to use bulk api to init all the calibration PHYs > > > > "should be safe" ? Did you actually test this or are you assuming it is ok and > > works? > > > > I checked the document and assumed it is OK as the document has no > words on the requirement that the calibration PHYs should be init fully > one by one. > > In fact, I already said it is untested as I do not have a borad in > the cover letter. Hello NXP people, it would be nice if we could get a Tested-by from someone with HW. Kind regards, Niklas