]> git.dujemihanovic.xyz Git - u-boot.git/commit
phy: adin: add driver for Analog Devices ADIN1300 PHY
authorNate Drude <nate.d@variscite.com>
Fri, 8 Apr 2022 16:28:14 +0000 (11:28 -0500)
committerRamon Fried <ramon@neureality.ai>
Sun, 10 Apr 2022 05:44:13 +0000 (08:44 +0300)
commitd79f1a85697e3af24a97728f6e4f16635bdc8290
tree9d0fe45093c5123e61558588981ecf6dc7816648
parentf3409d7ae6127b6aa33ec9cdb63808745ed4b56e
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>
doc/device-tree-bindings/net/phy/adin.txt [new file with mode: 0644]
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/adin.c [new file with mode: 0644]
drivers/net/phy/phy.c
include/phy.h