From patchwork Wed Sep 30 05:36:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 313841 Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp4740398ilg; Tue, 29 Sep 2020 22:36:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxb5sS4g4PliYYj6QvrCyQ8/IchmBrvQY6lDbujsyMh16VJC6qY9cVmdMkWCdmv865gKmjk X-Received: by 2002:aa7:c7c2:: with SMTP id o2mr954203eds.366.1601444194844; Tue, 29 Sep 2020 22:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601444194; cv=none; d=google.com; s=arc-20160816; b=ghxMi+MfcWfPdoBQe9/hdS4npcv6O6eKBAhd2DREVAQopAD1ysm08N/m6+vqUT3/zK 0pvynrF4LNLgAqwZmtzKR2vBYDQ/wroV0DG1lji/pP32fCgHIM4VF77Nc6osoD98j4la XcTkwMqQjuwWg/UkCvMwsGmvy1sJsg1SbMl6ljiKKPEJ0P3b2dZO/rzBTNE1aarkNjA7 F9QsCvirnf+roeUn8oD7Ctn//QnlTm9r3YgHYtQCezqsmrKx+BTobPlasuMOuo0dbdWE PoHHxjMZkqUSE77MjL0JfCuQQNhqQOiui+42tIldX7CbTMsoPQoOaA8JClf6N06TOZAy LO2w== 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=78T0xVrWZeQJsxXetxKHjsWdIS+LeBbqrEUxbdDwGio=; b=tZwPFXFI3rO7PFwoA7qtWuN0NdNTvzV0MHTeqmLfPyJbzxU40x1O5s4pDKO9yokwBe LrfMsDsZuD52G1eb36KwQZIcTkF6xE8P/RUs5um7I/ysj2dEUuZGSeah5NV4o2nhb7wk jfp8ezm5Ph0BRqyQJZo7pPlLKFMEVxDzhdlIM44KpDtf9K6VPqa3jGA8QRET/1us/tQN J+jJ0X6lz4pbUZE5ahjwz61DJgpFypULh8DX+uSpRkM4fYwyIOOhhpcoLPmokWsQxjy7 OxWyJtvhVg68LgxzkPrfu+hmQNg63TXT3va+nfXSqPekOC2GHeFdLaGjJoEiLr0AHJ+t qEjQ== 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 dn12si344326ejc.536.2020.09.29.22.36.34; Tue, 29 Sep 2020 22:36:34 -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 S1725850AbgI3FgT (ORCPT + 6 others); Wed, 30 Sep 2020 01:36:19 -0400 Received: from mx.socionext.com ([202.248.49.38]:57167 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725440AbgI3FgS (ORCPT ); Wed, 30 Sep 2020 01:36:18 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 30 Sep 2020 14:36:10 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 4BA0F60060; Wed, 30 Sep 2020 14:36:10 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 30 Sep 2020 14:36:10 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 801AE1A0509; Wed, 30 Sep 2020 14:36:09 +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 v3 0/4] PCI: dwc: Move iATU register mapping to common framework Date: Wed, 30 Sep 2020 14:36:03 +0900 Message-Id: <1601444167-11316-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 v2: - dt-bindings: Fix errors from dt_binding_check 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 | 20 ++++++++++++++------ .../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, 24 insertions(+), 22 deletions(-) -- 2.7.4