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)
commit16615a4c6f4d54d7655dff19e7061c76043f907d
tree852c88a4d6c9b7a50a3812521c677e9429d588e7
parentb7af1472afa2228bd9fe8b4cea3b003b4027d72d
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