]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Merge branch 'smsc-energy-detect'
authorDavid S. Miller <davem@davemloft.net>
Wed, 21 Oct 2015 13:41:51 +0000 (06:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Oct 2015 13:41:51 +0000 (06:41 -0700)
commitf3c9f95056acab715328ee63a80ddf5fd32c0a28
treed29ca3aaa5196ab759d8d534f7cfad1410ba3d1d
parentaebd99477f03950fb05b29c7248656167198bf2d
parentd88ecb373bd1877acc43e13311a8e0e6daffc3d2
Merge branch 'smsc-energy-detect'

Heiko Schocher says:

====================
net, phy, smsc: add posibility to disable energy detect mode

On some boards the energy enable detect mode leads in
trouble with some switches, so make the enabling of
this mode configurable through DT.
Therefore the property "smsc,disable-energy-detect" is
introduced.

Patch 1 introduces phy-handle support for the ti,cpsw
driver. This is needed now for the smsc phy.

Patch 2 adds the disable energy mode functionality
to the smsc phy

Changes in v2:
- add comments from Florian Fainelli
  - I did not change disable property name into enable
    because I fear to break existing behaviour
  - add smsc vendor prefix
  - remove CONFIG_OF and use __maybe_unused
  - introduce "phy-handle" ability into ti,cpsw
    driver, so I can remove bogus:
      if (!of_node && dev->parent->of_node)
          of_node = dev->parent->of_node;
    construct. Therefore new patch for the ti,cpsw
    driver is necessary.
====================

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