Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754145AbcDVNoj (ORCPT ); Fri, 22 Apr 2016 09:44:39 -0400 Received: from mail1.bemta5.messagelabs.com ([195.245.231.140]:28383 "EHLO mail1.bemta5.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752972AbcDVNog convert rfc822-to-8bit (ORCPT ); Fri, 22 Apr 2016 09:44:36 -0400 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBKsWRWlGSWpSXmKPExsVyU6aHU3e9llS 4wcyrBhZzzrewWMw/co7VYvHkWewWK6ewWGx9uobJYtPja6wWl3fNYbOYvaSfxeLqg3KLYwvE LO5sPMTowO2xZeVNJo+ds+6ye2xeUu9x/MZ2Jo/Pm+QCWKNYM/OS8isSWDMu9O1hLLjCXzHvw lq2BsYXPF2MXBxCAlsYJZrmLGeDcPYySpy71cbcxcjJwSZgJrHr1Tp2kISIwCpGiSlTdrKAOM wCK5glDr4+yQpSJSzgIvH0QQc7iC0i4Cpx/+VFNgjbSOLkzU9MXYwcHCwCqhLv2ipAwrxAJf0 PPrOAhIUEPCW+9KuBhDkFvCQ+HN/LBGIzCshKfGlcDXYDs4C4xK0n88HiEgICEkv2nGeGsEUl Xj7+xwphG0hsXbqPBcJWkPjRewqqxlri34O7TBBzdCQW7P7EBmFrSyxb+JoZ4hxBiZMzn7BMY BSbhWTdLCQts5C0zELSsoCRZRWjRnFqUVlqka6hiV5SUWZ6RkluYmaOrqGBqV5uanFxYnpqTm JSsV5yfu4mRmAsMwDBDsazpz0PMUpyMCmJ8n7WlAoX4kvKT6nMSCzOiC8qzUktPsQow8GhJME bBJITLEpNT61Iy8wBJhWYtAQHj5II702QNG9xQWJucWY6ROoUoy7HlgU31jIJseTl56VKifP6 gRQJgBRllObBjYAluEuMslLCvIxARwnxFKQW5WaWoMq/YhTnYFQS5g0DmcKTmVcCt+kV0BFMQ Ef8uyAJckRJIkJKqoFRaaLs5BOX3EUOlu2O89V5cd/XX+P1xCSONe+yDp+7t2wK02JFvrNeOt yq+lYM4fsTbFWVeEUWSC369mwvo0Be2jbuWdUcEeorWf5te8vlMmGV1UorR8cDU9a2fSz3qdm VxuqsvtLJgzFgnZfurR869ko6Owuvel8+6FY4qWCxU+vG//9/ymxSYinOSDTUYi4qTgQAREna cWsDAAA= X-Env-Sender: andrew.goodbody@cambrionix.com X-Msg-Ref: server-11.tower-125.messagelabs.com!1461332655!26253602!1 X-Originating-IP: [217.28.140.9] X-StarScan-Received: X-StarScan-Version: 8.28; banners=-,-,- X-VirusChecked: Checked From: Andrew Goodbody To: "David Rivshin (Allworx)" , "netdev@vger.kernel.org" , "linux-omap@vger.kernel.org" CC: "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , David Miller , "Mugunthan V N" , Grygorii Strashko , Markus Brunner , Nicolas Chauvet Subject: RE: [PATCH net v2 0/3] drivers: net: cpsw: phy-handle fixes Thread-Topic: [PATCH net v2 0/3] drivers: net: cpsw: phy-handle fixes Thread-Index: AQHRm/Z3MPm8KH8Qlk2XBcmzH/RlGZ+WALOQ Date: Fri, 22 Apr 2016 13:44:14 +0000 Message-ID: <80ea1660b86143fab7a9805749f06bd2@THHSTE15D2BE2.hs20.net> References: <1461261035-5578-1-git-send-email-drivshin.allworx@gmail.com> In-Reply-To: <1461261035-5578-1-git-send-email-drivshin.allworx@gmail.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [46.17.166.30] x-exclaimer-md-config: 266e7a57-cddd-49fd-bdea-19bca6d40303 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1972 Lines: 52 > From: David Rivshin > > The first patch fixes a bug that makes dual_emac mode break if either slave > uses the phy-handle property in the devicetree. > > The second patch fixes some cosmetic problems with error messages, and > also makes the binding documentation more explicit. > > The third patch cleans up the fixed-link case to work like the now-fixed phy- > handle case. > > I have tested on the following hardware configurations: > - (EVMSK) dual emac, phy_id property in both slaves > - (EVMSK) dual emac, phy-handle property in both slaves > - (BeagleBoneBlack) single emac, phy_id property > - (custom) single emac, fixed-link subnode > > Nicolas Chauvet reported testing on an HP t410 (dm8148). > > Markus Brunner reported testing v1 on the following [1]: > - emac0 with phy_id and emac1 with fixed phy > - emac0 with phy-handle and emac1 with fixed phy > - emac0 with fixed phy and emac1 with fixed phy > > > Changes since v1 [2]: > - Rebased > - Added Tested-by from Nicolas Chauvet on all patches > - Added Acked-by from Rob Herring for the binding change in patch 2 [3] > > [1] http://www.spinics.net/lists/netdev/msg357890.html > [2] http://www.spinics.net/lists/netdev/msg357772.html > [3] http://www.spinics.net/lists/netdev/msg358254.html > > David Rivshin (3): > drivers: net: cpsw: fix parsing of phy-handle DT property in dual_emac > config > drivers: net: cpsw: fix error messages when using phy-handle DT > property > drivers: net: cpsw: use of_phy_connect() in fixed-link case > > Documentation/devicetree/bindings/net/cpsw.txt | 4 +-- > drivers/net/ethernet/ti/cpsw.c | 41 +++++++++++++------------- > drivers/net/ethernet/ti/cpsw.h | 1 + > 3 files changed, 23 insertions(+), 23 deletions(-) > > -- > 2.5.5 Tested on hardware with 2 PHYs but not dual_emac mode, DT has phy-handle entries. Tested-by: Andrew Goodbody