From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 27 Jan 2021 14:22:15 -0500 Subject: [PATCH] net: phy: micrel: Try default PHY ofnode first In-Reply-To: <20210116231616.302205-1-marex@denx.de> References: <20210116231616.302205-1-marex@denx.de> Message-ID: <20210127192215.GK7530@bill-the-cat> 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, Jan 17, 2021 at 12:16:16AM +0100, Marek Vasut wrote: > The phydev structure has a PHY OF node pointer in it, use that OF node > first when looking up PHY OF node properties, since that is likely the > correct PHY OF node pointer. If the pointer is not valid, which is the > case e.g. on legacy DTs, fall back to parsing MAC ethernet-phy subnode. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Ramon Fried Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: