From patchwork Thu Feb 3 02:36:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 12733787 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 68BCEC433EF for ; Thu, 3 Feb 2022 02:38:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc: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=GPVtaht1KwVGHhdw4N9pzaupV3mUWo8vy5/W16EGyQ8=; b=mWuZ1DhQNB79w2 ycbphanZDN38fgdkku9WUBOWkpvi42aRiMtC+uRGQztN3Y2NWtrP+h1MoDMk8rYTkodOzJ/xlPapK Oh4VrZk2DF9EzNV2Ea/BFjm3oGEvN8l1zGM6URxybhW+tzItjzLkfl5mCC4mn3UAt3rnyZ8qS73RM OOoRAyOWCAgVLkz8o0JJoqBigNhBq0KFAaCfWl3Yi8e+IAu//56h+dJSTgEoIUwJCx0enyJathHhp SwdqTZo8pkw1iKNjSRO1e/jM+CcGmlhdynyfAaYEzfjKpt4pSCr9NRwVuWLVbsU5Zfshgb9PNMh+F KJDX5E4rlpMZOX0swO7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFRzX-00HRWf-FL; Thu, 03 Feb 2022 02:36:59 +0000 Received: from mx.socionext.com ([202.248.49.38]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFRzU-00HRV5-4A for linux-arm-kernel@lists.infradead.org; Thu, 03 Feb 2022 02:36:57 +0000 Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 03 Feb 2022 11:36:52 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 5C1232077461; Thu, 3 Feb 2022 11:36:52 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 3 Feb 2022 11:36:52 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id A66F9C1E22; Thu, 3 Feb 2022 11:36:51 +0900 (JST) From: Kunihiko Hayashi To: Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= , Masami Hiramatsu Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH 0/3] PCI: Introduce UniPhier NX1 PCI endpoint controller support Date: Thu, 3 Feb 2022 11:36:23 +0900 Message-Id: <1643855786-23186-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-20220202_183656_299859_994C3C92 X-CRM114-Status: GOOD ( 11.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series includes the patches to add basic support for the PCI endpoint controller implemented in NX1 SoC. Existing functions for Pro5 treat as "legacy" because the some registers and initialization of NX1 is different from Pro5. Kunihiko Hayashi (3): dt-bindings: PCI: uniphier-ep: Add bindings for NX1 SoC PCI: uniphier-ep: Add support for non-legacy SoC PCI: uniphier-ep: Add compatible string and SoC-dependent data for NX1 SoC .../bindings/pci/socionext,uniphier-pcie-ep.yaml | 22 ++-- drivers/pci/controller/dwc/pcie-uniphier-ep.c | 139 ++++++++++++++++++--- 2 files changed, 136 insertions(+), 25 deletions(-)