Re: [PATCH 14/18] hw/net: cadence_gem: Add a new 'phy-addr' property

2020-08-16 Thread Philippe Mathieu-Daudé
On 8/16/20 3:42 PM, Bin Meng wrote: > On Sun, Aug 16, 2020 at 8:08 PM Nathan Rossi wrote: >> >> On Sun, 16 Aug 2020 at 18:29, Bin Meng wrote: >>> >>> On Sat, Aug 15, 2020 at 5:06 PM Philippe Mathieu-Daudé >>> wrote: On 8/14/20 6:40 PM, Bin Meng wrote: > From: Bin Meng > >

Re: [PATCH 14/18] hw/net: cadence_gem: Add a new 'phy-addr' property

2020-08-16 Thread Bin Meng
On Sun, Aug 16, 2020 at 8:08 PM Nathan Rossi wrote: > > On Sun, 16 Aug 2020 at 18:29, Bin Meng wrote: > > > > On Sat, Aug 15, 2020 at 5:06 PM Philippe Mathieu-Daudé > > wrote: > > > > > > On 8/14/20 6:40 PM, Bin Meng wrote: > > > > From: Bin Meng > > > > > > > > At present the PHY address of t

Re: [PATCH 14/18] hw/net: cadence_gem: Add a new 'phy-addr' property

2020-08-16 Thread Nathan Rossi
On Sun, 16 Aug 2020 at 18:29, Bin Meng wrote: > > On Sat, Aug 15, 2020 at 5:06 PM Philippe Mathieu-Daudé > wrote: > > > > On 8/14/20 6:40 PM, Bin Meng wrote: > > > From: Bin Meng > > > > > > At present the PHY address of the PHY connected to GEM is hard-coded > > > to either 23 (BOARD_PHY_ADDRE

Re: [PATCH 14/18] hw/net: cadence_gem: Add a new 'phy-addr' property

2020-08-16 Thread Philippe Mathieu-Daudé
On 8/16/20 10:29 AM, Bin Meng wrote: > On Sat, Aug 15, 2020 at 5:06 PM Philippe Mathieu-Daudé > wrote: >> >> On 8/14/20 6:40 PM, Bin Meng wrote: >>> From: Bin Meng >>> >>> At present the PHY address of the PHY connected to GEM is hard-coded >>> to either 23 (BOARD_PHY_ADDRESS) or 0. This might n

Re: [PATCH 14/18] hw/net: cadence_gem: Add a new 'phy-addr' property

2020-08-16 Thread Bin Meng
On Sat, Aug 15, 2020 at 5:06 PM Philippe Mathieu-Daudé wrote: > > On 8/14/20 6:40 PM, Bin Meng wrote: > > From: Bin Meng > > > > At present the PHY address of the PHY connected to GEM is hard-coded > > to either 23 (BOARD_PHY_ADDRESS) or 0. This might not be the case for > > all boards. Add a new

Re: [PATCH 14/18] hw/net: cadence_gem: Add a new 'phy-addr' property

2020-08-15 Thread Philippe Mathieu-Daudé
On 8/14/20 6:40 PM, Bin Meng wrote: > From: Bin Meng > > At present the PHY address of the PHY connected to GEM is hard-coded > to either 23 (BOARD_PHY_ADDRESS) or 0. This might not be the case for > all boards. Add a new 'phy-addr' property so that board can specify > the PHY address for each GE

[PATCH 14/18] hw/net: cadence_gem: Add a new 'phy-addr' property

2020-08-14 Thread Bin Meng
From: Bin Meng At present the PHY address of the PHY connected to GEM is hard-coded to either 23 (BOARD_PHY_ADDRESS) or 0. This might not be the case for all boards. Add a new 'phy-addr' property so that board can specify the PHY address for each GEM instance. Signed-off-by: Bin Meng --- hw/n