Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp43367rwe; Thu, 25 Aug 2022 23:42:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR5RH+94HT+bg+Z13XdIsgTlcorb5M6aZuD3B1fh7MvB5EvObHBcCSg99R+iCa/WLKT642My X-Received: by 2002:a17:907:e91:b0:73d:a99a:7944 with SMTP id ho17-20020a1709070e9100b0073da99a7944mr4404061ejc.216.1661496176997; Thu, 25 Aug 2022 23:42:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661496176; cv=none; d=google.com; s=arc-20160816; b=ptc7PesYynzEGARY5NAkOJYUTocwsA6wz0WtNPe4XQ0wLBgv7zBltaJG3uRa0lvlGt FpxhzoppJKQwnUsPhd2r23Hdhiufq9XMMKcoIkGroQ1mpCrOehZBmgxacsrcHyaNn7xO fAGZrNUIGKRjKIa9Qif/Su8UcW8Lb8w1OLiHm4MaWulgdnDRPaWJ/TCuZT76/0zbeBsH M3madcMAFOQco+L2Vru3+6RZ0m4VAHzMPEeXDTsDxm/x/e9FWaKh9GVsAsOqDESqMsjO f++VfaYSJEKe0W5O6osHK+qra5q6Nh3Qh0ZMG1wlact4Pn99/yoNvn2oq6f/onm65YX0 OxRw== 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:organization:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature; bh=rBBrCz8xicVM3MADWVv4mCLziAZaOXVUZJrEM2LrFxU=; b=zdtRkBot5vApBEIYIrpkTu45BZSMSwRV+PfzrJ1iuxeiep007z/pm0R3v7ymojpY9Y 1z5JwarTRxb5eLTSuFQ5G9fveGly0j+3NP0QQABdYmJfxBdERotIYZdehBmXmE8yLZE4 HJpJvbMI9x4KhTiJbnwOghTHa0ElcXZgIn/wb0Xca0JgWfTfL6NEARH2MT3WwEIJ4ACW c2iryyeyfdGeBBVDhKWxzL/TICI2CbBYOKD2jKvJZarbl1O/IOGAUQbNtEuzWqx+SjdD uODu88zvdngB1Uo6Od2HEjTg+hhjU+yNNYc2vbWC8uWrSLmD5E8Y4y4Kdrmt4DT4SNDT OGTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b="CK6dv/n5"; dkim=pass header.i=@tq-group.com header.s=key1 header.b=I4mhAXZo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ez16-20020a056402451000b00447f78563basi223420edb.634.2022.08.25.23.42.31; Thu, 25 Aug 2022 23:42:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b="CK6dv/n5"; dkim=pass header.i=@tq-group.com header.s=key1 header.b=I4mhAXZo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244840AbiHZGWd (ORCPT + 99 others); Fri, 26 Aug 2022 02:22:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiHZGWb (ORCPT ); Fri, 26 Aug 2022 02:22:31 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCE52CEB00; Thu, 25 Aug 2022 23:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1661494950; x=1693030950; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=rBBrCz8xicVM3MADWVv4mCLziAZaOXVUZJrEM2LrFxU=; b=CK6dv/n5USqr7nroISveGYk2sP5MRPh8RgXDIZwPHQq8tnq8gzm49lr/ SFwKMk7qgwUwH5iB/cc2wo678PC2tewQkY2sgkjt/2FRAAVU8+oXxxlL8 yaJD+DJqYIozUGZVejPV/JfN5YshXaVhWxVmqcR3C7eZlYHCuPSLSSNwL 9/Ncfi4ookG0kBmq5vOHsjD6tAFr/ncId5OwZLzCANuU2KajSld0zZl6S oU8oxKL5F3gb4fvN8UKSa8uJyceyDMctBt20SuSDy1pUb58yUQmmpfku4 xZvA6h7jIJaeZjQYDioFjEQlnf3ZPDpPlSSxjy3cnKqw74WHKN8i36Lz5 w==; X-IronPort-AV: E=Sophos;i="5.93,264,1654552800"; d="scan'208";a="25817750" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 26 Aug 2022 08:22:28 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 26 Aug 2022 08:22:28 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 26 Aug 2022 08:22:28 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1661494948; x=1693030948; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=rBBrCz8xicVM3MADWVv4mCLziAZaOXVUZJrEM2LrFxU=; b=I4mhAXZo/hlLyy8nA6ygIFW2lVoTfaf0Ek8oRCN5sZGonHScggVH8X2Z 7pQUFU3SVa2kXgpgMruqVXEbtdP3l6+AFmdrC9ZmJ4UCY5kNE1Q0iVc6A DK8YVDirOkm2c7afsayhS32dx1aFr6h6JqGRimd0FC1mMMnQkDM6pj1Rs oeWDtgYQtV+A2BYH1QtpXwNTZjYIN/o5ctgbO9eIv+xOIhJd8yHadygSq 25Yi5n42BakjrYhF4/OU7PSEc9AcixdDvEXHES/3Hq4nbW2dddyRel34Z n6eAk/1O7TuE/+BzVXQa/Ss1RyvuO1Mw1AiHThvFN9xlEHBCDRx48Epji w==; X-IronPort-AV: E=Sophos;i="5.93,264,1654552800"; d="scan'208";a="25817749" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 26 Aug 2022 08:22:28 +0200 Received: from steina-w.localnet (unknown [10.123.49.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id CDCBD280056; Fri, 26 Aug 2022 08:22:27 +0200 (CEST) From: Alexander Stein To: Richard Zhu Cc: p.zabel@pengutronix.de, l.stach@pengutronix.de, bhelgaas@google.com, lorenzo.pieralisi@arm.com, robh@kernel.org, shawnguo@kernel.org, vkoul@kernel.org, marex@denx.de, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com Subject: Re: [PATCH v3 0/6] Add the iMX8MP PCIe support Date: Fri, 26 Aug 2022 08:22:25 +0200 Message-ID: <4384717.iIbC2pHGDl@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <1660806153-29001-1-git-send-email-hongxing.zhu@nxp.com> References: <1660806153-29001-1-git-send-email-hongxing.zhu@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Donnerstag, 18. August 2022, 09:02:27 CEST schrieb Richard Zhu: > Based on the 6.0-rc1 of the pci/next branch. > This series adds the i.MX8MP PCIe support and had been tested on i.MX8MP > EVK board when one PCIe NVME device is used. > > - i.MX8MP PCIe has reversed initial PERST bit value refer to > i.MX8MQ/i.MX8MM. Add the PHY PERST explicitly for i.MX8MP PCIe PHY. > - Add the i.MX8MP PCIe PHY support in the i.MX8M PCIe PHY driver. > And share as much as possible codes with i.MX8MM PCIe PHY. > - Add the i.MX8MP PCIe support in binding document, DTS files, and PCIe > driver. > > Main changes v2-->v3: > - Fix the schema checking error in the PHY dt-binding patch. > - Inspired by Lucas, the PLL configurations might not required when > external OSC is used as PCIe referrence clock. It's true. Remove all > the HSIO PLL bit manipulations, and PCIe works fine on i.MX8MP EVK board > with one NVME device is used. > - Drop the #4 patch of v2, since it had been applied by Rob. > > Main changes v1-->v2: > - It's my fault forget including Vinod, re-send v2 after include Vinod > and linux-phy@lists.infradead.org. > - List the basements of this patch-set. The branch, codes changes and so on. > - Clean up some useless register and bit definitions in #3 patch. > > Documentation/devicetree/bindings/phy/fsl,imx8-pcie-phy.yaml | 16 +++++++-- > arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 53 > +++++++++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi > | 46 ++++++++++++++++++++++++- > drivers/pci/controller/dwc/pci-imx6.c | 17 > +++++++++- drivers/phy/freescale/phy-fsl-imx8m-pcie.c | > 150 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------ > ------- drivers/reset/reset-imx7.c | 1 + > 6 files changed, 232 insertions(+), 51 deletions(-) > > [PATCH v3 1/6] reset: imx7: Add the iMX8MP PCIe PHY PERST support > [PATCH v3 2/6] dt-binding: phy: Add iMX8MP PCIe PHY binding > [PATCH v3 3/6] phy: freescale: imx8m-pcie: Add iMX8MP PCIe PHY > [PATCH v3 4/6] arm64: dts: imx8mp: add the iMX8MP PCIe support > [PATCH v3 5/6] arm64: dts: imx8mp-evk: Add PCIe support > [PATCH v3 6/6] PCI: imx6: Add the iMX8MP PCIe support On TQMa8MPxl + MBa8MPxL: Tested-by: Alexander Stein