[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9926fc06-7f64-4902-b933-23b68571db5b@lunn.ch>
Date: Tue, 29 Oct 2024 13:46:24 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Andy Yan <andyshrk@....com>
Cc: Johan Jonker <jbx6244@...il.com>, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
david.wu@...k-chips.com, andy.yan@...k-chips.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-rockchip@...ts.infradead.org
Subject: Re: Re: [PATCH v1 2/2] net: arc: rockchip: fix emac mdio node support
On Tue, Oct 29, 2024 at 04:22:16PM +0800, Andy Yan wrote:
>
> Hi Andrew,
>
> At 2024-10-28 20:59:18, "Andrew Lunn" <andrew@...n.ch> wrote:
> >> Hello Johan,
> >> Thanks for your patch. Maybe we need a Fixes tag here?
> >
> >What is actually broken?
>
> The emac failed to probe after bellow patch merged.
>
> [ 2.324583] loop: module loaded
> [ 2.328435] SPI driver spidev has no spi_device_id for rockchip,spidev
> [ 2.338688] tun: Universal TUN/TAP device driver, 1.6
> [ 2.345397] rockchip_emac 10200000.ethernet: no regulator found
> [ 2.351892] rockchip_emac 10200000.ethernet: ARC EMAC detected with id: 0x7fd02
> [ 2.359331] rockchip_emac 10200000.ethernet: IRQ is 43
> [ 2.364719] rockchip_emac 10200000.ethernet: MAC address is now e6:58:d6:ec:d9:7c
> [ 2.396993] mdio_bus Synopsys MII Bus: mdio has invalid PHY address
> [ 2.403306] mdio_bus Synopsys MII Bus: scan phy mdio at address 0
> [ 2.508656] rockchip_emac 10200000.ethernet: of_phy_connect() failed
> [ 2.516334] rockchip_emac 10200000.ethernet: failed to probe arc emac (-19)
So it is failing to find the PHY, and given the 'mdio has invalid PHY
address' it is probably looking in the wrong node.
The commit message should explain this.
Andrew
Powered by blists - more mailing lists