From patchwork Sat Nov 3 12:32:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 10666635 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9010114E2 for ; Sat, 3 Nov 2018 12:33:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 724E12A939 for ; Sat, 3 Nov 2018 12:33:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 644CD2A946; Sat, 3 Nov 2018 12:33:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E4E892A939 for ; Sat, 3 Nov 2018 12:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=aA4O6xllcepfqSYCRdp6F1xrJ6JfxShesqvU4Uktjmg=; b=mNg DL0VWR9tRLABPrjMRTINHeVYAuA9wDjFbiCVgHaQPd58IjPy5McSBib2JQ6RFzULoWMQKup9/gCjk zU1TXqnC57fSIJz1Fpr6hSfvH0wyZw8AjL36mZra/cWVr1KeIqm82ISWZBF4QqBjfMC80PE5nj5wu hxPIJpb3TAur5MPm7OJljSQxioIjHfXG0NWJM59mwBasVg9QF6pxS5iR3mXGjNqjqYUa0HZdiuMC9 43G/hXOPH7JXAWMJbKDI77d5fMwtoe7BOow8ivFtVNvaDrLeo6Tz7D0sswpThJDBSPv9QByIqHMgx HyvzOdsRSSPSp0MvRzkJShErcFY+dMg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIv75-0003FF-Cj; Sat, 03 Nov 2018 12:33:15 +0000 Received: from bonobo.maple.relay.mailchannels.net ([23.83.214.22]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIv72-0003De-6a for linux-arm-kernel@lists.infradead.org; Sat, 03 Nov 2018 12:33:14 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 50AE8501454; Sat, 3 Nov 2018 12:32:57 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.26.166]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id 781F6501DA4; Sat, 3 Nov 2018 12:32:56 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [199.195.250.187]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Sat, 03 Nov 2018 12:32:57 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Spill-Zesty: 4e8f829c49937904_1541248377171_2274156281 X-MC-Loop-Signature: 1541248377171:601250164 X-MC-Ingress-Time: 1541248377171 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id A80552160D1; Sat, 3 Nov 2018 12:32:50 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Corentin Labbe , Rob Herring , "David S . Miller" Subject: [PATCH v2 0/3] Allwinner H6 Ethernet support Date: Sat, 3 Nov 2018 20:32:35 +0800 Message-Id: <20181103123238.4665-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181103_053312_367273_CEDC0DAE X-CRM114-Status: GOOD ( 14.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset introduces Allwinner H6 Ethernet support with code already available for A64. As the EMAC on H6 is similar to A64 ones, support for them are directly reused, by using fallback compatible strings. Patches about system controller in v1 is sent by Jernej Skabrec as part of his H6 display patchset, and already gets applied. NOTE: This patchset targets the final version of Pine H64, and also supports the early sample of Pine H64 model B. However, it's not compatible with the early sample of Pine H64 model A. Please DO NOT test this patchset on the Pine H64 model A samples. Icenowy Zheng (3): dt-binding: dwmac-sun8i: add H6 compatible string (w/ A64 fallback) arm64: allwinner: h6: add EMAC device nodes arm64: allwinner: h6: add support for the Ethernet on Pine H64 .../devicetree/bindings/net/dwmac-sun8i.txt | 1 + .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 20 +++++++++++++ arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 28 +++++++++++++++++++ 3 files changed, 49 insertions(+)