From patchwork Tue Oct 15 08:36:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaowei Bao X-Patchwork-Id: 11189835 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2C43514ED for ; Tue, 15 Oct 2019 08:48:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1712721D7F for ; Tue, 15 Oct 2019 08:48:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729156AbfJOIsH (ORCPT ); Tue, 15 Oct 2019 04:48:07 -0400 Received: from inva020.nxp.com ([92.121.34.13]:59346 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726430AbfJOIsH (ORCPT ); Tue, 15 Oct 2019 04:48:07 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D22B51A07CA; Tue, 15 Oct 2019 10:48:04 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 03A8E1A0460; Tue, 15 Oct 2019 10:47:58 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 613E5402B3; Tue, 15 Oct 2019 16:47:49 +0800 (SGT) From: Xiaowei Bao To: Zhiqiang.Hou@nxp.com, bhelgaas@google.com, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, leoyang.li@nxp.com, kishon@ti.com, lorenzo.pieralisi@arm.com, Minghuan.Lian@nxp.com, andrew.murray@arm.com, mingkai.hu@nxp.com, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Xiaowei Bao Subject: [PATCH v2 0/6] Add the Mobiveil EP and Layerscape Gen4 EP driver support Date: Tue, 15 Oct 2019 16:36:56 +0800 Message-Id: <20191015083702.21792-1-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.9.5 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org This patch set are for adding Mobiveil EP driver and adding PCIe Gen4 EP driver of NXP Layerscape platform. This patch set depends on: https://patchwork.kernel.org/project/linux-pci/list/?series=159139 Xiaowei Bao (6): PCI: mobiveil: Add the EP driver support dt-bindings: Add DT binding for PCIE GEN4 EP of the layerscape PCI: mobiveil: Add PCIe Gen4 EP driver for NXP Layerscape SoCs PCI: mobiveil: Add workaround for unsupported request error arm64: dts: lx2160a: Add PCIe EP node misc: pci_endpoint_test: Add the layerscape PCIe GEN4 EP device support .../bindings/pci/layerscape-pcie-gen4.txt | 27 +- MAINTAINERS | 3 + arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 56 ++ drivers/misc/pci_endpoint_test.c | 2 + drivers/pci/controller/mobiveil/Kconfig | 22 +- drivers/pci/controller/mobiveil/Makefile | 2 + .../controller/mobiveil/pcie-layerscape-gen4-ep.c | 169 ++++++ drivers/pci/controller/mobiveil/pcie-mobiveil-ep.c | 569 +++++++++++++++++++++ drivers/pci/controller/mobiveil/pcie-mobiveil.c | 99 +++- drivers/pci/controller/mobiveil/pcie-mobiveil.h | 72 +++ 10 files changed, 1009 insertions(+), 12 deletions(-) create mode 100644 drivers/pci/controller/mobiveil/pcie-layerscape-gen4-ep.c create mode 100644 drivers/pci/controller/mobiveil/pcie-mobiveil-ep.c