Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3203679ybe; Sun, 15 Sep 2019 09:49:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzD3fGfmyw141OoGM/761N2+SIZDAsd5J1SQGnn2CAu4RIWkVplJ7tjgaQDYKu+gzsoykQv X-Received: by 2002:a05:6402:3c5:: with SMTP id t5mr57797874edw.22.1568566181004; Sun, 15 Sep 2019 09:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568566180; cv=none; d=google.com; s=arc-20160816; b=KKCWQXjSHH6/NIxLQVdFs+FcenThttlERcoYvcbt1HvojTVlp2PrN61Il1AYpbOdPn Nghsswikv7QdHIlhgMnZyYbkpODllf4jLeI2W2+EYmVDUxtsC1TXkXsR7qRoFxG4ASMe bDfwd+OuH8QSvEH6kCFW0GuWLfczj5HIJAQU3eMlZtjQXxT5aHi7r4+wG6vhDtaCa6vS PYJkw8aaDbTpskO35ipisUegPCaqMDkkHRPt8+m1fnPsAtqwLDIWPRlVFYuQTWbMxieF TDTcZ+b8P6SejTygTTd+2LA30/A8OGybGedgWSYpEELv9bQPa/dyK2NqLjFqqv4BQIyL WWBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Q8hbuQTMipB8/1HoOuzsXKkAlcVSsFju4ms8lNG85FM=; b=UgndnhHvLqyA9K6Ilja050/RLhFJOJfcz+kjtotFcIBpdRfmZ54NvjzpCFa6iCSylt OHefxyv3zTJnVuR3YBUKDspo7IYT1WU7wppbzzI1YVGUGSCTqRlQVaUPAG62SmwBy0VI nwwxXYgxFkeKoAQOz6GH9QIwbnixq3XkbJFV4s5qAjZiN4mqQt45js6yFn4UqU0Lm2eN /wPZIdDOijGlTHiNbh4Lz5p9VWBYAs1/B/Iw4kMgkeazGOT8NmP2Cw5vf7stnVOSEoKP LaBkHGcUeL8SXd1CRR8z0qBQgDGshFn8RNygn4iA0hTi5cFabkj7pnvfgQJGExsuBGVz ocyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=sPvvu7SI; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dv21si1129304ejb.241.2019.09.15.09.49.17; Sun, 15 Sep 2019 09:49:40 -0700 (PDT) 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; dkim=neutral (body hash did not verify) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=sPvvu7SI; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731563AbfIOOGw (ORCPT + 99 others); Sun, 15 Sep 2019 10:06:52 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:37778 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726146AbfIOOGv (ORCPT ); Sun, 15 Sep 2019 10:06:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hGS+lhOgPJnFEP8Eku3cUNc1o/oZGlqgKaWZvxkmu84=; b=sPvvu7SIPnh3Yvh47PPfBt4ep I9cluTBvreRGOl8vpeeBEBtIykj/C+v/msy8MQ8vi2RFGWX2xOAfjbySlhs9GYRqvOZ7Ju4+n14GQ Ux4fTd6oRBDDaCYOZq9MzPzdREYgpEa4Kwx1DIs7qZnC3nHKGIeRRY9q/fq/Dd0eo1RBxrxG0TtLA NMrI7F4EUPj0bmApOlN4ZBW2HLMaVstwgd9jwwqI+331F3MqX65vtAtRi94qjuFT4BdlMLumOdWxU 9kg2GxdKd3K+Cl8cYdroQnrpUEIJJqCpLFo7g7M1Sx9peQ6x1sFS2VrXsvGNq7We6JQW5cFitNHck yp0lJtg1w==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:43976) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1i9VAp-0006fi-DA; Sun, 15 Sep 2019 15:06:43 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1i9VAl-0007oU-PN; Sun, 15 Sep 2019 15:06:39 +0100 Date: Sun, 15 Sep 2019 15:06:39 +0100 From: Russell King - ARM Linux admin To: Andrew Lunn Cc: Baruch Siach , tinywrkb , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Shawn Guo , Sascha Hauer , open list , Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: dts: imx6dl: SolidRun: add phy node with 100Mb/s max-speed Message-ID: <20190915140639.GC25745@shell.armlinux.org.uk> References: <20190910155507.491230-1-tinywrkb@gmail.com> <20190910185033.GD9761@lunn.ch> <87muf6oyvr.fsf@tarshish> <20190915135652.GC3427@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190915135652.GC3427@lunn.ch> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 15, 2019 at 03:56:52PM +0200, Andrew Lunn wrote: > > Tinywrkb confirmed to me in private communication that revert of > > 5502b218e001 fixes Ethernet for him on effected system. > > > > He also referred me to an old Cubox-i spec that lists 10/100 Ethernet > > only for i.MX6 Solo/DualLite variants of Cubox-i. It turns out that > > there was a plan to use a different 10/100 PHY for Solo/DualLite > > SOMs. This plan never materialized. All SolidRun i.MX6 SOMs use the same > > AR8035 PHY that supports 1Gb. > > > > Commit 5502b218e001 might be triggering a hardware issue on the affected > > Cubox-i. I could not reproduce the issue here with Cubox-i and a Dual > > SOM variant running v5.3-rc8. I have no Solo/DualLite variant handy at > > the moment. > > Could somebody with an affected device show us the output of ethtool > with and without 5502b218e001. Does one show 1G has been negotiated, > and the other 100Mbps? If this is true, how does it get 100Mbps > without that patch? We are missing a piece of the puzzle. Hang on. 5502b218e001 is in 5.2 already - it was merged as part of the v5.1 merge window. That means my imx6 Solo Hummingboard is already running it with the AR8035 PHY, and it works fine. # dmesg ... OF: fdt: Machine model: SolidRun HummingBoard Solo/DualLite ... # ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: d Wake-on: d Link detected: yes -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up