OSDN Git Service

Merge branch 'dp83867-impedance-control'
authorDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 14:42:17 +0000 (10:42 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 14:42:17 +0000 (10:42 -0400)
commit60d2d8dd9e1a2580541a3d28eb90d092381e2153
tree80b1e194a98522bab1a3e71e8e34f11b505d9d6c
parent403f0727cb35d3ce82166340d792e20c7d5adb30
parent1f0655444201ff770efb66078808ecefbc54dfe9
Merge branch 'dp83867-impedance-control'

Mugunthan V N says:

====================
add support for impedance control for TI dp83867 phy and fix 2nd ethernet on dra72 rev C evm

Add support for configurable impedance control for TI dp83867
phy via devicetree. More documentation in [1].
CPSW second ethernet is not working, fix it by enabling
impedance configuration on the phy.

Verified the patch on DRA72 Rev C evm, logs at [2]. Also pushed
a branch [3] for others to test.

Changes from v3:
* Fixup change log text and no code changes.

Changes from v2:
* Fixed a typo in dts and driver.

Changes from initial version:
* As per Sekhar's comment, instead of passing impedance values,
  change to max and min impedance from DT
* Adopted phy_read_mmd_indirect() to cunnrent implementation.
* Corrected the phy delay timings to the optimal value.

[1] - http://www.ti.com/lit/ds/symlink/dp83867ir.pdf
[2] - http://pastebin.ubuntu.com/23343139/
[3] - git://git.ti.com/~mugunthanvnm/ti-linux-kernel/linux.git dp83867-v4
====================

Signed-off-by: David S. Miller <davem@davemloft.net>