Re: [PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-14 Thread Ezequiel Garcia
On Wed, 2021-04-14 at 18:35 +0200, Heiko Stübner wrote: > Am Mittwoch, 14. April 2021, 18:33:12 CEST schrieb Chen-Yu Tsai: > > On Thu, Apr 15, 2021 at 12:14 AM Ezequiel Garcia > > wrote: > > > > > > Hi Peter, Heiko, > > > > > > On Wed, 2021-04-14 at 13:15 +0200, Heiko Stübner wrote: > > > > Am

Re: [PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-14 Thread Heiko Stübner
Am Mittwoch, 14. April 2021, 18:33:12 CEST schrieb Chen-Yu Tsai: > On Thu, Apr 15, 2021 at 12:14 AM Ezequiel Garcia > wrote: > > > > Hi Peter, Heiko, > > > > On Wed, 2021-04-14 at 13:15 +0200, Heiko Stübner wrote: > > > Am Mittwoch, 14. April 2021, 13:03:25 CEST schrieb Peter Geis: > > > > On Tue

Re: [PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-14 Thread Chen-Yu Tsai
On Thu, Apr 15, 2021 at 12:14 AM Ezequiel Garcia wrote: > > Hi Peter, Heiko, > > On Wed, 2021-04-14 at 13:15 +0200, Heiko Stübner wrote: > > Am Mittwoch, 14. April 2021, 13:03:25 CEST schrieb Peter Geis: > > > On Tue, Apr 13, 2021 at 7:37 PM Ezequiel Garcia > > > wrote: > > > > > > +static void

Re: [PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-14 Thread Ezequiel Garcia
Hi Peter, Heiko, On Wed, 2021-04-14 at 13:15 +0200, Heiko Stübner wrote: > Am Mittwoch, 14. April 2021, 13:03:25 CEST schrieb Peter Geis: > > On Tue, Apr 13, 2021 at 7:37 PM Ezequiel Garcia > > wrote: > > > > > +static void rk3566_set_to_rmii(struct rk_priv_data *bsp_priv) > > > > > +{ > > > > >

Re: [PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-14 Thread Ezequiel Garcia
On Wed, 2021-04-14 at 07:03 -0400, Peter Geis wrote: > On Tue, Apr 13, 2021 at 7:37 PM Ezequiel Garcia > wrote: > > > > On Tuesday, April 13, 2021 19:51 -03, Peter Geis > > wrote: > > > > > On Tue, Apr 13, 2021 at 5:03 PM Ezequiel Garcia > > > wrote: > > > > > > > > From: David Wu > > > >

Re: [PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-14 Thread Heiko Stübner
Am Mittwoch, 14. April 2021, 13:03:25 CEST schrieb Peter Geis: > On Tue, Apr 13, 2021 at 7:37 PM Ezequiel Garcia > wrote: > > > > +static void rk3566_set_to_rmii(struct rk_priv_data *bsp_priv) > > > > +{ > > > > + struct device *dev = &bsp_priv->pdev->dev; > > > > + > > > > + if (IS_E

Re: [PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-14 Thread Peter Geis
On Tue, Apr 13, 2021 at 7:37 PM Ezequiel Garcia wrote: > > On Tuesday, April 13, 2021 19:51 -03, Peter Geis wrote: > > > On Tue, Apr 13, 2021 at 5:03 PM Ezequiel Garcia > > wrote: > > > > > > From: David Wu > > > > > > Add constants and callback functions for the dwmac present > > > on RK3566

Re: [PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-13 Thread Peter Geis
On Tue, Apr 13, 2021 at 5:03 PM Ezequiel Garcia wrote: > > From: David Wu > > Add constants and callback functions for the dwmac present > on RK3566 and RK3568 SoCs. As can be seen, the base structure > is the same, only registers and the bits in them moved slightly. > > RK3568 supports two MACs,

[PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-13 Thread Ezequiel Garcia
From: David Wu Add constants and callback functions for the dwmac present on RK3566 and RK3568 SoCs. As can be seen, the base structure is the same, only registers and the bits in them moved slightly. RK3568 supports two MACs, and RK3566 support just one. Signed-off-by: David Wu [Ezequiel: Add