From patchwork Fri Dec 15 02:10:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yixun Lan X-Patchwork-Id: 848843 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yyYmc0xzrz9t1t for ; Fri, 15 Dec 2017 13:10:24 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754826AbdLOCJ6 (ORCPT ); Thu, 14 Dec 2017 21:09:58 -0500 Received: from mail-sh2.amlogic.com ([58.32.228.45]:45740 "EHLO mail-sh2.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754594AbdLOCJ4 (ORCPT ); Thu, 14 Dec 2017 21:09:56 -0500 Received: from localhost.localdomain (10.18.20.164) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server id 15.0.1320.4; Fri, 15 Dec 2017 10:09:19 +0800 From: Yixun Lan To: , Kevin Hilman CC: Neil Armstrong , Jerome Brunet , Giuseppe Cavallaro , Alexandre Torgue , Carlo Caione , Yixun Lan , , , , Subject: [PATCH v3 0/2] Add ethernet support for Meson-AXG SoC Date: Fri, 15 Dec 2017 10:10:12 +0800 Message-ID: <20171215021014.231308-1-yixun.lan@amlogic.com> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 X-Originating-IP: [10.18.20.164] Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series try to add support for the ethernet MAC controller found in Meson-AXG SoC, and also enable it in the S400 board. Changes in v3 since [4]: - put clock DT info in soc.dtsi - separate DT for 'add support for the controller' vs 'enable in board' Changes in v2 since [1]: - rebase to kevin's v4.16/dt64 branch - add Neil's Reviewed-by - move clock info to board.dts instead of in soc.dtsi - drop "meson-axg-dwmac" compatible string, since we didn't use this we could re-add it later when we really need. - note: to make ethernet work properly,it depend on clock & pinctrl[2], to compile the DTS, the patch [3] is required. the code part will be taken via clock & pinctrl subsystem tree. [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005301.html [4] http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005768.html [2] http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005735.html http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005694.html [3] http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005738.html Yixun Lan (2): ARM64: dts: meson-axg: add ethernet mac controller ARM64: dts: meson-axg: enable ethernet for A113D S400 board arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 ++++ arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 54 ++++++++++++++++++++++++++ 2 files changed, 61 insertions(+)