Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3161261pxj; Sun, 23 May 2021 23:32:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5/GMfF3klwoktmxPPPk+ZGkUgn+ZkEmm/l/bfx/bNPBmzDzak0T70ZS0yw3kapbjYZzTW X-Received: by 2002:a05:6e02:927:: with SMTP id o7mr11385840ilt.35.1621837951536; Sun, 23 May 2021 23:32:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621837951; cv=none; d=google.com; s=arc-20160816; b=YF8Z6i7Ls7eQJ35UkJ3VN4yj2X9rmqLpEWMWbUfee4Hz1VicsnYj8cCOJZQ9LDgAdR MVVTpjgj2tgICPe4ilK73C72Ns0As+flg1t1LEZ1zi1XruKeLsbrTzL9ZiakZcmHYcl3 S6IHPri9Gxu7lmsYkwEH627hZl+DjsIpKyWr66ZRvOmD9MoihXurrgSZvqi/I2V1NVFM kKqy/3gXLShLMWaOr5uWpKDFT/05MbmGpgGMXY2v7NJ95mQLTYRKwvLPKRNQDvNcwKDG 4AV4e9H8xlOSqXzDG/v/KrMfpN6ZNkoInU/6Gs+On+tgkf1LbBvXsUjwKv4wj/R8gpKn LOLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=3ZD2JLImt48bWePh9TdjbIiTP3tCNkRu8Qq1vC8O7Io=; b=C62v+/w/sBQMsckNyCzds2IuTKYuiS6Eiy6a/oD7qVQ9oqflkfG1mJjoOqPl5phN4H LUBmiaqHS8XtV8luBVN8ec+626G9+txiV21fRwbkwKdWM9dyPUmAjBvg6sIFHxyCRhOt SHvCFngtUlcnbtDE8J9Q5UABLY2eesp79ROwIt/L/+QpN48XXfPcnBCWLP8J3cpG9cbE adQKg0aQHl49k52TiQYscUjSobznSsU02hbaphMXAHhL7bDhUrBWelvRn934uvuQ9ptG 7h8xo9OSi1sSe9pHL9G2f8qxfAV9xfywrzGB6Ec0NX9hTkmEPCYtOBWqi0u3uYHWt8/I 8CJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l19si2723614ilk.115.2021.05.23.23.32.18; Sun, 23 May 2021 23:32:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232320AbhEXGcL (ORCPT + 99 others); Mon, 24 May 2021 02:32:11 -0400 Received: from mo-csw1114.securemx.jp ([210.130.202.156]:44256 "EHLO mo-csw.securemx.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232291AbhEXGcF (ORCPT ); Mon, 24 May 2021 02:32:05 -0400 Received: by mo-csw.securemx.jp (mx-mo-csw1114) id 14O6UDpq011752; Mon, 24 May 2021 15:30:13 +0900 X-Iguazu-Qid: 2wGrTXt2OTZ3JauveJ X-Iguazu-QSIG: v=2; s=0; t=1621837813; q=2wGrTXt2OTZ3JauveJ; m=hKCpCsnUM5F0fJr5XiY3dcIMiQR4Kw6R9ZxRrbWz2Lk= Received: from imx2-a.toshiba.co.jp (imx2-a.toshiba.co.jp [106.186.93.35]) by relay.securemx.jp (mx-mr1112) id 14O6UCbf007973 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 24 May 2021 15:30:12 +0900 Received: from enc01.toshiba.co.jp (enc01.toshiba.co.jp [106.186.93.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by imx2-a.toshiba.co.jp (Postfix) with ESMTPS id 1302E1000D0; Mon, 24 May 2021 15:30:12 +0900 (JST) Received: from hop001.toshiba.co.jp ([133.199.164.63]) by enc01.toshiba.co.jp with ESMTP id 14O6UBsj020955; Mon, 24 May 2021 15:30:11 +0900 From: Nobuhiro Iwamatsu To: Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi Cc: linux-pci@vger.kernel.org, punit1.agrawal@toshiba.co.jp, yuji2.ishikawa@toshiba.co.jp, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nobuhiro Iwamatsu Subject: [PATCH v3 0/3] Visconti: Add Toshiba Visconti PCIe host controller driver Date: Mon, 24 May 2021 15:30:01 +0900 X-TSB-HOP: ON Message-Id: <20210524063004.132043-1-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series is the PCIe driver for Toshiba's ARM SoC, Visconti[0]. This provides DT binding documentation, device driver, MAINTAINER files. Best regards, Nobuhiro [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.html dt-bindings: pci: Add DT binding for Toshiba Visconti PCIe controller v2 -> v3: - No update. v1 -> v2: - Remove white space. - Drop num-viewport and bus-range from required. - Drop status line from example. - Drop bus-range from required. - Removed lines defined in pci-bus.yaml from required. PCI: Visconti: Add Toshiba Visconti PCIe host controller driver v2 -> v3: - Update subject. - Wrap description in 75 columns. - Change config name to PCIE_VISCONTI_HOST. - Update Kconfig text. - Drop empty lines. - Adjusted to 80 columns. - Drop inline from functions for register access. - Changed function name from visconti_pcie_check_link_status to visconti_pcie_link_up. - Update to using dw_pcie_host_init(). - Reorder these in the order of use in visconti_pcie_establish_link(). - Rewrite visconti_pcie_host_init() without dw_pcie_setup_rc(). - Change function name from visconti_device_turnon() to visconti_pcie_power_on(). - Unify formats such as dev_err(). - Drop error label in visconti_add_pcie_port(). v1 -> v2: - Fix typo in commit message. - Drop "depends on OF && HAS_IOMEM" from Kconfig. - Stop using the pointer of struct dw_pcie. - Use _relaxed variant. - Drop dw_pcie_wait_for_link. - Drop dbi resource processing. - Drop MSI IRQ initialization processing. MAINTAINERS: Add entries for Toshiba Visconti PCIe controller v2 -> v3: - No update. v1 -> v2: - No update. Nobuhiro Iwamatsu (3): dt-bindings: pci: Add DT binding for Toshiba Visconti PCIe controller PCI: Visconti: Add Toshiba Visconti PCIe host controller driver MAINTAINERS: Add entries for Toshiba Visconti PCIe controller .../bindings/pci/toshiba,visconti-pcie.yaml | 110 ++++++ MAINTAINERS | 2 + drivers/pci/controller/dwc/Kconfig | 9 + drivers/pci/controller/dwc/Makefile | 1 + drivers/pci/controller/dwc/pcie-visconti.c | 369 ++++++++++++++++++ 5 files changed, 491 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/toshiba,visconti-pcie.yaml create mode 100644 drivers/pci/controller/dwc/pcie-visconti.c -- 2.31.1