1. 25 1月, 2021 1 次提交
    • W
      net: add ethernet driver for MediaTek MT7620 SoC · 17ade70b
      Weijie Gao 提交于
      This patch adds  ethernet driver for MediaTek MT7620 SoC.
      
      The MT7620 SoC has a built-in ethernet (Frame Engine) and a built-in
      7-port switch and two xMII interfaces (can be MII/RMII/RGMII).
      
      The port 0-3 of the switch connects to intergrited FE PHYs. Port 4 can be
      configured to connect to either the intergrited FE PHY, or the xMII.
      Port 5 always connects to the xMII. Port 6 is the CPU port.
      
      This driver supports MT7530 giga switch connects to port 5.
      Reviewed-by: NStefan Roese <sr@denx.de>
      Signed-off-by: NWeijie Gao <weijie.gao@mediatek.com>
      17ade70b
  2. 22 10月, 2020 1 次提交
  3. 14 10月, 2020 2 次提交
  4. 17 9月, 2020 1 次提交
    • H
      net, qe: add DM support for QE UEC ethernet · 6e31c62a
      Heiko Schocher 提交于
      add DM/DTS support for the UEC ethernet on QUICC Engine
      Block.
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Patch-cc: Mario Six <mario.six@gdsys.cc>
      Patch-cc: Qiang Zhao <qiang.zhao@nxp.com>
      Patch-cc: Holger Brunck <holger.brunck@hitachi-powergrids.com>
      Patch-cc: Madalin Bucur <madalin.bucur@oss.nxp.com>
      
      Series-changes: 3
      - revert:
        commit "3374264d" ("drivers: net: qe: deselect QE when DM_ETH is enabled")
        as now qe works with DM and DM_ETH support.
      - fix mailaddress from Holger
      
      Series-changes: 2
      - add comments from Qiang Zhao:
        - add device node documentation
        - I did not drop the dm_qe_uec_phy.c and use drivers/net/fsl_mdio.c
          because using drivers/net/fsl_mdio.c leads in none existent
          udevice mdio@3320
          instead boards with DM ETH support should use now this
          driver.
      - remove RFC tag
      
      Commit-notes:
      
      - I let the old none DM based implementation in code
        so boards should work with old implementation.
        This Code should be removed if all boards are converted
        to DM/DTS.
      
      - add the DM based qe uec driver under drivers/net/qe
      
      - Therefore copied the files uccf.c uccf.h uec.h from
        drivers/qe. So there are a lot of Codingstyle problems
        currently. I fix them in next version if this RFC
        patch is OK or it needs some changes.
      
      - The dm based driver code is now under drivers/net/qe/dm_qe_uec.c
        Used a lot of functions from drivers/qe/uec.c
      
      - seperated the PHY specific code into seperate file
        drivers/net/qe/dm_qe_uec_phy.c
      
      END
      6e31c62a
  5. 20 8月, 2020 1 次提交
  6. 05 8月, 2020 1 次提交
  7. 25 7月, 2020 1 次提交
  8. 08 7月, 2020 1 次提交
  9. 30 6月, 2020 1 次提交
  10. 19 6月, 2020 2 次提交
  11. 03 6月, 2020 1 次提交
  12. 23 5月, 2020 1 次提交
  13. 16 5月, 2020 2 次提交
  14. 10 5月, 2020 1 次提交
    • Y
      net: Add eth phy generic driver for shared MDIO · 5fe419ef
      Ye Li 提交于
      For dual ethernet controllers, the HW design may connect ETH phys to
      one MDIO ports. So two different ethernet drivers have to share MDIO bus.
      Since two ethernet drivers are independent, we can't ensure their probe
      order.
      
      To resolve this problem, introduce an eth phy generic driver and uclass.
      
      After eth-uclass binds, we search the mdio node and binds the phy node
      with the eth-phy-generic driver.
      
      When one eth driver get its phy device, the parent of phy device will
      probe prior than phy device. So this ensure the eth driver ownes the
      MDIO bus will be probed before using its MDIO.
      Signed-off-by: NYe Li <ye.li@nxp.com>
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      5fe419ef
  15. 01 5月, 2020 1 次提交
  16. 29 4月, 2020 1 次提交
  17. 30 1月, 2020 1 次提交
  18. 10 1月, 2020 1 次提交
  19. 09 12月, 2019 1 次提交
  20. 05 11月, 2019 1 次提交
  21. 25 10月, 2019 1 次提交
    • W
      net: mt7628-eth: make phy link up detection optional via DT · f0793210
      Weijie Gao 提交于
      The mt7628 has an embedded ethernet switch (5 phy ports + 1 cpu port).
      Although in IOT mode only port0 is usable, the phy0 is still connected
      to the switch, not the ethernet gmac directly.
      
      This patch rewrites it and makes it optional. It can be turned on by adding
      mediatek,poll-link-phy = <?> explicitly into the eth node. By default the
      driver is switch mode with all 5 phy ports working without link detection.
      Signed-off-by: NWeijie Gao <weijie.gao@mediatek.com>
      f0793210
  22. 05 9月, 2019 4 次提交
  23. 29 7月, 2019 1 次提交
  24. 26 7月, 2019 3 次提交
  25. 19 7月, 2019 3 次提交
  26. 16 7月, 2019 2 次提交
  27. 27 5月, 2019 1 次提交
  28. 03 5月, 2019 1 次提交
    • W
      mips: rename mach-mt7620 to mach-mtmips · 16b94903
      Weijie Gao 提交于
      Currently mach-mt7620 contains only support for mt7628. To avoid confusion,
      rename mach-mt7620 to mach-mtmips, which means MediaTek MIPS platforms.
      MT7620 and MT7628 should be distinguished by SOC_MT7620 and SOC_MT7628
      because they do not share the same lowlevel codes.
      
      Dependencies of four drivers are changed to SOC_MT7628 as these drivers
      are only used by MT7628.
      
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Reviewed-by: NStefan Roese <sr@denx.de>
      Signed-off-by: NWeijie Gao <weijie.gao@mediatek.com>
      16b94903
  29. 24 4月, 2019 1 次提交