]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: dp83867: allow RGMII_TXID/RGMII_RXID interface types
authorKaricheri, Muralidharan <m-karicheri2@ti.com>
Fri, 13 Jan 2017 14:32:34 +0000 (09:32 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jan 2017 18:29:51 +0000 (13:29 -0500)
commit8212b7c61b5a63c85e4d23ae7d612c07a515907e
treed395ae855b879a856a754a6eb66d7a77259856d8
parent87a262bae4f892144625710b270297d2b51388f9
net: phy: dp83867: allow RGMII_TXID/RGMII_RXID interface types

Currently dp83867 driver returns error if phy interface type
PHY_INTERFACE_MODE_RGMII_RXID is used to set the rx only internal
delay. Similarly issue happens for PHY_INTERFACE_MODE_RGMII_TXID.
Fix this by checking also the interface type if a particular delay
value is missing in the phy dt bindings. Also update the DT document
accordingly.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/ti,dp83867.txt
drivers/net/phy/dp83867.c