Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp94370ybx; Wed, 6 Nov 2019 13:46:51 -0800 (PST) X-Google-Smtp-Source: APXvYqwvh0Dxf1xmScp8imbzl/11lvD/0SAq53OBoBgP8x0CvMjabLZfbdoogOmXWZ1Xcy2XVBhG X-Received: by 2002:a17:906:a0f:: with SMTP id w15mr35563206ejf.321.1573076811830; Wed, 06 Nov 2019 13:46:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573076811; cv=none; d=google.com; s=arc-20160816; b=qReRUC38t1dz/aBkpU5LnsLnPf5871KwEbQCcbsWY3r9SkrZb4sHxFmwGQptU39uJL U9GR8GC3+rmplthbMO6WZJibibO86YH4pbt3xKUTwj4DWflsAWHObEow/Yq8NjBJ9lFJ U7pSk24DRpngsqT8Vs7HPJ4gNogXVKd8UhC/266+HLkyGG+DSr2BlAwRDXhU48Ph8Nfc CuOiLTdeKkJGdgZpdnYbibs9ZCXiCCgslYMcSkG3jehU2S28eHiA5Ps5Lu0DNpofxe7a /2C/WBkUxeaKow+LgyA7wAXLGzOExxFAwwLP3OnF3AqVjb/fVV0IF7KwR+5q5m4kiOCA P7Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=1RF3ELiEWHBmpSkFxd2e7hey/WBGnWQ5QPGf240Yaao=; b=NNhNP5PiNdqKkoiOX3jkkdrMz3TmNtyM4DMDPQvVfR4BrsZHFVHOporZUGgjvVoWzd hA8hbvy5/09RPqVc7NR/XjYw5G4dVaz0j4SEm0yw6w+3vjwk8XRs2keWwLTEwq7v4KuD r3Q3kU1EprkWUwMfzNpSzu/rHpL72lcvPmAhLgkIAXTAZ7mSDZaO+OgNC+IXJ3N6lyJj qbFypk/5yEwPnpbSiFoJ4PvKtEsHMjX7i1KdH+0TO4LuK6O8pcM8pbdCjtREs+0/m/Ua hsCJbuqDv1qWxXx+lAh3jZcpAtPSVSIk0CuYcP955P0oCdy2hZOXG6TrhNQD4hGz75lv +SiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p17si146303ejb.9.2019.11.06.13.46.26; Wed, 06 Nov 2019 13:46:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727949AbfKFVpr (ORCPT + 99 others); Wed, 6 Nov 2019 16:45:47 -0500 Received: from mx2.suse.de ([195.135.220.15]:35884 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726779AbfKFVpq (ORCPT ); Wed, 6 Nov 2019 16:45:46 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id E2EEEAED5; Wed, 6 Nov 2019 21:45:44 +0000 (UTC) From: Nicolas Saenz Julienne To: Andrew Murray , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: james.quinlan@broadcom.com, mbrugger@suse.com, f.fainelli@gmail.com, phil@raspberrypi.org, wahrenst@gmx.net, Nicolas Saenz Julienne , linux-kernel@vger.kernel.org Subject: [PATCH 0/4] Raspberry Pi 4 PCIe support Date: Wed, 6 Nov 2019 22:45:22 +0100 Message-Id: <20191106214527.18736-1-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series aims at providing support for Raspberry Pi 4's PCIe controller, which is also shared with the Broadcom STB family of devices. There was a previous attempt to upstream this some years ago[1] but was blocked as most STB PCIe integrations have a sparse DMA mapping[2] which is something currently not supported by the kernel. Luckily this is not the case for the Raspberry Pi 4. Note that the driver code is to be based on top of Rob Herring's series simplifying inbound and outbound range parsing. [1] https://patchwork.kernel.org/cover/10605933/ [2] https://patchwork.kernel.org/patch/10605957/ --- Jim Quinlan (3): dt-bindings: pci: add bindings for brcmstb's PCIe device PCI: brcmstb: add Broadcom STB PCIe host controller driver PCI: brcmstb: add MSI capability Nicolas Saenz Julienne (1): ARM: dts: bcm2711: Enable PCIe controller .../bindings/pci/brcm,stb-pcie.yaml | 116 ++ arch/arm/boot/dts/bcm2711.dtsi | 47 + drivers/pci/controller/Kconfig | 12 + drivers/pci/controller/Makefile | 1 + drivers/pci/controller/pcie-brcmstb.c | 1302 +++++++++++++++++ 5 files changed, 1478 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml create mode 100644 drivers/pci/controller/pcie-brcmstb.c -- 2.23.0