Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp538875imd; Sat, 3 Nov 2018 05:36:14 -0700 (PDT) X-Google-Smtp-Source: AJdET5el7/TGnXpQlqEON2CiPo4Tv/S87YIq7nNJYMYWdD0ISIiTBKBAK/J057JGyg75eejDVAEq X-Received: by 2002:a17:902:4281:: with SMTP id h1-v6mr15334255pld.114.1541248573825; Sat, 03 Nov 2018 05:36:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541248573; cv=none; d=google.com; s=arc-20160816; b=cZWzcJI8gnCIYAJ414bWFdhWYvt42r9fdsKiPu3VBV3ey+hYuybfj6IFLFhzumf6GP ALt4V6KNFN+fcVR7MoJY+4VpU2nhX+viM5U6X0FGR9r2u4Dsu0vlzUs4RCbdWUIeFqK7 zTB0qRDfuSaUdVUzE2W3OeDFsBrm93fcReEeFmn1uZCBm9CnlMHLo1VIunJlksI8KZWL NxzGuKn6peAa4BXfGzKMib0KdE/4RTqmPlNGXa02CshafsmoT0LOiBDzJewdIm3XGf8T aUji/CcByB4YZW3jP/wqLAnXeNuQXMvfgH7DLkL5wandFlyCThOSPdzGSK47TYh3Rt1q 42Wg== 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; bh=+DWdB9ugWkysiWCS5pz8iM12c/0acZ0WW2OammRFRlg=; b=vYd7vKou1NOeMpXyjzqgNdU6bF9Be39VWvB9+rKzi1dDDmPqFaNS+Vkii1DyoL7/GU CJAOZL89PE2hUmbNN7n1p6HzBT1NzqXkB9A74U0dESkA5vGYiJinUK1D2hMnXMugA4Kt loE32yX1fWbx++9ypUUCJV6g3KjPwtA+sUD4B/CPndekUTK2KrIz7DC2Lw3m7yQLZ/yM l8+nRQTh+dHasO5X/z1B4YvJ7xfzkO2RusmqGWvpL+KMCn9ZRcbNNURLzl3/2gkfLCjt A5VP3C1u/GyDDa1jrCB6DBBJx6l7aFM6rrGOJce3XYHHWP5zuBTOaPBYgKn/756yRf9o YY3w== 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 q12-v6si14163393pll.286.2018.11.03.05.35.59; Sat, 03 Nov 2018 05:36:13 -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 S1728498AbeKCVoU (ORCPT + 99 others); Sat, 3 Nov 2018 17:44:20 -0400 Received: from hermes.aosc.io ([199.195.250.187]:58360 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727256AbeKCVoU (ORCPT ); Sat, 3 Nov 2018 17:44:20 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 647F62160D1; Sat, 3 Nov 2018 12:33:02 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Corentin Labbe , Rob Herring , "David S . Miller" 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 v2 1/3] dt-binding: dwmac-sun8i: add H6 compatible string (w/ A64 fallback) Date: Sat, 3 Nov 2018 20:32:36 +0800 Message-Id: <20181103123238.4665-2-icenowy@aosc.io> In-Reply-To: <20181103123238.4665-1-icenowy@aosc.io> References: <20181103123238.4665-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 Acked-by: Rob Herring Reviewed-by: Chen-Yu Tsai --- Changes in v2: - Added ACK tag by Rob and Review tag by Chen-Yu. 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.1