mbox series

[v2,0/3] net: ethernet: fec: fix refclk enable for SMSC LAN8710/20

Message ID 20171120083417.32558-1-dev@g0hl1n.net
Headers show
Series net: ethernet: fec: fix refclk enable for SMSC LAN8710/20 | expand

Message

Richard Leitner Nov. 20, 2017, 8:34 a.m. UTC
From: Richard Leitner <richard.leitner@skidata.com>

This patch series fixes the use of the SMSC LAN8710/20 with a Freescale ETH
when the refclk is generated by the FSL.

Changes v2:
	- simplify and fix fec_reset_phy function to support multiple calls
	- include: linux: phy: harmonize phy_id{,_mask} type
	- reset the phy instead of not turning the clock on and off
	  (which would have caused a power consumption regression)

Richard Leitner (3):
  net: ethernet: freescale: simplify fec_reset_phy
  include: linux: phy: harmonize phy_id{,_mask} type
  net: ethernet: fec: fix refclk enable for SMSC LAN8710/20

 drivers/net/ethernet/freescale/fec.h      |   4 +
 drivers/net/ethernet/freescale/fec_main.c | 125 ++++++++++++++++++++----------
 include/linux/phy.h                       |   2 +-
 3 files changed, 88 insertions(+), 43 deletions(-)