Received: by 10.223.164.202 with SMTP id h10csp3542572wrb; Mon, 20 Nov 2017 00:36:38 -0800 (PST) X-Google-Smtp-Source: AGs4zMb84HaNlL0s2rYfWcIkFvFIndrtFbn8r8/4AR+wZpEN48dd9xjzTE3lfu08B72tUL8y+442 X-Received: by 10.99.103.70 with SMTP id b67mr12864877pgc.211.1511166998123; Mon, 20 Nov 2017 00:36:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511166998; cv=none; d=google.com; s=arc-20160816; b=wQdq7L7yZoy5IONcYJdvoYgqh0XT4Z6zwci6zt9DVuM/82rVM8PT1X/l3xE6yTBsNZ RrY/u6ey39EK2cjWxMytmMI8qilk0Z++nE1O/j5Xt/hTWmNfq0ZIn/unD4Z8tNcePw3f XVMMvIPb2xHQ4ZjOA5jyYS5OqYb/ScogvHtjSNRqFUDPQA7DiwH80NBCnbO6m8b+Zzte vdTvSI0sqSMatzj4shMV9yNLl/p/msrhQ5aLqyez0cF9hDNEEAoEqbJ2bmbJp2nRP3J8 FSw42eKaQPmDNIpZgj854H3CBm7IKoLDAv5az38bi6ChLnJFl3TC5rIN3IhyPsqqY7SF ptuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=MIYxEz0O/QKOhwYv1TluV6mUBbxrTOnANg934jFkxsQ=; b=xgmlq1VDs1EW9Jmo3nKtsUG77z0QV6yesCP6iy3pTHrl2lJBgOOXpEfvC1HRLTX2uU GOK3aTN8eZnVRYd/MwXxfr9fJYlq0u0NsVF6vxTkYClKP7P146SBeJ4Dkr8bfXrRcsnj sV5kHEYrWl/YXGIp0Bx44NN+VUbKQhQQTvNlT/+f6hAqGosoZJ/pLE2OpvB8+j/1Jv7a OSlrfmya20CTSz53Gfnj3q0vByrf+iNSJD2nwagyfzu+f/CJCu5eQPRPGUwNx+CDvqxA Rk+Fvs1BR9QFEiLUYqLiEEje6bzw9/ZHlzFPMCaLEIvBhivYvVeWLMdHfE0GZtBtrPKS PpYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z24si7326108pgu.188.2017.11.20.00.36.27; Mon, 20 Nov 2017 00:36:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751199AbdKTIfi (ORCPT + 68 others); 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 Received: by relay01.alfahosting-server.de (Postfix, from userid 1001) id 1555232C31FE; Mon, 20 Nov 2017 09:35:34 +0100 (CET) X-Spam-DCC: : X-Spam-Level: X-Spam-Status: No, score=-1000.0 required=7.0 tests=BAYES_50,D_SENT_WITH_SASL autolearn=disabled version=3.2.5 Received: from alfa3028.alfahosting-server.de (alfa3028.alfahosting-server.de [109.237.138.38]) by relay01.alfahosting-server.de (Postfix) with ESMTPS id 6154F32C2F50; Mon, 20 Nov 2017 09:35:28 +0100 (CET) Received: from localhost.localdomain (unknown [91.230.2.244]) (Authenticated sender: yes) by alfa3028.alfahosting-server.de (Postfix) with ESMTPA id C6078430D05D; Mon, 20 Nov 2017 09:35:27 +0100 (CET) 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 Precedence: bulk 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 From 1584594754909369819@xxx Mon Nov 20 14:15:19 +0000 2017 X-GM-THRID: 1584594754909369819 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread