Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8008668ybn; Tue, 1 Oct 2019 01:31:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxk9wZ7uxgdOYOn4H8zKkoGLe68krGWAt6ektenYjKQEV3Czu5LYmlN7uQX0fsmMyIoTet X-Received: by 2002:a17:906:95cf:: with SMTP id n15mr22985558ejy.183.1569918718993; Tue, 01 Oct 2019 01:31:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569918718; cv=none; d=google.com; s=arc-20160816; b=it1NRYeZdOAAX0KL/H804TlQGHfv5bilGuyPrY1IVq2Uwy5HLj1DXD9S5LVcQL3CfQ AkSwa1Cxzqjrcekh0ZVZB4/0N1sC0bdIAJ2iJRCSQMK7zfZp44eDMoga1cxOQqqEt7cP vkySaNuvd2yzoedkFUPO7e/U448kIjcreT4/MjIybMP8PL7wAnJkWIJY0TmfZt6LlWgY gEjc9hT53sUIV2D54ouatQ7NXoukwfaOEBHYT2MeBjh54o5V4imZfUdK0Jmuqzd8Kbj7 i1b/8wQB9pca/IoM1hYzBv893EeSK4cIexOiM45VBmFHK5s0RBZl2DoHopb1HHU8rm2N hFog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=HN1IVSzZbEaDfPddQn7tXCx2cCWDrA12VivNtxh9T9Y=; b=vucub9KnKYC9X7cU9BGl5P4168MIvuWPGHnnWwGz01/Hun7pkU3XSB8idB0XcA+WQX b1LHS+mS/aS/AU6zPykA6uSod5a2XxpTdsaNL/8j4ElmotS3HYaJi5USxlv7IM5czVLV SOdAWrW16/90lT4D2rRY78Y6wQz7ksXgT73g7gRj8TNR3u8N586j9P24BnW7GjF2ztMy 1t/DalirqM//zZfGnKajsqxJ6Fi84bZyC3MAHAk19hBn78V/Eibc9X6rId1NsNwyFiYG 7wpSa3gMuFE2MemZrg683vcs0r8pJBTzwxncWkqiCSBBgg3je6Q0EWZ36bLm8FUcMByJ hP1Q== 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 c60si9000136edd.327.2019.10.01.01.31.34; Tue, 01 Oct 2019 01:31:58 -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; 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 S1732971AbfJAIaV (ORCPT + 99 others); Tue, 1 Oct 2019 04:30:21 -0400 Received: from hermes.aosc.io ([199.195.250.187]:51678 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbfJAIaV (ORCPT ); Tue, 1 Oct 2019 04:30:21 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id F21C082889; Tue, 1 Oct 2019 08:30:15 +0000 (UTC) From: Icenowy Zheng To: "David S . Miller" , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Andrew Lunn , Florian Fainelli , Heiner Kallweit Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH 0/3] Pine64+ specific hacks for RTL8211E Ethernet PHY Date: Tue, 1 Oct 2019 16:29:09 +0800 Message-Id: <20191001082912.12905-1-icenowy@aosc.io> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Icenowy Zheng (3): dt-bindings: add binding for RTL8211E Ethernet PHY net: phy: realtek: add config hack for broken RTL8211E on Pine64+ boards arm64: allwinner: a64: dts: apply hack for RTL8211E on Pine64+ .../bindings/net/realtek,rtl8211e.yaml | 23 +++++++++++++++++++ .../dts/allwinner/sun50i-a64-pine64-plus.dts | 1 + drivers/net/phy/realtek.c | 14 +++++++++++ 3 files changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl8211e.yaml -- 2.21.0