From patchwork Mon Sep 17 06:29:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?QmlhbyBIdWFuZyAo6buE5b2qKQ==?= X-Patchwork-Id: 10602107 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 C244C17E0 for ; Mon, 17 Sep 2018 06:30:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A61262962B for ; Mon, 17 Sep 2018 06:30:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A0F929629; Mon, 17 Sep 2018 06:30:42 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY 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 3DE1F2954E for ; Mon, 17 Sep 2018 06:30:42 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=dXmmSI8io3KhHJ6/lBPqRK3jBnX7lP4lXQuZf3YcAvM=; b=uTE7KKlp5D0ShO fGX7Eab6lTCu/tQIh2L7mGN4nltiThE/3r2zCcv2+fP/sFL/Kyd3CQXeiQHAjX88D94btWJq7l8lY qnAVUxBdPGH8//1fPSLjwk00Tc4hzh1fYloDK96aZK22YOwxZ5gNv3OupQx0jeXPm/ifxrJMEIz2G +SyAZ60J3Bl5CjNGDRqyEySTqDEl8IUPhHHy43qHuKqszLVnZK5BOfpiDDRqtoJHYbnb+qz6kQUzH bh6DPQEmpB5muq6NrG+rbYmyzfvHt0DWjD45dWyqAdgTBHucf2j/NLT8K25XCd5Ij97HbrWdZei74 qyDYsG9YzXu9InFl+8IQ==; 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 1g1n3O-0005LX-A1 for patchwork-linux-mediatek@patchwork.kernel.org; Mon, 17 Sep 2018 06:30:38 +0000 Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g1n2n-0003sM-PM; Mon, 17 Sep 2018 06:30:03 +0000 X-UUID: 006d4007ce89466c80d63d7370636f38-20180917 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1141897440; Mon, 17 Sep 2018 14:29:41 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 17 Sep 2018 14:29:40 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Mon, 17 Sep 2018 14:29:39 +0800 From: Biao Huang To: , Subject: [PATCH 0/2] add Ethernet driver support for mt2712 Date: Mon, 17 Sep 2018 14:29:21 +0800 Message-ID: <1537165763-13112-1-git-send-email-biao.huang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180916_233002_000496_11F0D1E1 X-CRM114-Status: UNSURE ( 6.09 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, nelson.chang@mediatek.com, biao.huang@mediatek.com, netdev@vger.kernel.org, sean.wang@mediatek.com, liguo.zhang@mediatek.com, linux-kernel@vger.kernel.org, matthias.bgg@gmail.com, linux-mediatek@lists.infradead.org, honghui.zhang@mediatek.com, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Ethernet in mt2712 is totally different from that in drivers/net/ethernet/mediatek/*, so we add new folder for mt2712 SoC. The mt2712 Ethernet IP is from Synopsys, and we notice that there is a reference driver in drivers/net/ethernet/synopsys/*. But 1. our version is only for 10/100/1000Mbps, not for 2.5/4/5Gbps. mt2712 Ethernet design is differnet from that in synopsys folder in many aspects, and some key features are not included in mt2712, such as rss and split header. At the same time, some features we need have not been implenmented in synopsys folder. 2. MediaTek will lauch new products base on this version continously, and there will be modifications between these products. so, we'd better maintain MediaTek's Ethernet driver to support synopsys-ip based products. And we adopt the frameworks in synopsys/* to develop Ethernet driver in mt2712.