From patchwork Fri Feb 4 04:25:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 12734782 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 DF7C8C433EF for ; Fri, 4 Feb 2022 04:27:20 +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=i2RfCPu6SJzdYK0YWCC6odbZK5EsKU3SX8UW7ssYddc=; b=bfEgdDnmrxxYJx k54ekXkIXX3RdN53yHhqLluPjocf3MGDog5yFu8Vr+ABGq549ChwM2N/y/YwCgpx0hydH06RU1B++ 0TYJ6/W0kqut2H0iXPRcLoId9Blbif3Ze/OZzOpTyv8hFLef3yJ6ugE1F0LImlaLzb60xH3PGNYbS I3D2adW8PN/f4OOQdkturkd01u+OAroiTr8k4xdv3rvCtuj5eW1FF4tlfMCu7wq8346oq+MdStVxi 6DEDfC33DhSqtF56qQXyl7Fy5IqP1Ax/BWwM9ssUcxQp+/rrUEjiIXOowPhPMTxfl06PVbdtR29oX JJet9xofI0j3+vSDX94w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFqAN-003RA2-C3; Fri, 04 Feb 2022 04:25:47 +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 1nFqAJ-003R8Z-QZ for linux-arm-kernel@lists.infradead.org; Fri, 04 Feb 2022 04:25:45 +0000 Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 04 Feb 2022 13:25:43 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 1CB842083C4C; Fri, 4 Feb 2022 13:25:43 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 4 Feb 2022 13:25:43 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 5F64EC1E22; Fri, 4 Feb 2022 13:25:42 +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 v2 0/3] PCI: Introduce UniPhier NX1 PCI endpoint controller support Date: Fri, 4 Feb 2022 13:25:36 +0900 Message-Id: <1643948739-14889-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-20220203_202543_997889_3B722023 X-CRM114-Status: GOOD ( 11.29 ) 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. Changes since v1: - Fix dt-bindings warnings 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(-) Reviewed-by: Rob Herring