]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Cleanup the Edge-Rate feature in Microsemi PHYs.
authorAllan W. Nielsen <allan.nielsen@microsemi.com>
Wed, 12 Oct 2016 13:47:51 +0000 (15:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Oct 2016 14:06:13 +0000 (10:06 -0400)
commit352f995470bdbeea8eb21276206f963fcd8507dd
tree7eb13e31386568fdfa2fcd07909f1b7183433eee
parentae0febc20511b44b4c9d9082c8e4604068531842
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>
Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt
drivers/net/phy/mscc.c
include/dt-bindings/net/mscc-phy-vsc8531.h [deleted file]