]> git.karo-electronics.de Git - karo-tx-linux.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)
commit34c55cf2fc75f8bf6ba87df321038c064cf2d426
treed395ae855b879a856a754a6eb66d7a77259856d8
parent02ca0423fd65a0a9c4d70da0dbb8f4b8503f08c7
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