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: 11807975 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2C923112C for ; Wed, 30 Sep 2020 05:37:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F3290206DB for ; Wed, 30 Sep 2020 05:37:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YnE4onYy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F3290206DB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject: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=n+C4NAA+NWm1KoKpja+mkZL1Ht31EQVXXKsXjlyJWkk=; b=YnE4onYy5ZGcpSS0ddoMZyq/z5 OL87bbLEL0qiBHWYXjcMgCIXch7Xv82VkoTBO+O1XVQ28YUBKjIv5DfMHdoNIIhlfnzxQb2biPyZv udIzjl76zzfNinX9DDw5zkB3ce0VHR6xiXMHr/7OUGra1BYD2MAJnUhsf2pdx23FW0UHn8yyPm5yi LQWx+GwlHvDo4ewHU+eKmO5iipEp08m8x/RWEIbjYKP/Hf07F3kOkslNEVp59UNAPz6E+1HIbMh58 mdbKvZzw1Vj7RF80ET0NRpHaocSBND4a5id3UHtXYNSwRQt35PPZOu0aFvgw7czK1Ncs8e08fRaUo g/5is1CA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNUmt-0002QM-RN; Wed, 30 Sep 2020 05:36:23 +0000 Received: from mx.socionext.com ([202.248.49.38]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNUmh-0002Mb-DD for linux-arm-kernel@lists.infradead.org; Wed, 30 Sep 2020 05:36:14 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200930_013611_621575_7DC0167F X-CRM114-Status: GOOD ( 15.22 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Kunihiko Hayashi , Masami Hiramatsu , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Jassi Brar , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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(-)