From patchwork Wed Jul 31 11:51:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 1139702 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=public-files.de Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="Yvhev81R"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45zBf20mrbz9sMQ for ; Wed, 31 Jul 2019 21:53:46 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id CCADEC21E15; Wed, 31 Jul 2019 11:52:35 +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=KHOP_BIG_TO_CC, T_DKIM_INVALID 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 6C51AC21E3B; Wed, 31 Jul 2019 11:52:18 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8C68DC21C38; Wed, 31 Jul 2019 11:52:12 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lists.denx.de (Postfix) with ESMTPS id 640EBC21C38 for ; Wed, 31 Jul 2019 11:52:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1564573912; bh=Atxyh+e2O6fRjPv361K7sotk9E5ekXtxsAjb017m14A=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Yvhev81RKPp7XxRwy/foW+QiVlQPirHYVGOHIfMxIZ4mS51i/uD8dstVFcV+IxfaG o+LHxjs+ejTEFmKFpImUmK3leog47ynqBd5jLrr99BH4wY3W9c9EayAkV1LR+1bGWy KWLon7D3ZJgtRpBjK6W6hQJ2RILeGNERtKHg4P7c= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([217.61.145.165]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MO7Ca-1hyJS81pUC-005c51; Wed, 31 Jul 2019 13:51:52 +0200 From: Frank Wunderlich To: Albert Aribaud , Bao Xiaowei , Bin Meng , Christian Gmeiner , Hou Zhiqiang , Marek Vasut , Mark Lee , Oleksandr Rybalko , Prabhakar Kushwaha , Ryder Lee , Simon Glass , Stefan Roese , Tuomas Tynkkynen , u-boot@lists.denx.de, Weijie Gao Date: Wed, 31 Jul 2019 13:51:41 +0200 Message-Id: <20190731115145.22095-1-frank-w@public-files.de> X-Mailer: git-send-email 2.17.1 X-Provags-ID: V03:K1:KpZxaEA3lc3LpQMzh8ee+ZS+oRd6/e5LnsDPqiM21ISTteGE1tr DjecgwxQtc1iZR/2RNqy6bplD5NBfCLSVk7yU6uz3MmWaJ6GLewFxFfdN4h5w3yvHE0nfzd EMTdtSjiu+nIFxkopo+uiRtsHAfflCR0C0CyhpqmT3lUMHjQHFGDp8y6qX9UwUiJWvyA0V4 Mpx6FvW4WYP3Iv2SB0TBA== X-UI-Out-Filterresults: notjunk:1; V03:K0:yAv2oh93m9I=:pphaQRfKd/7cI4JXdJkA2d rFIq6Dru0jwMdnSQo0+Bg2pOTrjOO8PpctMbTgsbHPIABnkrB2hk5WXfwF6fxjYVm3c4h8RAt hVGpSRWRvz1Sb6cMo+R0Qw4MFMmQtcLeML2qqdwlM/mO8Y86OSc4bqQ9ggaMFFUzXZCPOcWxd nu8UvIsj3vZDxGVN1CWBu+qkG25iqLyW8ISkFGzEF6aE+OOOBRXpa1kmTzI/fDElpLmlgbCFn 2NF4RtsViquRD+v9ZigDugDnQ/JDp/YbyrvwbP0VIYfWZEVZifQp50AaEtjOgbzebX02qVShu GZiPPHNwGjqNkslFUGphs1ROUtWaelRd+5+lxSPJqSZo9zG8B1Q2Yc3gHgof5cRxVtUvGcf7j w9TJr8P4PiClAcGZeFq70xqPpCAhrmndL4yA67pWayxiw6WPMopQ1NZqL1gPr8qoTKYgRlUNY FEyFllElGRqzpqURn2pOT66p9G6xoiADfxBolZEwqWwIqLaBRFfIAiZZZpqNhePoLciKv/Ik7 4WDDYO3TEA6MRzuOTF/Xv6rIIuLeEzsjvSpBJdC7h3B7Xz8TVKQO9o5XbjJgtLrByMMEsPxYH VcQ7PwGf3lvIFZzsGytsCuJGSqNe7YiquNJchhX9Bc5EIvlYrV/J4fWXEmamvU+yF1AkEU+Bu E9Ak0nIuEoBRRsoj+A97Gju8uwOKN1WIq8FVxJGAxlK47eSkvyAcPGacSdND6pEK86mj/qRDy YhLI5nGtoVM1SYObsOLiek/YEhknfS9LuxzbsSsd7OZxr6QY77ju88n/5TjOyHXyURLBuCXci DiYg8U/912JpqkxBY5q3NU8XZ7JgXM0to3/SZN40mdmsOqrOVJp24WRfCfI3QzstcwsVSho2J aP71J5IY0QydRO+joSPPiizwsV3efYptixgmFP3C8DivtkgB3WvFdAC706iirBy33CmN5Msr9 BidIGDvGVe6GGnnEvUXhbDY+mUyJatS0sWSz4aNdeQNyrqoUQta68socq0mxkYgzUJLqQxOlj Q91DummwoeboN7zQRlKKaTuAhe1HYzsWaTICIOZlCIK84isVqn3cdS8auvIxY5cn0UfgJLdck DRtuy07VMQyXTs= Subject: [U-Boot] [PATCH 0/4] add pcie/ahci for mt7623/bpi-r2 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" with this Patchseries i want to add ahci-support (sata) for bananapi-r2 pci-driver may support other devices too using mt2701 for pcie, but in first step pcie is only activated for mt7623 (dts) Patches depend on hifsys-patches from ryder.lee: https://patchwork.ozlabs.org/project/uboot/list/?series=121987 Frank Wunderlich (1): arm: dts: Add PCI-E controller for mt7623 Oleksandr Rybalko (3): ahci-pci: ASM1061 report wrong class, but support AHCI. ata: ahci: Don't forget to clear upper address regs. pci: mediatek: Add pci-driver for mt2701 arch/arm/dts/mt7623.dtsi | 108 +++++++++ drivers/ata/ahci-pci.c | 1 + drivers/ata/ahci.c | 9 +- drivers/pci/Kconfig | 6 + drivers/pci/Makefile | 1 + drivers/pci/pci-mt2701.c | 490 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 613 insertions(+), 2 deletions(-) create mode 100644 drivers/pci/pci-mt2701.c --- 2.17.1