From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751204AbdKTIfi (ORCPT ); Mon, 20 Nov 2017 03:35:38 -0500 Received: from relay15.alfahosting-server.de ([109.237.142.229]:11330 "EHLO relay15.alfahosting-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751116AbdKTIff (ORCPT ); Mon, 20 Nov 2017 03:35:35 -0500 X-Spam-DCC: : From: Richard Leitner To: f.fainelli@gmail.com, fugang.duan@nxp.com, andrew@lunn.ch Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, richard.leitner@skidata.com Subject: [PATCH v2 0/3] net: ethernet: fec: fix refclk enable for SMSC LAN8710/20 Date: Mon, 20 Nov 2017 09:34:14 +0100 Message-Id: <20171120083417.32558-1-dev@g0hl1n.net> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Leitner 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(-) -- 2.11.0