Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp420767ybl; Thu, 5 Dec 2019 23:29:37 -0800 (PST) X-Google-Smtp-Source: APXvYqzuGmh3LTIxV85wltyAswqwalcUx25gqCCxYMtBC6GZcCSdQUNa+LtNZJydDpP0YZAu8z0Y X-Received: by 2002:aca:8d5:: with SMTP id 204mr10672626oii.141.1575617377750; Thu, 05 Dec 2019 23:29:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575617377; cv=none; d=google.com; s=arc-20160816; b=RqNgu1+IVn2imqfNsag2C9d+01C7fosAGZ/8lZt2tpa63SlZLAnQbEKf3GV2/C2o5v fpAW3EkT29grj0RTRB5Rt+ovLMAW46P6ZF6Cl5haDoOyZ0CqqsuU3E+p0JvbFCtDC35j YXxOTCnHjhTeMQT1AkLgBBpaaRG+B9yivzQNrzK9E6pfgDrQcykMbIuVA2AgNEE7hKXL dFLiXXYq9wKkMyf/jn2xNO5vfimdHy/Xeq4xxwJqwL7Vg/EZaOPnKxF2JhGqoDXLEseA auPAll7ICTF1rQwFXuMwdaL9pmxoF6Ogbpwt6szpfCWz90G7MbrovOdMAI/4U4MpaVSL 7iGg== 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=SkjKur+GFIgcss/Z/qXeePoEPHcvDI4nbfxfkMAhG88=; b=HYhuZw99W0cMJxMK1BwcK2LKihA5R45BfmVXMCAkzIRY5UhPieH0TVpqxzizXmA9CZ P0z25D/sSVz6P4WFTsSSINP/PAy1w3Hk1YuBJgamgwsZVROSI/o2VNf8YjgXlq2ilZs+ 5seOpAeA3BK4Fdlvxazrz8rEv1w8pDtIw89t1JSYKlFIlbMBnXauBVRlgSoVhD4scYN7 Jb1wk0wTx2KGIdHhJeSY12Zrj8bnY9DYIGita8sa0zOAlSQof3qvvyfjAYLyeR107ezh EaBWPPzgyz17ofG9zwDXzwGjV1pmTk1UnFzh6vQovzmNdh3QOXgzW/MBF95omPe9Kp8S qBwA== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r132si6185305oig.263.2019.12.05.23.29.25; Thu, 05 Dec 2019 23:29:37 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726316AbfLFH17 (ORCPT + 99 others); Fri, 6 Dec 2019 02:27:59 -0500 Received: from mga07.intel.com ([134.134.136.100]:34291 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725858AbfLFH17 (ORCPT ); Fri, 6 Dec 2019 02:27:59 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Dec 2019 23:27:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,283,1571727600"; d="scan'208";a="411933028" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by fmsmga005.fm.intel.com with ESMTP; 05 Dec 2019 23:27:55 -0800 From: Dilip Kota To: lorenzo.pieralisi@arm.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, andriy.shevchenko@intel.com Cc: gustavo.pimentel@synopsys.com, andrew.murray@arm.com, robh@kernel.org, linux-kernel@vger.kernel.org, cheol.yong.kim@intel.com, chuanhua.lei@linux.intel.com, qi-ming.wu@intel.com, Dilip Kota Subject: [PATCH v10 0/3] PCI: Add Intel PCIe Driver and respective dt-binding yaml file Date: Fri, 6 Dec 2019 15:27:47 +0800 Message-Id: X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Intel PCIe is Synopsys based controller. Intel PCIe driver uses DesignWare PCIe framework for host initialization and register configurations. Changes on v10: Rebase the patches on mainline v5.4 Squashed the patch that fixes the below issue to this patch series. WARNING: unmet direct dependencies detected for PCIE_DW_HOST Depends on [n]: PCI [=y] && PCI_MSI_IRQ_DOMAIN [=n] Selected by [y]: - PCIE_INTEL_GW [=y] && PCI [=y] && OF [=y] && (X86 [=y] || COMPILE_TEST [=n]) "reportedby Randy Dunlap " Dilip Kota (3): dt-bindings: PCI: intel: Add YAML schemas for the PCIe RC controller PCI: dwc: intel: PCIe RC controller driver PCI: artpec6: Configure FTS with dwc helper function .../devicetree/bindings/pci/intel-gw-pcie.yaml | 138 ++++++ drivers/pci/controller/dwc/Kconfig | 11 + drivers/pci/controller/dwc/Makefile | 1 + drivers/pci/controller/dwc/pcie-artpec6.c | 8 +- drivers/pci/controller/dwc/pcie-designware.c | 57 +++ drivers/pci/controller/dwc/pcie-designware.h | 12 + drivers/pci/controller/dwc/pcie-intel-gw.c | 545 +++++++++++++++++++++ include/uapi/linux/pci_regs.h | 1 + 8 files changed, 766 insertions(+), 7 deletions(-) create mode 100644 Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml create mode 100644 drivers/pci/controller/dwc/pcie-intel-gw.c -- 2.11.0