]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
dt-bindings: phy: dp83867: provide a workaround for incorrect RX_CTRL pin strap
authorMurali Karicheri <m-karicheri2@ti.com>
Tue, 4 Jul 2017 10:53:23 +0000 (16:23 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jul 2017 08:23:53 +0000 (09:23 +0100)
commit908a7733250a2ebcacfafb2ebe0f25c853ac7fdc
tree887383909719ee2c76a22ce4ab4731570ee4ec5d
parenta778427efc67490b6ee7ea4593065dede4445fb6
dt-bindings: phy: dp83867: provide a workaround for incorrect RX_CTRL pin strap

The data manual for DP83867IR/CR, SNLS484E[1], revised march 2017,
advises that strapping RX_DV/RX_CTRL pin in mode 1 and 2 is not
supported (see note below Table 5 (4-Level Strap Pins)).

It further advises that if a board has this pin strapped in mode 1 and
mode 2, then to ensure proper operation of the PHY, a software workaround
must be implemented.

Since it is not possible to detect in software if RX_DV/RX_CTRL pin is
incorrectly strapped, add a device-tree property for the board to
advertise this and allow corrective action in software.

[1] http://www.ti.com/lit/ds/snls484e/snls484e.pdf

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
[nsekhar@ti.com: rebase to mainline, split documentation into separate patch]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/ti,dp83867.txt