Re: [PATCH v5 1/2] net: phy: DP83822 initial driver submission

2017-10-11 Thread David Miller
From: Dan Murphy Date: Tue, 10 Oct 2017 12:42:55 -0500 > Add support for the TI DP83822 10/100Mbit ethernet phy. > > The DP83822 provides flexibility to connect to a MAC through a > standard MII, RMII or RGMII interface. > > In addition the DP83822 needs to be removed from the

Re: [PATCH v5 1/2] net: phy: DP83822 initial driver submission

2017-10-10 Thread Dan Murphy
Florian On 10/10/2017 01:56 PM, woojung@microchip.com wrote: >> +static int dp83822_config_intr(struct phy_device *phydev) >> +{ >> +int misr_status; >> +int physcr_status; >> +int err; >> + >> +if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { >> +misr_status =

RE: [PATCH v5 1/2] net: phy: DP83822 initial driver submission

2017-10-10 Thread Woojung.Huh
> +static int dp83822_config_intr(struct phy_device *phydev) > +{ > + int misr_status; > + int physcr_status; > + int err; > + > + if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { > + misr_status = phy_read(phydev, MII_DP83822_MISR1); > + if (misr_status <

Re: [PATCH v5 1/2] net: phy: DP83822 initial driver submission

2017-10-10 Thread Florian Fainelli
On 10/10/2017 10:42 AM, Dan Murphy wrote: > Add support for the TI DP83822 10/100Mbit ethernet phy. > > The DP83822 provides flexibility to connect to a MAC through a > standard MII, RMII or RGMII interface. > > In addition the DP83822 needs to be removed from the DP83848 driver > as the WoL

Re: [PATCH v5 1/2] net: phy: DP83822 initial driver submission

2017-10-10 Thread Andrew F. Davis
On 10/10/2017 12:42 PM, Dan Murphy wrote: > Add support for the TI DP83822 10/100Mbit ethernet phy. > > The DP83822 provides flexibility to connect to a MAC through a > standard MII, RMII or RGMII interface. > > In addition the DP83822 needs to be removed from the DP83848 driver > as the WoL

[PATCH v5 1/2] net: phy: DP83822 initial driver submission

2017-10-10 Thread Dan Murphy
Add support for the TI DP83822 10/100Mbit ethernet phy. The DP83822 provides flexibility to connect to a MAC through a standard MII, RMII or RGMII interface. In addition the DP83822 needs to be removed from the DP83848 driver as the WoL support is added here for this device. Datasheet: