lkml.org 
[lkml]   [2020]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC,net-next,v1, 0/1] Enable SERDES power up/down
Date
This patch is to enable Intel SERDES power up/down sequence. The SERDES
converts 8/10 bits data to SGMII signal.

1. Two new files intel_serdes.c and intel.h have been created to include
the power up/down logic.

2. Platform data has_serdes is created to identify HW system that requires
SERDES for SGMII mode. Expecting all Intel HW system will require it.
The identification logic is added in hwif.

3. A new stmmac_serdes_ops struct is introduced as helpers to program
SERDES.

Voon Weifeng (1):
net: stmmac: Enable SERDES power up/down sequence

drivers/net/ethernet/stmicro/stmmac/Makefile | 2 +-
drivers/net/ethernet/stmicro/stmmac/common.h | 1 +
.../net/ethernet/stmicro/stmmac/dwmac4_core.c | 1 +
drivers/net/ethernet/stmicro/stmmac/hwif.c | 44 ++++-
drivers/net/ethernet/stmicro/stmmac/hwif.h | 12 ++
.../ethernet/stmicro/stmmac/intel_serdes.c | 181 ++++++++++++++++++
.../ethernet/stmicro/stmmac/intel_serdes.h | 23 +++
.../net/ethernet/stmicro/stmmac/stmmac_main.c | 8 +
.../net/ethernet/stmicro/stmmac/stmmac_pci.c | 6 +
include/linux/stmmac.h | 2 +
10 files changed, 278 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/ethernet/stmicro/stmmac/intel_serdes.c
create mode 100644 drivers/net/ethernet/stmicro/stmmac/intel_serdes.h

--
2.17.1

\
 
 \ /
  Last update: 2020-03-22 14:24    [W:0.050 / U:5.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site