[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <660b7b17-0136-bf69-fd12-1c125069829b@free.fr>
Date: Fri, 13 Jan 2017 18:35:57 +0100
From: Mason <slash.tmp@...e.fr>
To: Zefir Kurtisi <zefir.kurtisi@...atec.com>,
netdev <netdev@...r.kernel.org>
Cc: Mans Rullgard <mans@...sr.com>,
Florian Fainelli <f.fainelli@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Thibaud Cornic <thibaud_cornic@...madesigns.com>
Subject: Re: Setting link down or up in software
On 13/01/2017 17:28, Zefir Kurtisi wrote:
> As for your specific problem: since I fought myself with the PHY/ETH subsystems
> over the past months, I might remember something relevant to your issue. Could you
> give some more info on your setup (PHY driver, opmode (SGMII, RGMII, etc.), ETH).
Hello Zefir,
My boards are using these drivers:
http://lxr.free-electrons.com/source/drivers/net/ethernet/aurora/nb8800.c
http://lxr.free-electrons.com/source/drivers/net/phy/at803x.c
The relevant device tree nodes are:
eth0: ethernet@...00 {
compatible = "sigma,smp8734-ethernet";
reg = <0x26000 0x800>;
interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkgen SYS_CLK>;
};
ð0 {
phy-connection-type = "rgmii";
phy-handle = <ð0_phy>;
#address-cells = <1>;
#size-cells = <0>;
/* Atheros AR8035 */
eth0_phy: ethernet-phy@4 {
compatible = "ethernet-phy-id004d.d072",
"ethernet-phy-ieee802.3-c22";
interrupts = <37 IRQ_TYPE_EDGE_RISING>;
reg = <4>;
};
};
If I comment the PHY "interrupts" property, then the PHY framework
falls back to polling.
Am I forgetting important information?
Regards.
Powered by blists - more mailing lists