From patchwork Fri Sep 22 07:26:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 817343 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xz4pc14TYz9sNc for ; Fri, 22 Sep 2017 17:28:40 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id CB39DC21E4A; Fri, 22 Sep 2017 07:27:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 238C4C21F94; Fri, 22 Sep 2017 07:26:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B001EC21C8F; Fri, 22 Sep 2017 07:26:44 +0000 (UTC) Received: from wens.csie.org (mirror2.csie.ntu.edu.tw [140.112.30.76]) by lists.denx.de (Postfix) with ESMTPS id 24699C21C8F for ; Fri, 22 Sep 2017 07:26:43 +0000 (UTC) Received: by wens.csie.org (Postfix, from userid 1000) id ABCD05FF30; Fri, 22 Sep 2017 15:26:36 +0800 (CST) From: Chen-Yu Tsai To: u-boot@lists.denx.de Date: Fri, 22 Sep 2017 15:26:26 +0800 Message-Id: <20170922072635.32105-1-wens@csie.org> X-Mailer: git-send-email 2.14.1 Cc: Joe Hershberger , Jagan Teki , Maxime Ripard Subject: [U-Boot] [PATCH 0/9] sunxi: A83T improvements X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Hi, This series is a bunch of improvements for A83T boards, the Bananapi M3 and Cubietruck Plus in particular: - eMMC is enabled if it wasn't enabled already - EMAC is enabled for Ethernet support - MUSB switched to gadget mode EMAC is not fully tested. The MII and auto-negotiation part looks good. But I got "CACHE: Misaligned operation at range [bbf38940, bbf38a18]" when the EMAC is first initialized and I didn't seem to be getting any packets through. AFAIK the EMAC is the same as the H3/H5 one, minus the internal PHY support. So it should just work, and if it doesn't then the problem lies elsewhere. If this is not acceptable, feel free to drop the last four patches. ChenYu Chen-Yu Tsai (9): sunxi: rename Bananapi M3 dts file name sunxi: Enable eMMC on Cubietruck Plus sunxi: Fix USB PHY control register offset for A83T sunxi: Switch MUSB to gadget mode on the Bananapi M3 sunxi: Switch MUSB to gadget mode on the Cubietruck Plus net: sun8i_emac: Support RX/TX delay chains net: sun8i_emac: Fix build for non-H3/H5 SoCs sunxi: Enable EMAC on the Cubietruck Plus sunxi: Enable EMAC on the Bananapi M3 arch/arm/dts/Makefile | 4 +-- arch/arm/dts/sun8i-a83t-bananapi-m3-u-boot.dtsi | 41 ++++++++++++++++++++++ ...ovoip-bpi-m3.dts => sun8i-a83t-bananapi-m3.dts} | 0 .../arm/dts/sun8i-a83t-cubietruck-plus-u-boot.dtsi | 39 ++++++++++++++++++++ arch/arm/mach-sunxi/usb_phy.c | 2 +- configs/Cubietruck_plus_defconfig | 4 ++- configs/Sinovoip_BPI_M3_defconfig | 5 +-- drivers/net/sun8i_emac.c | 28 +++++++++++++++ 8 files changed, 117 insertions(+), 6 deletions(-) create mode 100644 arch/arm/dts/sun8i-a83t-bananapi-m3-u-boot.dtsi rename arch/arm/dts/{sun8i-a83t-sinovoip-bpi-m3.dts => sun8i-a83t-bananapi-m3.dts} (100%) create mode 100644 arch/arm/dts/sun8i-a83t-cubietruck-plus-u-boot.dtsi