Re: [PATCH 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-14 Thread Cristian Ciocaltea
On Sun, Mar 14, 2021 at 05:36:32AM +0100, Andrew Lunn wrote: > > > > + if (phy->interface != PHY_INTERFACE_MODE_RMII) { > > > > + netdev_err(netdev, "unsupported phy mode: %s\n", > > > > + phy_modes(phy->interface)); > > > > +

Re: [PATCH 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-13 Thread Andrew Lunn
> > > + if (phy->interface != PHY_INTERFACE_MODE_RMII) { > > > + netdev_err(netdev, "unsupported phy mode: %s\n", > > > +phy_modes(phy->interface)); > > > + phy_disconnect(phy); > > > + netdev->phydev = NULL; > > > + return -EINVAL; > > > + } > >

Re: [PATCH 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-13 Thread Cristian Ciocaltea
Hi Andrew, Thank you for the detailed review! On Sat, Mar 13, 2021 at 02:01:19AM +0100, Andrew Lunn wrote: > On Thu, Mar 11, 2021 at 03:20:13AM +0200, Cristian Ciocaltea wrote: > > +static inline void owl_emac_reg_set(struct owl_emac_priv *priv, > > + u32 reg, u32

Re: [PATCH 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-12 Thread Andrew Lunn
On Thu, Mar 11, 2021 at 03:20:13AM +0200, Cristian Ciocaltea wrote: > +static inline void owl_emac_reg_set(struct owl_emac_priv *priv, > + u32 reg, u32 bits) > +{ > + owl_emac_reg_update(priv, reg, bits, bits); > +} Hi Cristian No inline functions in C files

Re: [PATCH 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-11 Thread Cristian Ciocaltea
Hi Philipp, Thanks for your quick review! I will incorporate the indicated changes in the next patch revision. Kind regards, Cristi On Thu, Mar 11, 2021 at 07:43:36AM +0100, Philipp Zabel wrote: > Hi Cristian, > > On Thu, Mar 11, 2021 at 03:20:13AM +0200, Cristian Ciocaltea wrote: > > Add new

Re: [PATCH 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-10 Thread Philipp Zabel
Hi Cristian, On Thu, Mar 11, 2021 at 03:20:13AM +0200, Cristian Ciocaltea wrote: > Add new driver for the Ethernet MAC used on the Actions Semi Owl > family of SoCs. > > Currently this has been tested only on the Actions Semi S500 SoC > variant. > > Signed-off-by: Cristian Ciocaltea > ---

[PATCH 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-10 Thread Cristian Ciocaltea
Add new driver for the Ethernet MAC used on the Actions Semi Owl family of SoCs. Currently this has been tested only on the Actions Semi S500 SoC variant. Signed-off-by: Cristian Ciocaltea --- drivers/net/ethernet/Kconfig|1 + drivers/net/ethernet/Makefile |1 +