From patchwork Mon Sep 28 01:05:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 313604 Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp2908857ilg; Sun, 27 Sep 2020 18:05:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOfVNSbGca3Yol2fO4q9aPqlqoJ2jFSaOH8IsGhxc/FIejj72loMFpOle22mGBxJ4KZyu/ X-Received: by 2002:a17:906:a251:: with SMTP id bi17mr12996722ejb.526.1601255146004; Sun, 27 Sep 2020 18:05:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601255146; cv=none; d=google.com; s=arc-20160816; b=XlqgvQx+K59IZ3piFLsgRVEdMHmXky/LYnGSAm7CldI5q08ARAVh9g5LqHUOo8MNei igau2HuQ7Llj1xDWQPFhIMsoHqIqyIJPhDyinfuywqggqQziQIVR9Xm0zHygcuPYDRsY EH9C15obNffMicMg012+JXen7PmIVJBPzWGe7HrAd5jAzvQlKbzM2f2wDRd20HLf3qoO gls0LFYfDwvYSIe16Yz/6XUkaBOnsd6W1XnTuGQnx+CRcPMfJyrahEVtPg0bTt4eWqvv t4eaZI8ktXITt+KbiIR42q7AxNw7l9d7vEHFLZ/M5aS3YGRf31R6IKyTZzEH807HCpwi /68Q== 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=eMlKJMK9ErdpsfgUAn7rh5JvieE2rF5bJR/E64Zz8Eo=; b=idlj+BNpUOuo5i9h3j+iDsgC/r0l6Ayvazj19ADEcszPLqWy+nqWLoO9Sf7Z+PGCHA ZDIincc+ZqhX2FTs10u5G0AgFWPpI18TTnK2+QA6PYvoQ2LH3I2aD2uxlTImUswE+9oe 6vCRYhd6Fd+g0JnrQNOPLXui2tei9vgXkwtUzbTmDzPzvZMO4ywGMkNWfPelS5VDYWiU AJJsARCwhwpYjIhasVLykDxdB2zzQixjqLZQRj4RpYSY/2dvey4v/JjpLSxZfqvsCWnf 15zPb9d/1QNULtR7CfQVJd0qplOZS8O4p2Mt6FwYsO7HeMwVjOlQZLsgVIc6mA+V/ixb ewkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id md14si6221418ejb.548.2020.09.27.18.05.45; Sun, 27 Sep 2020 18:05:45 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726406AbgI1BFn (ORCPT + 6 others); Sun, 27 Sep 2020 21:05:43 -0400 Received: from mx.socionext.com ([202.248.49.38]:27511 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726328AbgI1BFn (ORCPT ); Sun, 27 Sep 2020 21:05:43 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 28 Sep 2020 10:05:41 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 79F07180BE1; Mon, 28 Sep 2020 10:05:41 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Mon, 28 Sep 2020 10:05:41 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 016A81A0507; Mon, 28 Sep 2020 10:05:40 +0900 (JST) From: Kunihiko Hayashi To: Rob Herring , Bjorn Helgaas , Lorenzo Pieralisi , Jingoo Han , Gustavo Pimentel , Murali Karicheri Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH v2 0/4] PCI: dwc: Move iATU register mapping to common framework Date: Mon, 28 Sep 2020 10:05:29 +0900 Message-Id: <1601255133-17715-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This moves iATU register mapping in the Keystone driver to common framework. And this adds "iatu" property description to the dt-bindings for UniPhier PCIe host and endpoint controller. This series is split from the previous patches: https://www.spinics.net/lists/linux-pci/msg97608.html "[PATCH v6 0/6] PCI: uniphier: Add features for UniPhier PCIe host controller" This has been confirmed with PCIe version 4.80 controller on UniPhier platform. Please comfirm this series on Keystone platform if necessary. Changes since v1: - Use to_platform_device() instead of of_find_device_by_node() - Add Reviewed-by: line to 4th patch for keystone - dt-bindings: Add description for uniphier-ep Kunihiko Hayashi (4): dt-bindings: PCI: uniphier: Add iATU register description dt-bindings: PCI: uniphier-ep: Add iATU register description PCI: dwc: Add common iATU register support PCI: keystone: Remove iATU register mapping .../bindings/pci/socionext,uniphier-pcie-ep.yaml | 3 ++- .../devicetree/bindings/pci/uniphier-pcie.txt | 1 + drivers/pci/controller/dwc/pci-keystone.c | 20 ++++---------------- drivers/pci/controller/dwc/pcie-designware.c | 5 +++++ 4 files changed, 12 insertions(+), 17 deletions(-) -- 2.7.4