Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8010460ybn; Tue, 1 Oct 2019 01:34:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5BcShEBrqPW1P7UOO0vS1ahsRkADAVekfO2J51urxgzUbpWi0dT0fbuvKfEMeEp2jPk6A X-Received: by 2002:a17:906:7d13:: with SMTP id u19mr16296156ejo.311.1569918854287; Tue, 01 Oct 2019 01:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569918854; cv=none; d=google.com; s=arc-20160816; b=kqhu757F+x+6Mk8JLk+UiapsVvODRGd3M+FfGBCHENGu1ZMASGStIr8UECh0tWMXL0 831aHUach9rCVC1vf+GZj/06NGLcS/SydbkO5UI9KQAoSq+Hb2rYfZIuwGvlUeQHfulw Ki7qHH3po2UigbFMSaFGJshhbRW8C3TFEjtXkoLFC2V4wRT4iluM/kH1lVbx1WFoWNVg 5eierLmD1RA3LEgDeav62TFYRLC+8TZGKJ07F9/BboXvagU+4IfDgZ+xlMUgwIoW5Ifu QRfqdSvCzTosn5hiZN3TyAmae6K5epfFkzijYuQtFMxg12gkDZSroQpqn3DSO8rt8/4+ idrA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=OF7zLJfwmaCHmDJKSfQZaEYS9NUlXJbz4bXQxIXUoJI=; b=MvvBWu53F1h48+1kbBbq5jwypgtXlAyVerSHLLy+Dn3Z8x7aCjMqo7cY19YkAy2Mas 2ksHQSHY2huHQvrLNnQHQPLAfISCTWdRUsY3cWb2rzZKFIjdkS8QITnCaeBh06JOtqkb gIVncSyqDcU9VpBGMAbngwYQOb73RBpv7dVmRrhAWfSeg/soQtqZcpqDTR9+fvQ4yx5I jS4bvlZcXDE4TAchsDB2z+skE8LL72cOK1OChA7sNLlQAWYhG7ptMc4Md2IGsmRC+qnd PjK02ieXUsXPoznVxy141SMo5otvcSrrNoBuSdnLYLq4BevcQcxnzaAnbSOBG46mKX9F yfPA== 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 d5si3445801edq.60.2019.10.01.01.33.50; Tue, 01 Oct 2019 01:34:14 -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 S1733031AbfJAIbC (ORCPT + 99 others); Tue, 1 Oct 2019 04:31:02 -0400 Received: from hermes.aosc.io ([199.195.250.187]:51717 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbfJAIbC (ORCPT ); Tue, 1 Oct 2019 04:31:02 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id C4D1A82B04; Tue, 1 Oct 2019 08:30:57 +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 1/3] dt-bindings: add binding for RTL8211E Ethernet PHY Date: Tue, 1 Oct 2019 16:29:10 +0800 Message-Id: <20191001082912.12905-2-icenowy@aosc.io> In-Reply-To: <20191001082912.12905-1-icenowy@aosc.io> References: <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 From: Icenowy Zheng Some RTL8211E Ethernet PHY have an issue that needs a workaround, and a way to indicate the need of the workaround should be added. Add the binding for a DT property that indicates this workaround. Signed-off-by: Icenowy Zheng --- .../bindings/net/realtek,rtl8211e.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl8211e.yaml diff --git a/Documentation/devicetree/bindings/net/realtek,rtl8211e.yaml b/Documentation/devicetree/bindings/net/realtek,rtl8211e.yaml new file mode 100644 index 000000000000..264e93cafbec --- /dev/null +++ b/Documentation/devicetree/bindings/net/realtek,rtl8211e.yaml @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/realtek,rtl8211e.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek RTL8211E Ethernet PHY + +properties: + realtek,config-magic-for-pine64: + description: + Enabling specific hacks for some broken RTL8211E chips known to be + used by Pine64+ boards. + +examples: + - | + &mdio { + ext_phy: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + realtek,config-magic-for-pine64; + }; + }; -- 2.21.0