Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2667146pxb; Thu, 10 Feb 2022 02:54:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7xWHMuudC3X+O5gXj1EijFV5KCo1UJYpW6AuvoyodiMFdipi5R9j19d6aTjXLv6+XyQXe X-Received: by 2002:a17:906:5d10:: with SMTP id g16mr5908985ejt.642.1644490445691; Thu, 10 Feb 2022 02:54:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644490445; cv=none; d=google.com; s=arc-20160816; b=gh9xJtdgi+SVo+xZeAGMLc7A9I0mWffkfD+dCOIPu1Wm9O2VwjWQKcVA88hQiRKfWc oX89BLg95+Wz4vsHNj13rSGndEciDvdU5lOekDN91pB49s61rPVnqEgjpgkgEG0n3Uyz a1bgetfdTb7oDeaOdncnyF2lGHJ125jqJtRuYrSC6oChU8zfJye7aKB8uOi2vHVFdeLt tXoOXu2XJo+on5QI7FFgmic2bP5OUhW6PDiCEhktPgyZMFTWfb0DL1KnX6Z/I7FyKw9v LmuipFsMb8jTRxkKHvZJmUitsTM1H0d9JpoU3tI38BsBYLQp+l5clUjyCDE3ZfcCPday j4jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=K2Qh4u56EpjdHEIyxxX2ljJhhu8zEuGNe0Se/pNP/r8=; b=dwfzlnMuc+9CFxsIfTHhAkKgji+raytal1gKZf9KByJwpJt3vSzRaSGlYBtNvjNmFZ Ro5HtaEiZ9h4hHBjvNFx/UkdMX0YU2BHalQnKQfwhJKyZVFfWEC4bpPqm1Snz4mBkpbT Sbv8+yK36oEB1D7XxxFrPh0yYN5rzifIl5IIULFbLdGFUp8+6z+X3nf5w7YBSvehVztV QgbCpv1mruNY2YScTNlkeCepPSkrvY4HRkoBJxACUSAboHJH+wEUA+evJV3hUwibJz5c I+2KlmvXtH/O6+6CngsXAouQuWniIZNzknwTvdu3rm1slPE0C34pl3qSl+2ycoYwcr5z fYmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd3si15363417ejc.49.2022.02.10.02.53.40; Thu, 10 Feb 2022 02:54:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237019AbiBJIKE (ORCPT + 99 others); Thu, 10 Feb 2022 03:10:04 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:48782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236937AbiBJIKC (ORCPT ); Thu, 10 Feb 2022 03:10:02 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C46D41A6; Thu, 10 Feb 2022 00:10:02 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 10 Feb 2022 17:10:01 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 2E7C0205D901; Thu, 10 Feb 2022 17:10:01 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 10 Feb 2022 17:10:01 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id D1162C1E23; Thu, 10 Feb 2022 17:10:00 +0900 (JST) From: Kunihiko Hayashi To: Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=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 v3 0/3] PCI: Introduce UniPhier NX1 PCI endpoint controller support Date: Thu, 10 Feb 2022 17:09:53 +0900 Message-Id: <1644480596-20037-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series includes the patches to add basic support for the PCI endpoint controller implemented in NX1 SoC. This defines SoC-dependent data to distinguish existing functions and flags for Pro5 and NX1 SoCs. Changes since v2: - Add .init(), .wait(), and has_gio to SoC-dependent data instead of "is_legacy" flag - Rename uniphier_pcie_init_ep_legacy() with uniphier_pcie_pro5_init_ep() - Rename uniphier_pcie_init_ep() and uniphier_pcie_wait_ep() with uniphier_pcie_nx1_init_ep() and uniphier_pcie_nx1_wait_ep() - Add Reviewed-by: lines Changes since v1: - Fix dt-bindings warnings Kunihiko Hayashi (3): dt-bindings: PCI: uniphier-ep: Add bindings for NX1 SoC PCI: uniphier-ep: Add SoC data structure PCI: uniphier-ep: Add NX1 support .../bindings/pci/socionext,uniphier-pcie-ep.yaml | 22 +++- drivers/pci/controller/dwc/pcie-uniphier-ep.c | 142 ++++++++++++++++++--- 2 files changed, 138 insertions(+), 26 deletions(-) -- 2.7.4