Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp205134pxf; Thu, 25 Mar 2021 02:01:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8BVZuc2snCSle4IZ+OarroznGbGvxZ9PRsiBT7XBhpP7QT1vYF2c9CWAwknBrsFU+PAfJ X-Received: by 2002:aa7:d4cb:: with SMTP id t11mr7772958edr.202.1616662891202; Thu, 25 Mar 2021 02:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616662891; cv=none; d=google.com; s=arc-20160816; b=xdtsw/XT5MFO+bHB997xQrgqUczy1j6sX+MgmbErqWTBHWp81/VG4SnTSI38M5PX+1 BclHwjiILcBq3fQh3IDO40D7oTc9Stu8LJtGRKSDMVMvvWKdCnUd8A1SBy3WQFcUPCJu FiBhlmGZVO3+N6dOSXF85FBRtTjhdwP7wlYMKL3poyWw/Pygth8Khln7AtanDm02kR2L 64/IZGkxjmob9QLxbI7Rkurxn5VBqPFQJNZ4FSz/qss0hJuA7vU59BvUFIpvGRV74+na fwstGk+vegoP9wokgtQ9rru4txdcoXpybPMOCGIoQrBYyP+9LyN9bPCiQpk5SXR0E5bi 1wxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=NgnBCZDJjNxWi6gInl4LN0o2S5Ys+SJlhQg5d4jeyF0=; b=U9j+MNWVfWvOjJsPjDkQ6ZLWAUsmEGBBFvkV6oNbadua2yKIwodtWf8AxEwK/rB/l4 pMsnt/JSqb3HSXJTP3wx3JFH33m8KfJCsZu5o1ase2y/nm0CAh/jqa4cWsHYTQXiJMld H9ieMD8LYiPS07TB2bfLinLvSBuMr0ppGhQU5nmwL+Dnx8fI2eHLYpBzevR/8k/Qm0Oj BZFDKZy7PMOX7A9GCk+KuRbb/6hvPUsQ7inSdPrNLIwybQSCp+neOVBfDQG3n135z7Sc ZqzL9Y7hp3u9/uDCWsPKcnMZ5PKTjXQLEFNDsFLTFkYEZj/u+3ofgJPU2aSB+DDRAQg7 AoAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si3547769edm.126.2021.03.25.02.01.07; Thu, 25 Mar 2021 02:01:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbhCYI7D (ORCPT + 99 others); Thu, 25 Mar 2021 04:59:03 -0400 Received: from inva021.nxp.com ([92.121.34.21]:36674 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbhCYI6i (ORCPT ); Thu, 25 Mar 2021 04:58:38 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id DB42420303E; Thu, 25 Mar 2021 09:58:32 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id BE173203044; Thu, 25 Mar 2021 09:58:27 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id F3459402AC; Thu, 25 Mar 2021 09:58:20 +0100 (CET) From: Richard Zhu To: l.stach@pengutronix.de, andrew.smirnov@gmail.com, shawnguo@kernel.org, kw@linux.com, bhelgaas@google.com, stefan@agner.ch, lorenzo.pieralisi@arm.com Cc: linux-pci@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, Richard Zhu Subject: [PATCH v3 2/3] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy Date: Thu, 25 Mar 2021 16:44:41 +0800 Message-Id: <1616661882-26487-3-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1616661882-26487-1-git-send-email-hongxing.zhu@nxp.com> References: <1616661882-26487-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Both 1.8v and 3.3v power supplies can be used by i.MX8MQ PCIe PHY. In default, the PCIE_VPH voltage is suggested to be 1.8v refer to data sheet. When PCIE_VPH is supplied by 3.3v in the HW schematic design, the VREG_BYPASS bits of GPR registers should be cleared from default value 1b'1 to 1b'0. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 85b045253a0e..4d2035e3dd7c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -318,6 +318,7 @@ <&clk IMX8MQ_CLK_PCIE1_PHY>, <&pcie0_refclk>; clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus"; + vph-supply = <&vgen5_reg>; status = "okay"; }; -- 2.17.1