-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dm: mdio: add dm_eth_phy_connect_index()
Add the dm_eth_phy_connect_index() API which will let us connect to a specific PHY referenced through the phy-handle property. With this API, we can support multiple PHYs per an Ethernet device. The DTS node can be populated with something like below: phy-handle = <&inphi1_phy0 &inphi1_phy1>; If needed, the driver can call the dm_eth_phy_connect_index() multiple times so that it can probe and configure both PHYs described in the DTS. Signed-off-by: Ioana Ciornei <[email protected]>
- Loading branch information
1 parent
ad0ae45
commit b87e550
Showing
2 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters