On Wed, Jun 29, 2016 at 02:10:13AM -0700, thloh@xxxxxxxxxx wrote: > From: Tien Hock Loh <thloh@xxxxxxxxxx> > > This adds support for TSE PCS that uses SGMII adapter when the phy-mode of > the dwmac is set to sgmii. > > Signed-off-by: Tien Hock Loh <thloh@xxxxxxxxxx> > > --- > v2: > - Refactored the TSE PCS out from the dwmac-socfpga.c file > - Added binding documentation for TSE PCS sgmii adapter > v3: > - Added missing license header for new source files > - Updated tse_pcs.h include headers > - Standardize if statements > v4: > - Reset SGMII adapter on speed change > - Do not enable SGMII adapter if speed is not supported > - On init, if PCS reset fails, do not enable adapter > v5: > - Fixed devicetree binding property name using _ instead of - > v6: > - Fixed a problem where driver build broken if driver is set as module > --- > .../devicetree/bindings/net/socfpga-dwmac.txt | 19 ++ Acked-by: Rob Herring <robh@xxxxxxxxxx> > drivers/net/ethernet/stmicro/stmmac/Makefile | 3 +- > drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c | 276 +++++++++++++++++++++ > drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.h | 36 +++ > .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 141 +++++++++-- > 5 files changed, 453 insertions(+), 22 deletions(-) > create mode 100644 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c > create mode 100644 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.h -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html