Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4517899imm; Sat, 21 Jul 2018 22:42:21 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd7TYV618DFZtl/SzY3w+lkC53KVW4FkjE62e4wjHR+5buhseo1ju7iG6M6hU5nLYc2lY4Y X-Received: by 2002:a63:8042:: with SMTP id j63-v6mr7677529pgd.230.1532238141680; Sat, 21 Jul 2018 22:42:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532238141; cv=none; d=google.com; s=arc-20160816; b=ko9yXtQBRaogy5TKYhGtkZgZhQeiwISIootIeogqmPR7v06/5eBAsgPyFg8YG/pdXO XUteOexc3VxtaR8xyh8PMhmASeIzra9v7qVYk9zKfmMffySq1a6IKHYV7CxLPmO9C7ZH DjkjYnt4L/0mgXEyHigtNAXyPJnlxQKMb3EGIMdH9uSDiDwGF2ScRffLT4ns/LU1Nqc+ hO2XumbmVF+3vp3nzF9ENCQNN8iiiwgo8aB43wb+oCeyD7XohKemP/YqdHSO8HUkighQ Ptk5TtgPRanppj42d6svXuEsl/kwcUOmhsd2FfDl8Zg2SF4BskN34l/FI4lHPuJYrUQV xC6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=r2OxF9mNDlyiZEX7588OdRqXEISL2p1Xw1RY/HgLJl4=; b=o9b9+/YIi2PjVySL7IO6yPHB3mXQFAEjWDFa9KClhplzTOBJvyNwAMsD2gMmHeaQ68 4KItmP5e1eEQMKJsK4BBCD4FPG0LNINpyCR3EvPCq82eQYPzK9wYifvSvSL7nkdx1EYd SrWDaTbddOszd8nF6pxYUdtcxG3lLTP146g59rjw5Cd7aadK2/UwXts5ZxPcsU6WGjL9 euJn+uZMGMSDZ5yOH19gNbS1ey5Ofh3ncH113CyoE8qMeVK1r2QdpqtXTL33zoramtKP pXcvOPQfXguD+8YLkHcXCXcKqTtKDsT75g+j7y+U+Fgl7eFoByQBvD5TvrF2TPsdrSoO 9ARA== 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 l190-v6si5393053pgd.626.2018.07.21.22.42.07; Sat, 21 Jul 2018 22:42:21 -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 S1728006AbeGVGgc (ORCPT + 99 others); Sun, 22 Jul 2018 02:36:32 -0400 Received: from hermes.aosc.io ([199.195.250.187]:44804 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726926AbeGVGgb (ORCPT ); Sun, 22 Jul 2018 02:36:31 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 8014B9F536; Sun, 22 Jul 2018 05:41:00 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , "David S. Miller" , Corentin Labbe Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH 1/5] dt-binding: dwmac-sun8i: add H6 compatible string (w/ A64 fallback) Date: Sun, 22 Jul 2018 13:39:51 +0800 Message-Id: <20180722053955.25266-2-icenowy@aosc.io> In-Reply-To: <20180722053955.25266-1-icenowy@aosc.io> References: <20180722053955.25266-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Allwinner H6 SoC features a Ethernet MAC that is similar to the one in A64. Add a compatible string for it with A64 fallback compatible string, in this case the A64 driver can be used. The "internal" PHY is not internal from the perspective of the H6 main die, instead it's on the co-packaged AC200 chip, and connected to the main die with RMII at the in-package Port A PIO bank. So from the SoC driver side it needs no special treatment. Signed-off-by: Icenowy Zheng --- Documentation/devicetree/bindings/net/dwmac-sun8i.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/dwmac-sun8i.txt b/Documentation/devicetree/bindings/net/dwmac-sun8i.txt index 5bb3a18cc38d..54c66d0611cb 100644 --- a/Documentation/devicetree/bindings/net/dwmac-sun8i.txt +++ b/Documentation/devicetree/bindings/net/dwmac-sun8i.txt @@ -10,6 +10,7 @@ Required properties: "allwinner,sun8i-r40-gmac" "allwinner,sun8i-v3s-emac" "allwinner,sun50i-a64-emac" + "allwinner,sun50i-h6-emac", "allwinner-sun50i-a64-emac" - reg: address and length of the register for the device. - interrupts: interrupt for the device - interrupt-names: must be "macirq" -- 2.18.0