Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5726702ybp; Tue, 15 Oct 2019 04:14:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgYmaUgwU6mloYY3ZlHKGo7iGCG2hdbTGGdENCDvktOlvBEk+kzw9zkIWQAppUNiPfL6qr X-Received: by 2002:aa7:d756:: with SMTP id a22mr2890749eds.198.1571138068600; Tue, 15 Oct 2019 04:14:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571138068; cv=none; d=google.com; s=arc-20160816; b=pemYR0JHQPr8dWIq0qgy//3rhkufh7B0Ul16xeuwEJurAvwVCOjNQXJXbpEkx+bwop r2MAVvzYlzqcR7NC/4SzjiKdPVV0Ll4rRpf9x1ffZYaST2JyJgVYkNd2GNpr4nmkwqny xgxl3NUtss1bIQE56BQbJkReu7omJNv0SiAUC8XWbiJWFA4Cku3oYL+JLJIvNG3DvVig 9s+4JsAiVaZCUSbUNk6zbAeWuhq95m0KXVIvBYpEyg3NvsTC6T8IyZEPCVQjbKrVMpir GFVFmRl3bE/U959LxHYXsKABYvzvv3jMzvkPCJwMfSAlKU5O3yVxEZ8MnC6dhd9Aaytu glBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=xvSthonfkXMGWgNrOtKwpIaPFwrdLe8uK9FNE/TCKVM=; b=BNN94s7boqUU/+SQNM5g2UZLdep3C61a0WyJQwKe6JbvU5sM/iLSoZjUNes3UyAbzr XHndEErwuWWrlA0R74waI4whExvvKF5gyNEyD3o5YVx4I1LyrANqkJzWZYoKtky3N+TV FwweNfXMpCUhPZPdrz7lseEPY7VykYzvNbzGliqifyywwEV121P0R6iPVqrHZYCAiMB1 4DKXv5kSkkCs9zm0tC6Gn3wYZ5BLN6siFr9fzOTHmmHbMQE8++SKpwGR4Y7+16qiscz/ iYMaL0dTBf1J1PnEd0Iigc2pjVZ9Rr6zwNepK/KwnIk7GWh9l+ljQEbAoWfk/j6vxj4j IDeA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q46si14823827eda.44.2019.10.15.04.14.05; Tue, 15 Oct 2019 04:14:28 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729391AbfJOIsH (ORCPT + 99 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 -- 2.9.5