1. 05 Dec, 2014 1 commit
  2. 20 Nov, 2014 1 commit
  3. 23 Oct, 2014 1 commit
  4. 06 Aug, 2014 1 commit
  5. 05 Mar, 2014 1 commit
  6. 22 Nov, 2013 2 commits
  7. 24 Jul, 2013 1 commit
  8. 25 Jun, 2013 1 commit
  9. 14 May, 2013 1 commit
  10. 10 May, 2013 1 commit
    • Matt Porter's avatar
      phy: add support for ET1011C phys · f485c8a3
      Matt Porter authored
      Adds an ET1011C PHY driver which is derived from the
      Linux kernel PHY driver (drivers/net/phy/et1011c.c)
      from the v3.9-rc2 tag. Note that an errata workaround
      config option is implemented to allow for TX_CLK to be
      enabled even when gigabit mode is negotiated. This
      workaround is used on the PG1.0 TI814X EVM.
      Signed-off-by: default avatarMatt Porter <mporter@ti.com>
      Reviewed-by: default avatarTom Rini <trini@ti.com>
      f485c8a3
  11. 28 Jan, 2013 1 commit
  12. 27 Feb, 2012 1 commit
  13. 05 Jan, 2012 1 commit
  14. 20 Oct, 2011 1 commit
  15. 20 Apr, 2011 2 commits
    • Andy Fleming's avatar
      phylib: Add a bunch of PHY drivers from tsec · 9082eeac
      Andy Fleming authored
      The tsec driver had a bunch of PHY drivers already written. This
      converts them all into PHY Lib drivers, and serves as the first
      set of PHY drivers for PHY Lib.
      
      While doing that, cleaned up a number of magic numbers (though
      not all of them, as PHY vendors like to keep their numbers as
      magical as possible).  Also, noticed that almost all of the
      vitesse/cicada PHYs had the same config/parse/startup functions,
      so those have been collapsed into one.
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
      9082eeac
    • Andy Fleming's avatar
      Create PHY Lib for U-Boot · 5f184715
      Andy Fleming authored
      Extends the mii_dev structure to participate in a full-blown MDIO and
      PHY driver scheme.  The mii_dev structure and miiphy calls are modified
      in such a way to allow the original mii command and miiphy
      infrastructure to work as before, but also to support a new set of APIs
      which allow (among other things) sharing of PHY driver code and 10G support
      
      The mii command will continue to support normal PHY management functions
      (Clause 22 of 802.3), but will not be changed to support 10G
      (Clause 45).
      
      The basic design is similar to PHY Lib from Linux, but simplified for
      U-Boot's network and driver infrastructure.
      
      We now have MDIO drivers and PHY drivers
      
      An MDIO driver provides:
      read
      write
      reset
      
      A PHY driver provides:
      (optionally): probe
      config - initial setup, starting of auto-negotiation
      startup - waiting for AN, and reading link state
      shutdown - any cleanup needed
      
      The ethernet drivers interact with the PHY Lib using these functions:
      phy_connect()
      phy_config()
      phy_startup()
      phy_shutdown()
      
      Each PHY driver can be configured separately, or all at once using
      config_phylib_all_drivers.h (added in the patch which adds the drivers)
      
      We also provide generic drivers for Clause 22 (10/100/1000), and
      Clause 45 (10G) PHYs.
      
      We also implement phy_reset(), and call it in phy_connect(). Because
      phy_reset() is essentially the same as miiphy_reset, but:
      a) must support 10G PHYs, and
      b) should use the phylib primitives,
      
      we implement miiphy_reset, using phy_reset(), but only when
      CONFIG_PHYLIB is set. Otherwise, we just use the old version. In this
      way, we save on compile size, even if we don't manage to save code size.
      
      Pulled ethtool.h and mdio.h from:
      git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
      782d640afd15af7a1faf01cfe566ca4ac511319d
      With many, many deletions so as to enable compilation under u-boot
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
      5f184715