1. 17 7月, 2016 1 次提交
  2. 27 6月, 2016 1 次提交
  3. 11 6月, 2016 2 次提交
  4. 15 3月, 2016 2 次提交
    • D
      phy: mdio-thunder: Add driver for Cavium Thunder SoC MDIO buses. · 379d7ac7
      David Daney 提交于
      The Cavium Thunder SoCs have multiple MIDO buses that are part of a
      single PCI device.  To model this in the device tree we call the PCI
      parent device a "cavium,thunder-8890-mdio-nexus", it has several
      children, one for each MDIO bus.
      
      The MDIO bus hardware is identical to that found in the OCTEON SoCs,
      so we use that code for things that are not part of the PCI driver
      probe/remove
      Signed-off-by: NDavid Daney <david.daney@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      379d7ac7
    • D
      phy: mdio-octeon: Refactor into two files/modules · 1eefee90
      David Daney 提交于
      A follow-on patch uses PCI probing to find the Thunder MDIO hardware.
      In preparation for this, split out the common code into a new file
      mdio-cavium.c, which will be used by both the existing OCTEON driver,
      and the new Thunder PCI based driver.
      
      As part of the refactoring simplify the struct cavium_mdiobus by
      removing fields that are only ever used in the probe function and can
      just as well be local variables.
      
      Use readq/writeq in preference to readq_relaxed/writeq_relaxed as the
      relaxed form was an optimization for an early chip revision, and the
      MDIO drivers are not performance bottlenecks that need optimization in
      the first place.
      Signed-off-by: NDavid Daney <david.daney@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1eefee90
  5. 08 1月, 2016 1 次提交
  6. 22 10月, 2015 1 次提交
  7. 08 10月, 2015 3 次提交
  8. 10 9月, 2015 1 次提交
  9. 01 8月, 2015 1 次提交
  10. 21 7月, 2015 1 次提交
  11. 04 6月, 2015 1 次提交
  12. 16 5月, 2015 1 次提交
  13. 17 12月, 2014 1 次提交
    • D
      net: Allow FIXED_PHY to be modular. · 6539c44d
      David S. Miller 提交于
      Otherwise we get things like:
      
      warning: (NET_DSA_BCM_SF2 && BCMGENET && SYSTEMPORT) selects FIXED_PHY which has unmet direct dependencies (NETDEVICES && PHYLIB=y)
      
      In order to make this work we have to rename fixed.c to fixed_phy.c
      because the regulator drivers already have a module named "fixed.o".
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6539c44d
  14. 28 8月, 2014 1 次提交
  15. 06 6月, 2014 1 次提交
  16. 14 2月, 2014 1 次提交
  17. 08 11月, 2013 1 次提交
  18. 01 6月, 2013 1 次提交
  19. 19 10月, 2012 1 次提交
  20. 31 8月, 2012 1 次提交
  21. 28 6月, 2012 1 次提交
  22. 08 5月, 2012 2 次提交
    • D
      netdev/of/phy: Add MDIO bus multiplexer driven by GPIO lines. · 416912a1
      David Daney 提交于
      The GPIO pins select which sub bus is connected to the master.
      
      Initially tested with an sn74cbtlv3253 switch device wired into the
      MDIO bus.
      Signed-off-by: NDavid Daney <david.daney@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      416912a1
    • D
      netdev/of/phy: Add MDIO bus multiplexer support. · 0ca2997d
      David Daney 提交于
      This patch adds a somewhat generic framework for MDIO bus
      multiplexers.  It is modeled on the I2C multiplexer.
      
      The multiplexer is needed if there are multiple PHYs with the same
      address connected to the same MDIO bus adepter, or if there is
      insufficient electrical drive capability for all the connected PHY
      devices.
      
      Conceptually it could look something like this:
      
                         ------------------
                         | Control Signal |
                         --------+---------
                                 |
       ---------------   --------+------
       | MDIO MASTER |---| Multiplexer |
       ---------------   --+-------+----
                           |       |
                           C       C
                           h       h
                           i       i
                           l       l
                           d       d
                           |       |
           ---------       A       B   ---------
           |       |       |       |   |       |
           | PHY@1 +-------+       +---+ PHY@1 |
           |       |       |       |   |       |
           ---------       |       |   ---------
           ---------       |       |   ---------
           |       |       |       |   |       |
           | PHY@2 +-------+       +---+ PHY@2 |
           |       |                   |       |
           ---------                   ---------
      
      This framework configures the bus topology from device tree data.  The
      mechanics of switching the multiplexer is left to device specific
      drivers.
      
      The follow-on patch contains a multiplexer driven by GPIO lines.
      Signed-off-by: NDavid Daney <david.daney@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0ca2997d
  23. 20 3月, 2012 1 次提交
  24. 20 12月, 2011 1 次提交
  25. 24 5月, 2011 1 次提交
  26. 04 5月, 2010 1 次提交
  27. 17 12月, 2009 1 次提交
    • D
      NET: Add driver for Octeon MDIO buses. · 25d967b7
      David Daney 提交于
      The Octeon SOC has two types of Ethernet ports, each type with its own
      driver.  However, the PHYs for all the ports are controlled by a
      common MDIO bus.  Because the mdio driver is not associated with a
      particular driver, but is instead a system level resource, we create s
      stand-alone driver for it.
      
      As for the driver, we put the register definitions in
      arch/mips/include/asm/octeon where most of the other Octeon register
      definitions live.  This is a platform driver with the platform device
      for "mdio-octeon" being registered in the platform startup code.
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      25d967b7
  28. 08 7月, 2009 1 次提交
  29. 10 12月, 2008 1 次提交
  30. 29 11月, 2008 2 次提交
  31. 17 11月, 2008 1 次提交
  32. 31 5月, 2008 1 次提交
  33. 03 2月, 2008 1 次提交
  34. 11 10月, 2007 1 次提交