Re: [PATCH net-next v2 3/3] dpaa2-mac: add PCS support through the Lynx module

2020-09-23 Thread Ioana Ciornei
On Thu, Sep 24, 2020 at 03:10:51AM +0200, Andrew Lunn wrote: > > +static int dpaa2_pcs_create(struct dpaa2_mac *mac, > > + struct device_node *dpmac_node, int id) > > +{ > > + struct mdio_device *mdiodev; > > + struct device_node *node; > > + > > + node = of_parse_phandl

Re: [PATCH net-next v2 3/3] dpaa2-mac: add PCS support through the Lynx module

2020-09-23 Thread Andrew Lunn
> +static int dpaa2_pcs_create(struct dpaa2_mac *mac, > + struct device_node *dpmac_node, int id) > +{ > + struct mdio_device *mdiodev; > + struct device_node *node; > + > + node = of_parse_phandle(dpmac_node, "pcs-handle", 0); > + if (!node) { > +

[PATCH net-next v2 3/3] dpaa2-mac: add PCS support through the Lynx module

2020-09-23 Thread Ioana Ciornei
Include PCS support in the dpaa2-eth driver by integrating it with the new Lynx PCS module. There is not much to talk about in terms of changes needed in the dpaa2-eth driver since the only steps necessary are to find the MDIO device representing the PCS, register it to the Lynx PCS module and then