diff options
author | Nate Drude <nate.d@variscite.com> | 2022-04-08 11:28:14 -0500 |
---|---|---|
committer | Ramon Fried <ramon@neureality.ai> | 2022-04-10 08:44:13 +0300 |
commit | d79f1a85697e3af24a97728f6e4f16635bdc8290 (patch) | |
tree | 9d0fe45093c5123e61558588981ecf6dc7816648 /include/phy.h | |
parent | f3409d7ae6127b6aa33ec9cdb63808745ed4b56e (diff) | |
download | u-boot-d79f1a85697e3af24a97728f6e4f16635bdc8290.tar.gz |
phy: adin: add driver for Analog Devices ADIN1300 PHY
The current implementation configures RGMII using device tree phy-mode
property and then calls genphy_config
adin_config_rgmii_mode is derived from:
https://github.com/varigit/linux-imx/blob/lf-5.10.y_var04/drivers/net/phy/adin.c#L218-L262
Signed-off-by: Nate Drude <nate.d@variscite.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'include/phy.h')
-rw-r--r-- | include/phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h index 30af8bfa0e6..37b2a0281e3 100644 --- a/include/phy.h +++ b/include/phy.h @@ -526,6 +526,7 @@ int gen10g_discover_mmds(struct phy_device *phydev); int phy_b53_init(void); int phy_mv88e61xx_init(void); +int phy_adin_init(void); int phy_aquantia_init(void); int phy_atheros_init(void); int phy_broadcom_init(void); |