From patchwork Mon Jul 18 20:28:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauri Sandberg X-Patchwork-Id: 12921737 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7D162C433EF for ; Mon, 18 Jul 2022 20:31:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date:Cc :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=XgG2JWUeLRT+QoR3oA1DRRJNiWcdwmm7s0rnyYqC8ZA=; b=dzdyWCemb2sndp m7z+teTaygs743C9kCAAvMcZtpAEgFJ/3hMHEKoDfMIlQwVz2xvtvvKev2goXmwOzv1e37X/pd7py nlA2ToX2kGDYFoZrAStQFxsqzibLT1crKr0MmqA5wU3ucWeUG4WKYPpg+GUXA5TqGcK1gyVmZ6avg tHiAEWU7qNw+jB8PRyFKQqXscymvzvRgUPrmMOUY/YwHsL0/LnVdkWl8bmp5cJcqZfbkjStNQ4iQd 2SVm56DUlq+bz0BirnYG0QxiHVewCe+Ua6SB4UqN+PL1K9tR0EGqVjqQXC5KmPetlGiiaExsX1+h4 /HZeZAbBk2Ui/xbN9kig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDXNf-000nhG-Tu; Mon, 18 Jul 2022 20:30:16 +0000 Received: from mailserv1.kapsi.fi ([2001:67c:1be8::25:1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDXNK-000nYj-VH for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2022 20:29:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ext.kapsi.fi; s=20161220; h=Subject:Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RXK9UJTWF5fR3jaPwVuPL6tJGtAC9RFTrPqjcz+4IsY=; b=Z2uWg61+N3hv/PXqzwJpaAZFqP NdF5JmKU/UlQdgh/bSf8EJ76tTdi8tndssgKoYjlUOfg7kkyGQWlhFACu6vpEfl+C3WF8gqdRKQi7 CuNJzvswNDBEL/6nBS0aOCpMca8eCVK4P8U3kZ3cc5FedvislCtg5/eN8v47/R8D5awWMlw5TOTg9 SDxqxd2a+/uS4InUz449xTtskCZZPH0xIE4nELUCSNnrrzVOTlU/UW83hdMczs6p2QU+mQTKcTqP/ J2JQn6CLPTYIJm/p5llXr/CDJYGEhwcJArkgwZsN4jaVTmTZUN9zVMPuECBjt4hweWnk6r5pxoaQT XDtFCg1A==; Received: from a82-197-11-249.mpynet.fi ([82.197.11.249]:56879 helo=localhost) by mailserv1.kapsi.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oDXMr-00G7Ey-MM; Mon, 18 Jul 2022 23:29:28 +0300 Received: by localhost (sSMTP sendmail emulation); Mon, 18 Jul 2022 23:29:23 +0300 From: Mauri Sandberg To: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: bhelgaas@google.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andrew@lunn.ch, sebastian.hesselbarth@gmail.com, gregory.clement@bootlin.com, linux@armlinux.org.uk, lpieralisi@kernel.org, kw@linux.com, thomas.petazzoni@bootlin.com, pali@kernel.org, Mauri Sandberg Date: Mon, 18 Jul 2022 23:28:40 +0300 Message-Id: <20220718202843.6766-1-maukka@ext.kapsi.fi> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 82.197.11.249 X-SA-Exim-Mail-From: maukka@ext.kapsi.fi Subject: [PATCH 0/2] PCI: mvebu: add support for orion soc X-SA-Exim-Version: 4.2.1 (built Sat, 13 Feb 2021 17:57:42 +0000) X-SA-Exim-Scanned: Yes (on mailserv1.kapsi.fi) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220718_132955_540669_E25C790C X-CRM114-Status: GOOD ( 10.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello all! Working in close co-operation with Pali we made an initial attempt at bringing support for orion PCIe into mvebu PCIe driver. Currently the address of workaround memory range is hard coded and based on compatible string only. As Pali describes in another thread, we were not able to figure out what's the correct way to configure a configuration space. That discussion is here: https://lore.kernel.org/linux-pci/20220710225108.bgedria6igtqpz5l@pali/T/#u I tested this with D-Link DNS-323 rev A1 and it's working. As usual, all comments and feedback is welcome. Thanks, Mauri Mauri Sandberg (2): dt-bindings: PCI: mvebu: Add orion5x compatible PCI: mvebu: add support for orion5x .../devicetree/bindings/pci/mvebu-pci.txt | 1 + arch/arm/mach-orion5x/common.c | 13 ---- drivers/pci/controller/Kconfig | 2 +- drivers/pci/controller/pci-mvebu.c | 59 +++++++++++++++++++ 4 files changed, 61 insertions(+), 14 deletions(-) base-commit: ff6992735ade75aae3e35d16b17da1008d753d28 --- 2.25.1