diff options
author | Allan W. Nielsen <allan.nielsen@microsemi.com> | 2016-10-12 15:47:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-14 10:06:13 -0400 |
commit | 4f58e6dceb0e44ca8f21568ed81e1df24e55964c (patch) | |
tree | 7eb13e31386568fdfa2fcd07909f1b7183433eee /include/dt-bindings | |
parent | cf53b1da73bdf940f1523ec5a7d375d7056c759c (diff) | |
download | talos-obmc-linux-4f58e6dceb0e44ca8f21568ed81e1df24e55964c.tar.gz talos-obmc-linux-4f58e6dceb0e44ca8f21568ed81e1df24e55964c.zip |
net: phy: Cleanup the Edge-Rate feature in Microsemi PHYs.
Edge-Rate cleanup include the following:
- Updated device tree bindings documentation for edge-rate
- The edge-rate is now specified as a "slowdown", meaning that it is now
being specified as positive values instead of negative (both
documentation and implementation wise).
- Only explicitly documented values for "vsc8531,vddmac" and
"vsc8531,edge-slowdown" are accepted by the device driver.
- Deleted include/dt-bindings/net/mscc-phy-vsc8531.h as it was not needed.
- Read/validate devicetree settings in probe instead of init
Signed-off-by: Allan W. Nielsen <allan.nielsen@microsemi.com>
Signed-off-by: Raju Lakkaraju <raju.lakkaraju@microsemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/net/mscc-phy-vsc8531.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/dt-bindings/net/mscc-phy-vsc8531.h b/include/dt-bindings/net/mscc-phy-vsc8531.h deleted file mode 100644 index 2383dd20ff43..000000000000 --- a/include/dt-bindings/net/mscc-phy-vsc8531.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Device Tree constants for Microsemi VSC8531 PHY - * - * Author: Nagaraju Lakkaraju - * - * License: Dual MIT/GPL - * Copyright (c) 2016 Microsemi Corporation - */ - -#ifndef _DT_BINDINGS_MSCC_VSC8531_H -#define _DT_BINDINGS_MSCC_VSC8531_H - -/* MAC interface Edge rate control VDDMAC in milli Volts */ -#define MSCC_VDDMAC_3300 3300 -#define MSCC_VDDMAC_2500 2500 -#define MSCC_VDDMAC_1800 1800 -#define MSCC_VDDMAC_1500 1500 -#define MSCC_VDDMAC_MAX 4 -#define MSCC_SLOWDOWN_MAX 8 - -#endif |