netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • [parent not found: <20181005082926.27845-2-pankaj.bansal@nxp.com>]
  • * [PATCH v2 0/2] add MDIO bus multiplexer driven by a regmap device
           [not found] <20181005082926.27845-1-pankaj.bansal@nxp.com>
           [not found] ` <20181005082926.27845-3-pankaj.bansal@nxp.com>
           [not found] ` <20181005082926.27845-2-pankaj.bansal@nxp.com>
    @ 2018-10-07 18:24 ` Pankaj Bansal
      2018-10-07 18:24   ` [PATCH v2 1/2] dt-bindings: net: " Pankaj Bansal
      2018-10-07 18:24   ` [PATCH v2 2/2] netdev/phy: add MDIO bus multiplexer driven by a regmap Pankaj Bansal
      2 siblings, 2 replies; 12+ messages in thread
    From: Pankaj Bansal @ 2018-10-07 18:24 UTC (permalink / raw)
      To: Andrew Lunn, Florian Fainelli; +Cc: netdev, Pankaj Bansal, Varun Sethi
    
    Add support for an MDIO bus multiplexer controlled by a regmap device, like an FPGA.
    
    This driver is an extension of the existing driver drivers/net/phy/mdio-mux-mmioreg.c.
    
    The problem with mmioreg driver is that it can operate only on memory mapped devices.
    but if we have a device that controls mdio muxing and that device is controlled using
    i2c or spi, then it will not work.
    
    Therefore, added a driver that uses regmap device to control mdio mux.
    
    Tested on a NXP LX2160AQDS board which uses the "QIXIS" FPGA attached to the i2c bus.
    
    Cc: Varun Sethi <V.Sethi@nxp.com>
    
    
    Pankaj Bansal (2):
      dt-bindings: net: add MDIO bus multiplexer driven by a regmap device
      netdev/phy: add MDIO bus multiplexer driven by a regmap
    
     .../bindings/net/mdio-mux-regmap.txt          |  95 ++++++++++
     drivers/net/phy/Kconfig                       |  13 ++
     drivers/net/phy/Makefile                      |   1 +
     drivers/net/phy/mdio-mux-regmap.c             | 171 ++++++++++++++++++
     4 files changed, 280 insertions(+)
     create mode 100644 Documentation/devicetree/bindings/net/mdio-mux-regmap.txt
     create mode 100644 drivers/net/phy/mdio-mux-regmap.c
    
    -- 
    2.17.1
    
    ^ permalink raw reply	[flat|nested] 12+ messages in thread

  • end of thread, other threads:[~2018-10-23  1:27 UTC | newest]
    
    Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20181005082926.27845-1-pankaj.bansal@nxp.com>
         [not found] ` <20181005082926.27845-3-pankaj.bansal@nxp.com>
         [not found]   ` <20181005035142.GC7715@lunn.ch>
    2018-10-05  4:31     ` [PATCH 2/2] netdev/phy: add MDIO bus multiplexer driven by a regmap Pankaj Bansal
    2018-10-05 13:53       ` Andrew Lunn
         [not found] ` <20181005082926.27845-2-pankaj.bansal@nxp.com>
         [not found]   ` <20181005030818.GB7715@lunn.ch>
    2018-10-05  4:32     ` [PATCH 1/2] dt-bindings: net: add MDIO bus multiplexer driven by a regmap device Pankaj Bansal
    2018-10-07 18:24 ` [PATCH v2 0/2] " Pankaj Bansal
    2018-10-07 18:24   ` [PATCH v2 1/2] dt-bindings: net: " Pankaj Bansal
    2018-10-07 18:01     ` Florian Fainelli
    2018-10-18  4:30       ` Pankaj Bansal
    2018-10-22  4:22         ` Pankaj Bansal
    2018-10-22 17:08           ` Florian Fainelli
    2018-10-07 18:24   ` [PATCH v2 2/2] netdev/phy: add MDIO bus multiplexer driven by a regmap Pankaj Bansal
    2018-10-07 18:08     ` Florian Fainelli
    2018-10-18  4:35       ` Pankaj Bansal
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).