netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] add ast2400/2500 phy-handle support
@ 2020-10-13 12:40 Ivan Mikhaylov
  2020-10-13 12:40 ` [PATCH 1/1] net: ftgmac100: add handling of mdio/phy nodes for ast2400/2500 Ivan Mikhaylov
  0 siblings, 1 reply; 5+ messages in thread
From: Ivan Mikhaylov @ 2020-10-13 12:40 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Po-Yu Chuang
  Cc: Ivan Mikhaylov, netdev, linux-kernel, openbmc

This patch introduces ast2400/2500 phy-handle support with an embedded
MDIO controller. At the current moment it is not possible to set options
with this format on ast2400/2500:

mac {
	phy-handle = <&phy>;
	phy-mode = "rgmii";

	mdio {
		#address-cells = <1>;
		#size-cells = <0>;

		phy: ethernet-phy@0 {
			compatible = "ethernet-phy-idxxxx.yyyy";
			reg = <0>;
		};
	};
};

The patch fixes it and gets possible PHYs and register them with
of_mdiobus_register.

Ivan Mikhaylov (1):
  net: ftgmac100: add handling of mdio/phy nodes for ast2400/2500

 drivers/net/ethernet/faraday/ftgmac100.c | 114 ++++++++++++++---------
 1 file changed, 69 insertions(+), 45 deletions(-)

-- 
2.21.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-17  5:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-13 12:40 [PATCH 0/1] add ast2400/2500 phy-handle support Ivan Mikhaylov
2020-10-13 12:40 ` [PATCH 1/1] net: ftgmac100: add handling of mdio/phy nodes for ast2400/2500 Ivan Mikhaylov
2020-10-14  5:23   ` Joel Stanley
2020-10-14 13:24     ` Ivan Mikhaylov
2020-10-17  2:10   ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).