Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2788847iof; Wed, 8 Jun 2022 12:03:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdKxa/tBJ+CEi1cevPsuJ6+wY6erbhZ/0MMA3/IK4P/5sIGbrTBpNN11uP7eRoyMvNk8O3 X-Received: by 2002:a17:906:a10e:b0:6f3:e70b:b572 with SMTP id t14-20020a170906a10e00b006f3e70bb572mr31903168ejy.546.1654715022351; Wed, 08 Jun 2022 12:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654715022; cv=none; d=google.com; s=arc-20160816; b=W1eqhO+ll0CdJAS77tY3rQ5tbr35MundMmDdgfHaywBxOJZ2t136TwJtol+JyX39/i RBG5EpeJow+R3UwMq6obT5j373fB2xPvPQtJgEhO923LaYn2yQWqhj5Nf66uE4VTlsHY u26BEukiIX96tlA9ee/o1y0TVee2mMzcBOQ3PdZdLg1n4K/Q/HUj2mgB2AzmtcT6nBEc ov7uaeEoB15j/rzDYKU+puKo/Xw8POxWiHRpRLkT0mNU8PTG3esAwtmPE5Y71CFuL90T HwtTTsAw6Ic+huoWTZoGgYHBW8VXfaTt1UzH8nj/vDGdWZEebKdVI+jsN4ej20YtnW3L B5rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=wfOjsFzGBt2QYjZKgjaxmR5NV8ns4Lslr4Pfi+Vg7MQ=; b=eR1ancipfroA8Wh3j9HDWC8QIHuGAR7LhK9fQSbUzwCOFQkqQRvMSsIz2IsgmPpLew lP7XMXuY1AkIaog6LNb55KJyMy8a93IqK9jcASAlt/DxTMACzMbV+6tLJLlRYWXnBfR7 lNH3iQTfXJK1YYOVqS55MzXuoMu+UOmfue4ZWI/TF9V0DFxc0pxdrqQ92lXtRnm9Y3hs qtda+e03bIzQYB+crxdS0YLCulWlrxiGnSLQduekPxbTfHnFEqRjKu+cmPJuns2fR9pd dWJFALTgy37VLzwm3D4bHoXH3/3EEos7cQSui5Oap1d2gFpkZQod+4ixmuMxPqDWJFeu Qa/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pgtQx0Gq; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l16-20020a056402255000b0042b863d580fsi17746669edb.502.2022.06.08.12.02.53; Wed, 08 Jun 2022 12:03:42 -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=@kernel.org header.s=k20201202 header.b=pgtQx0Gq; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232927AbiFHS6A (ORCPT + 99 others); Wed, 8 Jun 2022 14:58:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229711AbiFHS57 (ORCPT ); Wed, 8 Jun 2022 14:57:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFCC7A456; Wed, 8 Jun 2022 11:57:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8771361BFD; Wed, 8 Jun 2022 18:57:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A935C34116; Wed, 8 Jun 2022 18:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654714676; bh=vLpG0kVD4GILkpMDJR4jVsJpyI+u2DE2pD2XOqo8TIs=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=pgtQx0Gq9fRSLpeqru15gy6mdYtyqiJjS0RcmrCugcOvmbyw7KpQH5P5X2rguLpn+ tGHObQqHJMtF2QXQNp2FNx/9dq1s9EuFkVkNeArqrqOMrDrKnTxYM4Ri97KAZVaCoR Km93EXcM2PFeqSy64/Ust3a9uikhJhimAcM5LQgkxMBT7bD6cL+f3OlaUef7cXp+X6 +NTp+TpXgARM3sFYKjjHU3N83MptG2fa8d9Qd5MXJp7eustrWx40FPCG/VNtxtoQ3k uvgVG3QcxwUNATHD6tjNpxXNhgyS0nryeJ0/7+x9kWd4Cc4wrVZDXX5fKsg6hrAyIa cH0OOSRc0SPMw== Date: Wed, 8 Jun 2022 13:57:54 -0500 From: Bjorn Helgaas To: Richard Zhu Cc: l.stach@pengutronix.de, bhelgaas@google.com, robh+dt@kernel.org, broonie@kernel.org, lorenzo.pieralisi@arm.com, jingoohan1@gmail.com, festevam@gmail.com, francesco.dolcini@toradex.com, 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 v9 7/8] PCI: imx6: Move the phy driver callbacks to the proper places Message-ID: <20220608185754.GA411026@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1651801629-30223-8-git-send-email-hongxing.zhu@nxp.com> X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Fri, May 06, 2022 at 09:47:08AM +0800, Richard Zhu wrote: > To make it more reasonable, move the phy_power_on/phy_init callbacks to > the proper places. > - move the phy_power_on() out of imx6_pcie_clk_enable(). > - move the phy_init() out of imx6_pcie_deassert_core_reset(). I'm not sure what "make it more reasonable" is telling me. In subject line and commit log, please say something more specific than "the proper places." It's probably more important to say where they are moving *to* than where they're moving *out of*. > In order to save power consumption, turn off the clocks and regulators when > the imx6_pcie_host_init() return error. Is the power savings the *reason* for this change? I can't tell from the commit log.