[PATCH 0/3] Allow to specify the PHY number to use with a specific i.MX FEC/ENET Ethernet device

Jean-Christophe Dubois posted 3 patches 3 years, 9 months ago
Test FreeBSD passed
Test docker-quick@centos7 passed
Test checkpatch passed
Test docker-mingw@fedora passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1593296112.git.jcd@tribudubois.net
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Peter Chubb <peter.chubb@nicta.com.au>, Jason Wang <jasowang@redhat.com>, Jean-Christophe Dubois <jcd@tribudubois.net>
hw/arm/fsl-imx6ul.c         | 10 ++++++++++
hw/arm/mcimx6ul-evk.c       |  2 ++
hw/net/imx_fec.c            | 24 +++++++++++++++++-------
hw/net/trace-events         |  4 ++--
include/hw/arm/fsl-imx6ul.h |  2 ++
include/hw/net/imx_fec.h    |  1 +
6 files changed, 34 insertions(+), 9 deletions(-)
[PATCH 0/3] Allow to specify the PHY number to use with a specific i.MX FEC/ENET Ethernet device
Posted by Jean-Christophe Dubois 3 years, 9 months ago
The PHY device associated to a specific i.MX Ethernet device is not 
necessarily at address 0 on the MDIO bus.

This patch series adds the ability to set the PHY number on the MDIO bus
for any i.MX6UL based board.

Jean-Christophe Dubois (3):
  Add a phy-num property to the i.MX FEC emulator
  Add the ability to select a different PHY for each i.MX6UL FEC
    interface
  Select MDIO device 2 and 1 as PHY devices for i.MW6UL EVK board.

 hw/arm/fsl-imx6ul.c         | 10 ++++++++++
 hw/arm/mcimx6ul-evk.c       |  2 ++
 hw/net/imx_fec.c            | 24 +++++++++++++++++-------
 hw/net/trace-events         |  4 ++--
 include/hw/arm/fsl-imx6ul.h |  2 ++
 include/hw/net/imx_fec.h    |  1 +
 6 files changed, 34 insertions(+), 9 deletions(-)

-- 
2.25.1


Re: [PATCH 0/3] Allow to specify the PHY number to use with a specific i.MX FEC/ENET Ethernet device
Posted by Peter Maydell 3 years, 9 months ago
On Sun, 28 Jun 2020 at 21:21, Jean-Christophe Dubois
<jcd@tribudubois.net> wrote:
>
> The PHY device associated to a specific i.MX Ethernet device is not
> necessarily at address 0 on the MDIO bus.
>
> This patch series adds the ability to set the PHY number on the MDIO bus
> for any i.MX6UL based board.
>
> Jean-Christophe Dubois (3):
>   Add a phy-num property to the i.MX FEC emulator
>   Add the ability to select a different PHY for each i.MX6UL FEC
>     interface
>   Select MDIO device 2 and 1 as PHY devices for i.MW6UL EVK board.



Applied to target-arm.next, thanks.

-- PMM