From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 33D1F2FE58C; Tue, 11 Nov 2025 03:54:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762833288; cv=none; b=tTvie8Qj9/JMHsmBoNpw7mPtYS8HI1mi8fC+3cdUSMs0ZS0+mZytwNXkvu8vAia0hQ03uNWmQQikQ7w1sSUUVEg+pEh7h8sLQtj8dK/cn9vMR+P/KCuwsoJ79S61GUUKUMKcdrYsYkkKVjZxru5xFL4yXjit/EP3RiOGNtCAKec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762833288; c=relaxed/simple; bh=KCpIaLjalBiAts4BlF8z0thYIgNX0Ov814IxfDtK4eE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gsKgT6lusKLgrPBpipz/EJ8C19tTa0h/GoZN9vjgWvPx9DEnuhF8NCaMeWsWM/InfYH5tvF7r3kMDcovBg7xH7fDFXePHAcgAs8fgXr0Zl2vAeqQ9hDuK+oig4e3S9FN3lj/BU7kPIhW+LTRmeiFv8pwtFeuF+N5l+YXYHkbj/c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=EwDApLhG; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="EwDApLhG" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=XWsTOh/tGoSDdexqVzbhSZh00cz/1O3DCmzedyUbB0E=; b=EwDApLhG5inqUa8BCa3WS5nhM6 1LgNUJgdF0cMJovIcZFjz3g60M5KB3O7s/abJRub3YQBiXTgdTqBmjC7JG1uK6Gz7lniD/kezMMeW bRg/5d4V6UrCXJQBdWUQOXv4tVKRWcjj/H/ZATyVfl+lId2fifeSS9pY1LW9mMuw4IRc=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1vIfSn-00DaUW-HR; Tue, 11 Nov 2025 04:54:37 +0100 Date: Tue, 11 Nov 2025 04:54:37 +0100 From: Andrew Lunn To: Maxime Chevallier Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, thomas.petazzoni@bootlin.com, Jakub Kicinski , Eric Dumazet , Paolo Abeni , Russell King , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Herve Codina , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , =?iso-8859-1?Q?K=F6ry?= Maincent , Marek =?iso-8859-1?Q?Beh=FAn?= , Oleksij Rempel , =?iso-8859-1?Q?Nicol=F2?= Veronese , Simon Horman , mwojtas@chromium.org, Antoine Tenart , devicetree@vger.kernel.org, Conor Dooley , Krzysztof Kozlowski , Rob Herring , Romain Gantois , Daniel Golle , Dimitri Fedrau Subject: Re: [PATCH net-next v15 04/15] net: phy: dp83822: Add support for phy_port representation Message-ID: <9a7f4d7c-8bb8-4403-938e-4ee677fe5f97@lunn.ch> References: <20251106094742.2104099-1-maxime.chevallier@bootlin.com> <20251106094742.2104099-5-maxime.chevallier@bootlin.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20251106094742.2104099-5-maxime.chevallier@bootlin.com> On Thu, Nov 06, 2025 at 10:47:29AM +0100, Maxime Chevallier wrote: > With the phy_port representation introduced, we can use .attach_port to > populate the port information based on either the straps or the > ti,fiber-mode property. This allows simplifying the probe function and > allow users to override the strapping configuration. > > Reviewed-by: Christophe Leroy > Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn Andrew