From: Vladimir Oltean Date: Sun, 14 Mar 2021 09:59:56 +0200 Subject: [PATCH v3 02/22] of: extra: Introduce ofnode_phy_is_fixed_link() API In-Reply-To: <20210314051510.26628-3-bmeng.cn@gmail.com> References: <20210314051510.26628-1-bmeng.cn@gmail.com> <20210314051510.26628-3-bmeng.cn@gmail.com> Message-ID: <20210314075956.kbgghpibtad4dlr4@skbuf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Mar 14, 2021 at 01:14:50PM +0800, Bin Meng wrote: > Introduce a helper API ofnode_phy_is_fixed_link() to detect whether > the ethernet controller connects to a fixed-link pseudo-PHY device. > > Note there are two ways to describe a fixed PHY attached to an > Ethernet device: > > - the new DT binding, where 'fixed-link' is a sub-node of the > Ethernet device > - the old DT binding, where 'fixed-link' is a property with 5 > cells encoding various information about the fixed PHY > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass > > --- Reviewed-by: Vladimir Oltean