net: phy: Add new read ethernet phy id function
authorMichal Simek <michal.simek@xilinx.com>
Wed, 23 Feb 2022 14:45:40 +0000 (15:45 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 9 Mar 2022 11:43:16 +0000 (12:43 +0100)
commitdb681d4929cac3f5d0a8ce638e7e5306fe6038d2
tree099f3103642de45f71a4098bdbadfbafbc5ee696
parentd24b3e32ab7f89c0b411747203d7f103f475cfbf
net: phy: Add new read ethernet phy id function

Add new function to get ethernet phy id from compatible property
of the mdio phy node.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Link: https://lore.kernel.org/r/16019efb3820a50330935fdaae191cec1f101b5c.1645627539.git.michal.simek@xilinx.com
drivers/core/ofnode.c
include/dm/ofnode.h