]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: xgene: Add support RGMII TX/RX delay configuration
authorIyappan Subramanian <isubramanian@apm.com>
Mon, 26 Oct 2015 22:25:15 +0000 (15:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2015 03:21:51 +0000 (12:21 +0900)
commite9ee14fc54f1c913b8bb0927c7e2c3b64b42528c
tree852c88a4d6c9b7a50a3812521c677e9429d588e7
parent48755ae3396a4a4ae0585c2cfea05f5b3bcb80c3
drivers: net: xgene: Add support RGMII TX/RX delay configuration

Add RGMII TX/RX delay configuration support. RGMII standard requires 2ns
delay to help the RGMII bridge receiver to sample data correctly. If the
default value does not provide proper centering of the data sample, the
TX/RX delay parameters can be used to adjust accordingly.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c
drivers/net/ethernet/apm/xgene/xgene_enet_hw.h
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.h