From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42CA3C4CECD for ; Tue, 17 Sep 2019 12:41:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0CBA920678 for ; Tue, 17 Sep 2019 12:41:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EfISeSr1"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X9e9dUfy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CBA920678 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y4OAPSnDhov4zxheICpuKPxqx6YhHLgPeJsMd3OQoRc=; b=EfISeSr1HhgAjL SyZw1Z7eGACmVF1HKCCu9B7ebA/BQrJc8tEI0AxnBwB/E6vrXsWlm3Gypbd9dn3Rh3gZe8lLAACru kerbXD8PJiGImttzweA5HPWn3HRqCfe4R5KfVCuSGwnMZm02z5O/jXMvOL9QF7MeJ18O6TOIICSsr zLCqunRzl6+HRFfXPkvxqLtGVZ/fBkJIFXtGWe6+HeVjR6IUsM7UO18pKyqx53QoCeQDgVt6ect5s av4KWOmZtrU+L2N9ycSVDGz7sCeu282PsvHUaPRgsTfVNfmIATJRfIIQPCI5nyAmots1vBFchwxqO gS4F30PNBwt3Vp6TcgYQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iACnB-0004xb-7D; Tue, 17 Sep 2019 12:41:13 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iACn6-0004wm-So for linux-arm-kernel@lists.infradead.org; Tue, 17 Sep 2019 12:41:10 +0000 Received: by mail-wm1-x343.google.com with SMTP id i16so1071905wmd.3 for ; Tue, 17 Sep 2019 05:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hizZUkt1pzmfDFqDUimEMS3PJpFvJvmdnN9QD85tRVM=; b=X9e9dUfyzDIoV4U69QseZamZAgKxMmLIaoLCWyNx0hTzBrMyyTjMkMKurBqovIeNTS WX/oEaHYwaP8gfR9vIYmNYzwEjXsqPtlnycJGjwEYtYrTYtZlSw2SCR5hczHezThxAh9 +u1L1QBvKxdiN2N1j/YZ6KkKeYij6iImID0xsU9pCL5FC5797qFOafPzymy3hq3t98eO 658Gq1/kg2JeImRN8m4axwOpiz+hzqLbIkaPfh8bj+yrlzeL3jdy5RNbSnk4UAJYym7f U7wR81GHO4mmeyYr4VQdle/WpnrfI9hS0wfUUEmaz2ITlS2NpKttj6742dNnPwQu/xQC fTKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hizZUkt1pzmfDFqDUimEMS3PJpFvJvmdnN9QD85tRVM=; b=Tz0yNNNs2XJM/HURWlDOlw6cxTwjDAsp2uc1C0c9IkyMifpJvaMhCxVhT3FE97OVtj aZLy1dkjb5dlVypKRzqAwsw+t3S5brucGU4VPs2Es4nn2wNWvMp6dH2bGOUUTvWcI5br zLxXgH1751wShSj2MwfQWW3FI3Lnlwhd9BTiBC6Jopsl1FPDPll/JwOxqYuWQAp/GXiQ kQwL1nJPhJyOKSFrW6Il/3q1vqOxPa+Kz31xbWvPppraQUYpNE0LCaqKlQvPZ6t8LDix Rq/k15SslbWZ4PBk1Vm6j57AaIxcBmIqhFns4iB47c+V/V9glItT7+apxfF7w5rTKJT8 TwYw== X-Gm-Message-State: APjAAAUcP5dl5l8KZY+u34ds0nZA2KUKbhc7lAK4waeKPkWoNhxhphbb SfAhAepk4m6OfJr4KP1IzrU= X-Google-Smtp-Source: APXvYqy/b7DVG3Z9S8Z/BN1kZJ9gToybyr+XK7b/m/1rgoyXfsEG2M/d2AwWBfbbiwWDWG8H/T4Fqg== X-Received: by 2002:a1c:e916:: with SMTP id q22mr3480658wmc.15.1568724067177; Tue, 17 Sep 2019 05:41:07 -0700 (PDT) Received: from arch-dsk-01 ([77.126.41.65]) by smtp.gmail.com with ESMTPSA id u10sm4513324wrg.55.2019.09.17.05.41.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2019 05:41:06 -0700 (PDT) Date: Tue, 17 Sep 2019 15:41:01 +0300 From: tinywrkb To: Andrew Lunn Subject: Re: [PATCH] ARM: dts: imx6dl: SolidRun: add phy node with 100Mb/s max-speed Message-ID: <20190917124101.GA1200564@arch-dsk-01> References: <20190910155507.491230-1-tinywrkb@gmail.com> <20190910185033.GD9761@lunn.ch> <87muf6oyvr.fsf@tarshish> <20190915135652.GC3427@lunn.ch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190915135652.GC3427@lunn.ch> User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190917_054108_953288_68C34479 X-CRM114-Status: GOOD ( 17.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Baruch Siach , Fabio Estevam , Sascha Hauer , Russell King , open list , Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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. > > Andrew linux-test-5.1rc1-a2703de70942-without_bad_commit 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: 100Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: d Wake-on: d Link detected: yes journalctl -b | egrep -i 'phy|eth|fec'|grep -v usb kernel: Booting Linux on physical CPU 0x0 kernel: libphy: Fixed MDIO Bus: probed kernel: libphy: fec_enet_mii_bus: probed kernel: fec 2188000.ethernet eth0: registered PHC device 0 kernel: dwhdmi-imx 120000.hdmi: Detected HDMI TX controller v1.31a with HDCP (DWC HDMI 3D TX PHY) kernel: Generic PHY 2188000.ethernet-1:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=POLL) kernel: fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready systemd-networkd[243]: eth0: Gained carrier systemd-networkd[243]: eth0: DHCPv4 address 192.168.15.101/24 via 192.168.15.1 systemd-networkd[243]: eth0: Gained IPv6LL systemd-networkd[243]: eth0: Configured ###################################################################### linux-test-5.1rc1-5502b218e001-with_bad_commit 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 journalctl -b | egrep -i 'phy|eth|fec'|grep -v usb kernel: Booting Linux on physical CPU 0x0 kernel: libphy: Fixed MDIO Bus: probed kernel: libphy: fec_enet_mii_bus: probed kernel: fec 2188000.ethernet eth0: registered PHC device 0 kernel: dwhdmi-imx 120000.hdmi: Detected HDMI TX controller v1.31a with HDCP (DWC HDMI 3D TX PHY) kernel: Generic PHY 2188000.ethernet-1:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=POLL) kernel: fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready systemd-networkd[239]: eth0: Gained carrier systemd-networkd[239]: eth0: Gained IPv6LL _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel