Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp249315rwb; Wed, 9 Nov 2022 23:44:20 -0800 (PST) X-Google-Smtp-Source: AMsMyM55oSeiXKc75IECHRiRfJBlpVkKRXQ2QvdtOp02kQP93op3VeVQxXfVS47gryUSwAZ+PITo X-Received: by 2002:a17:90b:1e4c:b0:213:32a5:a778 with SMTP id pi12-20020a17090b1e4c00b0021332a5a778mr67042918pjb.172.1668066260564; Wed, 09 Nov 2022 23:44:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668066260; cv=none; d=google.com; s=arc-20160816; b=S0Nb/91hk+XlP6dctWHdIatDCKuEPVkarO4kZUjDVRGCdY0cEafcpi3lFfmKLFXc6y UXKnuJyhkWMeX09Y0yOGDGhrBI/GLhQFRxU+m6qX8nh5LuEGk3u5RdAmHd/SEz38hQFn DLg/QrA9QaOQ5T1jEfa58/y+hcU9VV0WNe4krJO171ZgJoP4wb+hNPvAiL5zEi3YJ2w8 7S2Zi5DraiHYop9v2nidjFX/woX6A4vfIHs+s/8sRzWs47SkCbVi8P7cKUY/7Hf7fOx7 Abn9WsAli12uRp5n1egJ5zIXeBsSWiiOmmLp5VW97iGJdnaT0K3uNtmBUP3FtvJ28xl1 /0iw== 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 :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+qT9jPo2g6KM9mxwSACo3e/LTj0+GTFh2OOb8n3jSjg=; b=rCaf+L0d8KxI5v1ltBBXZIracLMVpfynQ6qKoqvWLY8ehGPYTe6/aooBTqD1A1LzRq YA3PeWQlvftuadbAnTHWCto49ikPI/ycxAZVVoWdo160ZvSyHbvYMpEY61MVcmGIfean G7uT3l6Jobpyz6k6vdqHK7XjpQ9FN4ZSbq1+O7v/pWN4MBhHC8jedv4oUJae/hex7g5A kIc+7TP8dWfzqHsmWF33D/5Ym+Prhbs6x1lcWUX0fP839kaRlnycZT7ZSifnG1F4AfsX J8AqcoCQamf+dHteFuOgfag2HUgTHjbRJiSW3gVUY3HfMlq9ajTAAmOGoE/KSmkWokot WiRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tz23sUAj; 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 x34-20020a631722000000b00434c05007d5si19338260pgl.845.2022.11.09.23.44.07; Wed, 09 Nov 2022 23:44:20 -0800 (PST) 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=tz23sUAj; 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 S232871AbiKJHQB (ORCPT + 94 others); Thu, 10 Nov 2022 02:16:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232793AbiKJHPb (ORCPT ); Thu, 10 Nov 2022 02:15:31 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1FE2326DB; Wed, 9 Nov 2022 23:15:26 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 71C67B82089; Thu, 10 Nov 2022 07:15:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE5F7C433C1; Thu, 10 Nov 2022 07:15:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668064524; bh=FMlXsITEC3snOIBttDp0EAQyetj/yxbZhJt/Rk5EDxY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tz23sUAjvevM4LmlgxcCobtWnG1sYGF509oU8KAWaRIaF73/7BRuex1Cf+rAQ5CTv ec52UF4vz4vd8xkY/PV+2HQCoxK4bjDrqGbllylaVZMbDE1H0S7kVCjn7MRzxKOqg0 TgKbn3abQiXdKTIZzq0YMwbkJkYLbONPLrsnGqyzhNkldpecdyTJXu8O5HX+S29OoO mSYO1FZOmAWv3TxxfmNThq7gIwbIEvF81UOXyUP1UODWGdqh68mHsXuIdbMWqm6mUG 77r9EGIlbztS/ib+Veym3EuVr5jR5jCQYhk/omC/6Hyq964iy14tnWe5lnZsypKdl8 iPMlyYbqKzr/w== Date: Thu, 10 Nov 2022 15:15:15 +0800 From: Shawn Guo To: Lucas Stach Cc: Richard Zhu , marex@denx.de, tharvey@gateworks.com, vkoul@kernel.org, bhelgaas@google.com, lorenzo.pieralisi@arm.com, alexander.stein@ew.tq-group.com, richard.leitner@linux.dev, 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 v1] soc: imx: imx8mp-blk-ctrl: Add PCIe SYSPLL configurations Message-ID: <20221110071515.GC125525@dragon> References: <1666590189-1364-1-git-send-email-hongxing.zhu@nxp.com> <20221029084514.GT125525@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 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 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 Tue, Nov 01, 2022 at 09:44:41AM +0100, Lucas Stach wrote: > Hi Shawn, Richard, > > Am Samstag, dem 29.10.2022 um 16:45 +0800 schrieb Shawn Guo: > > On Mon, Oct 24, 2022 at 01:43:09PM +0800, Richard Zhu wrote: > > > Add PCIe SYSPLL configurations, thus the internal SYSPLL can be used as > > > i.MX8MP PCIe reference clock. > > > > > > The following properties of PHY dts node should be changed accordingly. > > > - Set 'fsl,refclk-pad-mode' as ''. > > > - Change 'clocks' to '<&clk IMX8MP_CLK_HSIO_ROOT>'. > > > > > > Signed-off-by: Richard Zhu > > > > Applied, thanks! > > Sorry for the late reply, but I'm not really happy with the fact that > the PLL is now unconditionally enabled, even though it is only needed > when there is no external reference clock source. > I fear that this will be hard to correct later on as the DT abstraction > is wrong, as IMX8MP_CLK_HSIO_ROOT is NOT the reference clock for the > PHY, but the PLL generated clock, which isn't properly exposed with > this series. > > I'm not happy to see this going in in the current state and if not too > late would like to ask Shawn to remove it from the tree again. Removed. Shawn