From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5F95DC433EF for ; Sun, 13 Feb 2022 04:33:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CFiGACr/IO/gjSJywRJIQrVAC6LXiIchmTnOaJ6Hefo=; b=vMNZ2M26uISGU8 dXG567756K65QSUmpsc0zwlGH2jTJy1KaJsa++jcyO6X6nuIE4vYf5ktDeZj4aIANRIFJf9dw4xOi SYPMgJS6R00+0zSEcrSC5UNc6c4oA2PJmyRZ+OuxB7orUSjo8ecNwsqGEc6d/9T2GlPGAb+uuTnZP +hQH20kyxxX6RDzM0aiHNUBRehsQU2kpeUbc1bITFEbwowloRy9co6nhIUNQrY5KV97K3Ycq3u3V0 1cAZQk7zx018S/GWrxe2d54P7ZA9ElkPQo27cvOmTo1TjVqY8n2rC3wqiOG2JrpXX3jMdT1un1LaB VnEi18HXyHAY5FLx2drw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJ6Ya-00AwIK-OQ; Sun, 13 Feb 2022 04:32:16 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJ6YX-00AwHx-3W for linux-arm-kernel@lists.infradead.org; Sun, 13 Feb 2022 04:32:14 +0000 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 A20D960EDF; Sun, 13 Feb 2022 04:32:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2AA5C004E1; Sun, 13 Feb 2022 04:32:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644726732; bh=LPol4nPqZtrOO+sfiPMZFln5Tubfn7yPMUx7KoowyX4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kgQIyMNJLW7nujCI266qdAbQmNHm5yGdxe7LVfzYZR6hqYl9LtN8h+XtneX6IC6ow 1uAfTU+ksvZsJFIcqHzslbT5D23F4flyAviYTYnleASQzcxFzowe5nvoHVWNpTDZrY FddXiVKHa45cQQyI83I04uadHtjPa1vmZH/pHwz+UEkDcoch5w3Eg+MhRPlqckUQyP P+MYAUAjYW1ZwxCPe5OQgsBa4ikg4nJG5OEDiwBbdew5AzWKFXpzMOLNapM/zCyyV2 ultzB2kIJ/EqvIFIfmpTJTY1BmrlpZOaEWiPxo8YFte19gpZu4vuoxfYqJnOsPDZZl +eReWvsTvpj0g== Date: Sun, 13 Feb 2022 12:32:00 +0800 From: Shawn Guo To: Richard Zhu Cc: l.stach@pengutronix.de, bhelgaas@google.com, lorenzo.pieralisi@arm.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 v2 1/2] ARM: dts: imx6qp-sabresd: Enable PCIe support Message-ID: <20220213043143.GN4909@dragon> References: <1644564779-8448-1-git-send-email-hongxing.zhu@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1644564779-8448-1-git-send-email-hongxing.zhu@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220212_203213_234382_911FBA2D X-CRM114-Status: GOOD ( 20.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Feb 11, 2022 at 03:32:58PM +0800, Richard Zhu wrote: > In the i.MX6QP sabresd board(sch-28857) design, one external oscillator > is used as the PCIe reference clock source by the endpoint device. > > If RC uses this oscillator as reference clock too, PLL6(ENET PLL) would > has to be in bypass mode, and ENET clocks would be messed up. > > To keep things simple, let RC use the internal PLL as reference clock > and always enable the external oscillator for endpoint device on > i.MX6QP sabresd board. > > NOTE: This reference clock setup is used to pass the GEN2 TX compliance > tests, and isn't recommended as a setup in the end-user design. I do not quite follow. The commit log is all talking about external oscillator reference clock, while code is playing 'vgen3' regulator. Shawn > > Signed-off-by: Richard Zhu > --- > arch/arm/boot/dts/imx6qp-sabresd.dts | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/imx6qp-sabresd.dts b/arch/arm/boot/dts/imx6qp-sabresd.dts > index 480e73183f6b..083cf90bcab5 100644 > --- a/arch/arm/boot/dts/imx6qp-sabresd.dts > +++ b/arch/arm/boot/dts/imx6qp-sabresd.dts > @@ -50,8 +50,14 @@ MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059 > }; > }; > > +&vgen3_reg { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > +}; > + > &pcie { > - status = "disabled"; > + status = "okay"; > }; > > &sata { > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel