Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp198443rwb; Thu, 18 Aug 2022 02:05:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR4+Y1XZlchMFGp219R5aGqVEp3G7uZY544EJIgrl2Jtb4aFOjIKKBAeg1DxLNL0TI7Uv0gN X-Received: by 2002:a17:90b:17ce:b0:1f4:d068:5722 with SMTP id me14-20020a17090b17ce00b001f4d0685722mr7613902pjb.28.1660813555744; Thu, 18 Aug 2022 02:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660813555; cv=none; d=google.com; s=arc-20160816; b=gYq9iM0ElXL9jWvikD0soa21oJX8QaPWZ613Jr5Qo1i8vj6FSyRfOjFtFkMIqEVJwg jVPzy/8UwXIdko6gUf1j5qrRKZTR2gA1KDtE87XjvLBHfhjAvwkFHpkkchCEL1A8n8jp Eu1dF5s4aWuGCK+g/2ZRVINerGYR3OMgWWuA/kkAVO8k+NGMsrD8tA8FWE1SqGV+41oD xYYaJxTL1sN1UZd+PB7cRKH1fHFv+7ob4SqBGWn6KGvzrcPhKsWUoCat0NnvY/OiZNrT XFVI49UKKr+jka8y/DwyEy9Gtt6yqyWx4yIXSl8M5RGv1jGgQ9/ZWbzbhvTiXxRYrWdr Jp+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=wV2EznUWGPMSJ9q2ONFtrb7zjcJ5d26Jjh5sJsSUs5o=; b=qCZPI8EOuPtjfRi1fugOZwJgzQnkmdt6wnZvfju9fhS4ucXj0QUPRqZcsgdFe23M7Q dNyiT1+wi/ahw0QukT9YiPWsrRMm8ULrfmN6p+3eXIJXBe90KlbUxZXc3hyN4EItMODr E10gRO3XGLd/3qqhsKvlq+AmjURNL6sxJeLPlChKOD49uRbkt4zxFTB7CVBIoezs7HTi pUtnwRM7Dc6YC5Xw541Cr/8C/BKqP+5UHe5ZdMonGXyeqVuBTPVOqre6vDsLI3DBjyvG VsZihPikDz+2gidWOUUHT3noD1w/8fByXc7PzwlsFFOiO2gZv2X7YB9bNbLyTvfg/cZx oExw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m10-20020a170902f64a00b0017284077aa0si812111plg.588.2022.08.18.02.05.44; Thu, 18 Aug 2022 02:05:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242876AbiHRIvP convert rfc822-to-8bit (ORCPT + 99 others); Thu, 18 Aug 2022 04:51:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242843AbiHRIvO (ORCPT ); Thu, 18 Aug 2022 04:51:14 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9E4E87081 for ; Thu, 18 Aug 2022 01:51:13 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oObEu-0000wW-8J; Thu, 18 Aug 2022 10:50:56 +0200 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oObEs-000Teu-1b; Thu, 18 Aug 2022 10:50:54 +0200 Received: from pza by lupine with local (Exim 4.94.2) (envelope-from ) id 1oObEr-0002qn-Co; Thu, 18 Aug 2022 10:50:53 +0200 Message-ID: Subject: Re: [PATCH v3 1/6] reset: imx7: Add the iMX8MP PCIe PHY PERST support From: Philipp Zabel To: Richard Zhu , l.stach@pengutronix.de, bhelgaas@google.com, lorenzo.pieralisi@arm.com, robh@kernel.org, shawnguo@kernel.org, vkoul@kernel.org, alexander.stein@ew.tq-group.com, marex@denx.de Cc: 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 Date: Thu, 18 Aug 2022 10:50:53 +0200 In-Reply-To: <1660806153-29001-2-git-send-email-hongxing.zhu@nxp.com> References: <1660806153-29001-1-git-send-email-hongxing.zhu@nxp.com> <1660806153-29001-2-git-send-email-hongxing.zhu@nxp.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hi Richard, On Do, 2022-08-18 at 15:02 +0800, Richard Zhu wrote: > On i.MX7/iMX8MM/iMX8MQ, the initialized default value of PERST bit(BIT3) > of SRC_PCIEPHY_RCR is 1b'1. > But i.MX8MP has one inversed default value 1b'0 of PERST bit. > > And the PERST bit should be kept 1b'1 after power and clocks are stable. > So add the i.MX8MP PCIe PHY PERST support here. the description is good now. It would be nice if this could also be mentioned in the Reference Manual. Please replace "add" with "fix" in the subject, as I requested earlier: "reset: imx7: Fix i.MX8MP PCIe PHY PERST support". And add a fixes line: Fixes: e08672c03981 ("reset: imx7: Add support for i.MX8MP SoC") With those two changes, Reviewed-by: Philipp Zabel regards Philipp