Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8569645ybn; Tue, 1 Oct 2019 09:58:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdKtBQwzqfLAT8FpJWprnmD4/LgokXBuYCSWwHeuhJkjkSqB7bSoMI/G/Lc5gpQcCMrRL/ X-Received: by 2002:a17:906:7d0:: with SMTP id m16mr25558435ejc.95.1569949079913; Tue, 01 Oct 2019 09:57:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569949079; cv=none; d=google.com; s=arc-20160816; b=K87SVHfYhSxyrJq9y4G0SQAbz5vFzk7kPMiWehruVWKj/pQCQkQipJGiFOu2S6aMd4 M4Z2VrtX3LDbhjd4OY6guJl0vlwvOENRrIFo4/lWPBL9ubOJJVWbSd/NnDfRezjuwOwn WSr67gVrXREM1Xu4oX+xk4I3F0I4nI7MUTVTBjLROxzq2JOSQsdtgW1pmXt5eYSUBNWe FzMzoFxGWxexQ30//F71J2tlvsXi4motziycqxz9lYkEWvGJIU6rXOFrGy3rzFAeLATK zMd5pXW3HxDiIE2YzVB6hZYExxptUtW3CTB/KlY6D0Vna1Ft0gPZgaGjRrAuk7PAVJfQ FqRA== 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=FX5jf20eacmB/0gFXEhbZpatqYKCnwg235wY4yTy5I8=; b=SB1ZkIALlHORpt2hhDW57tkxtyk98NUyXYPQmqEBRya9UtrgTIcf5XmOCvQhD97r5I Z+lFa7J7yTWb+luHlJ5ZWIodGjxQpoBbBeEYorLjl+xAVs3Ufw1IL1QR4Q39O6ZI48+i GbJXU7+GULT+yDnhHU90+Uo9naHNB89SV88At5CLu2kicldxI8GfzvzrLTwBlQywhuFC T4MjZ+nUHegqbBbOU7uLuKTqCYfweagHmfWM1+G8QnufPaAVliqPA9Ul8Hn56ITifwvq /OnYuy+Ds4wod6l6i6LGMmZKxBnZYlHDv++cpecqA02RnFY7B9NfeQxYXdO5GVpHcoGs PRYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=ZaDS95R+; 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 f13si9524789edl.170.2019.10.01.09.57.34; Tue, 01 Oct 2019 09:57:59 -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=fail header.i=@lunn.ch header.s=20171124 header.b=ZaDS95R+; 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 S2389405AbfJAQw7 (ORCPT + 99 others); Tue, 1 Oct 2019 12:52:59 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:56510 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389331AbfJAQw4 (ORCPT ); Tue, 1 Oct 2019 12:52:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender: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=FX5jf20eacmB/0gFXEhbZpatqYKCnwg235wY4yTy5I8=; b=ZaDS95R+qKbRGCSKbOtuDkKVkt /C/hkhascHZ5lWv9IFuRxtzt2/pOybQ0vbmd7SmvBukkhoPdpz691km29114XSaqO9j/geTyTDrqU 2RjCogdwSyQJEKXMJsarWOGVkqEDvUu6l3PoKFZzHIaFAzrFPMgAJmAgkQmCeG60SaJg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.92.2) (envelope-from ) id 1iFLOJ-0001ii-4j; Tue, 01 Oct 2019 18:52:47 +0200 Date: Tue, 1 Oct 2019 18:52:47 +0200 From: Andrew Lunn To: Florian Fainelli Cc: Icenowy Zheng , "David S . Miller" , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Heiner Kallweit , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH 0/3] Pine64+ specific hacks for RTL8211E Ethernet PHY Message-ID: <20191001165247.GE2031@lunn.ch> References: <20191001082912.12905-1-icenowy@aosc.io> <3ef60a0c-5cfd-420b-6cad-2c16eb2a6c01@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ef60a0c-5cfd-420b-6cad-2c16eb2a6c01@gmail.com> 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 Tue, Oct 01, 2019 at 09:47:08AM -0700, Florian Fainelli wrote: > On 10/1/19 1:29 AM, Icenowy Zheng wrote: > > There're some Pine64+ boards known to have broken RTL8211E chips, and > > a hack is given by Pine64+, which is said to be from Realtek. > > > > This patchset adds the hack. > > > > The hack is taken from U-Boot, and it contains magic numbers without > > any document. > > Such hacks are the very reason why PHY fixups exists, please investigate > working with Realtek first to understand how to make this hack less of a > hack so it is understood what it does and you can either add proper > infrastructure to the realtek PHY driver to perform that hack, or if > that is not an option, register a board specific fixup. Hi Icenowy It would also be nice to know if only Pine64 has these bad PHYs, or if they were in the general distribution chain and other boards might have them as well. Andrew