From patchwork Thu Mar 19 07:54:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 11446643 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 D967F139A for ; Thu, 19 Mar 2020 07:54:19 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B7FF620722 for ; Thu, 19 Mar 2020 07:54:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="r0tUMksH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B7FF620722 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject: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=i92uRW+3z6a+e4BSQy+EkA9KT8SmjM889Vja6RP1Qds=; b=r0t UMksHi867GQQFwfs8Qdp1qhylaiRzN/N4o6S1kSvXOhOw/yybhg9L4jxRS3uneBmWkc2ai+hi0fXx nFIg+M8AdxqknQq5ww3rc0i5dwXPYUXkiMq08yCzmFVEWGk0XOQr5xw0VXrAIs1w4onmmZBEi4M6t J+7FFZKgBYr75fssKUbnz65s8PnHZvUJe+JjqJXVPLzBpqMEJ3CrhSUVAlWRz1PaBD32CFrB3JN4r Nc6My7UWUB5JtKeS92TRgj2f4xZNCLdnIHpoVEZxu6t6daUHeZFYU5aygjWE3Q+n/YBsgqCj+gue0 YhJxbmrVCC03bmcYftxwwKiKFO2Pldg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jEq0P-0000dA-MM; Thu, 19 Mar 2020 07:54:17 +0000 Received: from mx.socionext.com ([202.248.49.38]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jEq0M-0000c0-5J for linux-arm-kernel@lists.infradead.org; Thu, 19 Mar 2020 07:54:15 +0000 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 19 Mar 2020 16:54:13 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 6082118005C; Thu, 19 Mar 2020 16:54:13 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 19 Mar 2020 16:54:13 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 8D5DB1A0E67; Thu, 19 Mar 2020 16:54:12 +0900 (JST) From: Kunihiko Hayashi To: Bjorn Helgaas , Lorenzo Pieralisi , Andrew Murray , Masahiro Yamada , Rob Herring , Mark Rutland Subject: [PATCH v2 0/2] PCI: Add new UniPhier PCIe endpoint driver Date: Thu, 19 Mar 2020 16:54:07 +0900 Message-Id: <1584604449-13461-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200319_005414_315070_BCD74DA2 X-CRM114-Status: GOOD ( 15.55 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [202.248.49.38 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Kunihiko Hayashi , Masami Hiramatsu , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Jassi Brar , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This series adds PCIe endpoint controller driver for Socionext UniPhier SoCs. This controller is based on the DesignWare PCIe core. This driver supports Pro5 SoC. Changes since v1: - dt-bindings: Add Reviewed-by line - Fix register value to set EP mode - Add error message when failed to get phy - Replace INTX assertion time with macro Kunihiko Hayashi (2): dt-bindings: PCI: Add UniPhier PCIe endpoint controller description PCI: uniphier: Add UniPhier PCIe endpoint controller support .../devicetree/bindings/pci/uniphier-pcie-ep.txt | 47 +++ MAINTAINERS | 4 +- drivers/pci/controller/dwc/Kconfig | 13 +- drivers/pci/controller/dwc/Makefile | 1 + drivers/pci/controller/dwc/pcie-uniphier-ep.c | 405 +++++++++++++++++++++ 5 files changed, 466 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/pci/uniphier-pcie-ep.txt create mode 100644 drivers/pci/controller/dwc/pcie-uniphier-ep.c