devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] net, phy, smsc: add posibility to disable energy detect mode
@ 2015-10-17  4:04 Heiko Schocher
       [not found] ` <1445054676-21523-1-git-send-email-hs-ynQEQJNshbs@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Schocher @ 2015-10-17  4:04 UTC (permalink / raw)
  To: linux-kernel
  Cc: Heiko Schocher, devicetree, Felipe Balbi, David S. Miller, netdev,
	Florian Fainelli, Georg.Soffel, Tony Lindgren, Lennart Sorensen,
	Mugunthan V N, Richard Cochran

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.

Heiko Schocher (2):
  drivers: net: cpsw: add phy-handle parsing
  net: phy: smsc: disable energy detect mode

 Documentation/devicetree/bindings/net/cpsw.txt     |  1 +
 .../devicetree/bindings/net/smsc-lan87xx.txt       | 24 ++++++++++++++++++++++
 drivers/net/ethernet/ti/cpsw.c                     | 15 ++++++++++----
 drivers/net/phy/smsc.c                             | 19 ++++++++++++-----
 4 files changed, 50 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/smsc-lan87xx.txt

-- 
2.1.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-21 13:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-17  4:04 [PATCH v2 0/2] net, phy, smsc: add posibility to disable energy detect mode Heiko Schocher
     [not found] ` <1445054676-21523-1-git-send-email-hs-ynQEQJNshbs@public.gmane.org>
2015-10-17  4:04   ` [PATCH v2 2/2] net: phy: smsc: " Heiko Schocher
2015-10-21 13:42   ` [PATCH v2 0/2] net, phy, smsc: add posibility to " David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).