]> git.baikalelectronics.ru Git - kernel.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)
commita1947fe8d794a83270e69fd5bf8e6f378390ecea
treed29ca3aaa5196ab759d8d534f7cfad1410ba3d1d
parent187f0c2ab367e6a66912d9452c3a13f723c7ccbd
parenta5fe468a7a4ca072e0ca8e1c01de00e7a1c75572
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>