Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1030961pxy; Sun, 1 Aug 2021 10:01:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4sG4/aOMyQLulw3RdwuzT4uxttGndsqVVbGRjByNjjo40nbhhk4qN7XjZ6PmGn7jk6O6E X-Received: by 2002:a05:6402:10cc:: with SMTP id p12mr14843353edu.328.1627837297351; Sun, 01 Aug 2021 10:01:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627837297; cv=none; d=google.com; s=arc-20160816; b=kfbmFVuKMp6zNYeGMuSSTBNZxY/Wm5K8n117wk3YcLnDhUqKOMz1nF3tJQseKlikYL ke2eKf5OJFbCMw84wA8nphCnPTy7Z6f0uF3QfM1nrzmbLnK1H51kT9MV8DI7DRN81+DA vqzCztrt59JCgKfuGvjYqf5NYFT48kX4DBGfbjJDYcyhtXzZWKaNBBdfUJDPnkkaNI0P /NHTFUDNeVC9KAhZKKwsEs8u+h0PCAGIUrN4cbuu8a7vTxdsA/l2uDkeoLqJD+45J2+Q DBd7gCQXQuBfJMCqbMi4n+4JtWzcRGO26o8nazIid0Q4ilBm7JsR8tMl28pWOwLyjwOK oX4Q== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=KlFDE3T9G1G2C77OJvOOk7yM+Jeb0p8EeTgakFoqcvA=; b=EDfwpPjCJs5kElfxWTsuNe3Sg70DCESdRBS+2nN+b1wAtDlUcAyGav6AJ+pPmMSp8n he1+oSTNH5VfoTMjw+aeUlMZ5YYld7/TV77cUSVf4dO+Upgc8QJN7maYBJ7bIPZB9upm fH4WvFak7vs95C6d3cfV8PiPS+pJA87VdprfAFu15gWjq9ZrktaGMULgn7eyV6G1xKg+ msho0t6FeyTHP5qWXSWvI1NS3pk3yQLAMFKfAD5NR6cuBJAP/l0FjRHTEqY8We933gDM /91AB5+kQF/xw5EcGbcXIbhqfKEWEAy6w4wtm0mhCoXOx51GFrvIb9kOjp3lnDa5F5+7 ZjOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jRK5hsfv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bt23si6912381ejb.268.2021.08.01.10.01.11; Sun, 01 Aug 2021 10:01:37 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jRK5hsfv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229615AbhHAQzT (ORCPT + 99 others); Sun, 1 Aug 2021 12:55:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:45136 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbhHAQzS (ORCPT ); Sun, 1 Aug 2021 12:55:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BC51B60EE9; Sun, 1 Aug 2021 16:55:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627836910; bh=t0F14vvjAbS4suu+eRLbQ6noEGxXjuGG6u4ukmGqh6E=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jRK5hsfv4Q6r3RUtHh4pyi4copIhvH6jbUo5DSq6T6Ki2cDN6SxK9S/xOYMw5HuM4 yXX7ca6ZtTailRC+RpMXG5ZEt8ZahdFo0mKdP3q48ALNXSu3saxQcfEAAJzS8uudaC Zw+3lcnySqlv8h4qRplaYL1EPDPLvpK/deQKfpxjcO5B2zpDo311ATs8cG/hXcinJN dcE4pVsT34V1p7cRi4/U2tMWfbKhuGT/TNtRAtgVeDQpwGAHmZzZikey+ukHskqV2J ND0yrMwcn0S9H1fRddsXUgTIh5vzbDe1YAcgCqrkygDjXh+vGKHdo02c1Oclzy6BJ+ 1YU0FpdD5eLJw== Date: Sun, 1 Aug 2021 18:55:00 +0200 From: Mauro Carvalho Chehab To: Vinod Koul , Bjorn Helgaas , Rob Herring Cc: Krzysztof =?UTF-8?B?V2lsY3p5xYRza2k=?= , Binghui Wang , Xiaowei Song , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-phy@lists.infradead.org Subject: Re: [PATCH v8 00/11] Add support for Hikey 970 PCIe Message-ID: <20210801185500.7fbb1849@coco.lan> In-Reply-To: References: X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, 30 Jul 2021 11:50:03 +0200 Mauro Carvalho Chehab escreveu: > On this version, the DT bindings were split on a separate patch series: > https://lore.kernel.org/lkml/cover.1627637448.git.mchehab+huawei@kernel.org/ > > The patches here should apply cleanly on the top of v5.14-rc1. > > patch1 contains a PHY for Kirin 970 PCIe. > > The remaining patches add support for Kirin 970 at the pcie-kirin driver, and > add the needed logic to compile it as module and to allow to dynamically > remove the driver in runtime. > > Tested on HiKey970: > > # lspci -D -PP > 0000:00:00.0 PCI bridge: Huawei Technologies Co., Ltd. Device 3670 (rev 01) > 0000:00:00.0/01:00.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) > 0000:00:00.0/01:00.0/02:01.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) > 0000:00:00.0/01:00.0/02:04.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) > 0000:00:00.0/01:00.0/02:05.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) > 0000:00:00.0/01:00.0/02:07.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) > 0000:00:00.0/01:00.0/02:09.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) > 0000:00:00.0/01:00.0/02:01.0/03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809 > 0000:00:00.0/01:00.0/02:07.0/06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07) As a reference, this is HiKey970 with both M.2 and mini-PCIe slots with devices: # lspci -D -PP 0000:00:00.0 PCI bridge: Huawei Technologies Co., Ltd. Device 3670 (rev 01) 0000:00:00.0/01:00.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) 0000:00:00.0/01:00.0/02:01.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) 0000:00:00.0/01:00.0/02:04.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) 0000:00:00.0/01:00.0/02:05.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) 0000:00:00.0/01:00.0/02:07.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) 0000:00:00.0/01:00.0/02:09.0 PCI bridge: PLX Technology, Inc. PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) 0000:00:00.0/01:00.0/02:01.0/03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809 0000:00:00.0/01:00.0/02:05.0/05:00.0 Network controller: Intel Corporation Centrino Advanced-N + WiMAX 6250 [Kilmer Peak] (rev 5e) 0000:00:00.0/01:00.0/02:07.0/06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07) Regards, Mauro Thanks, Mauro