Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp762845pxf; Wed, 24 Mar 2021 15:38:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6letKOUuGDFK+jpLwDxCBS1qTM1P5kLo5AeJIjYSizfk5PhCd93Uf0N2xVBdCSuhEoAEv X-Received: by 2002:a17:906:d9d1:: with SMTP id qk17mr6078856ejb.52.1616625509383; Wed, 24 Mar 2021 15:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616625509; cv=none; d=google.com; s=arc-20160816; b=mK6u8U/2QY2X0JYoA5jq7HuMTKiVrch/zKmMs9WrZzOuJjsebpeXqc3+kmyZFTXftY Z2uplY5eCuBx3PRc9KRjaeY/dD2l7OzLL7/bb3ch+cNrfBuTN51+nw/aiYnUzGgAK7D7 Rmt5yqg5cHCvSu39Skl2yK5RiKkjDvzl/6uw9kvqOBH2cBklGdBY3U8WStyap/8cMBOT j9hbeGMCUOgj4pajPmGOgXlacZoyYe6vbDWnBjecSUXfFBDR6VIxDJOm7ao3yK64MhNf XAw8peC2QpdpHHNTYUZuPmNKm5GuZDL+CoVkttVComo1/15o4HFbFbO2OSTXXvVBhdcm qnfA== 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=lQlWdqBu1Gr9mQIfO3yWfO2T5q8+XOpTF8rqs/VPOMc2c6+3WLX0l+J7+/byLRzBaP +7e0/CLn8vlIz+coSVGByQdVrbvS4DhFmcQ0dL+whjA68FeQTfkn2Ew1EJ/HDg1DNWHJ AMYqJitgFyU3a3t4/mB3ZgHV6G9kdhFFY4hoqNRf8TCpiQekWN+e3C4//pu27uVq8ZUh 00OP3HkWnzvMGI1NVLFHgaI1AlavPvxdpHZfsxXk3q7H8tpEZ9zV0FA4BHq3LpK0KC4w 36+r7jHBuWlxEJG7rqFLbzdy0HSjVR08pmPNhJ3CBpwCc3wz8VK5w2Vj/5NeHRFv1HjU xTKw== 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 dm14si2388387ejc.502.2021.03.24.15.38.06; Wed, 24 Mar 2021 15:38:29 -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 S235464AbhCXFsX (ORCPT + 99 others); Wed, 24 Mar 2021 01:48:23 -0400 Received: from inva021.nxp.com ([92.121.34.21]:37618 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235418AbhCXFsG (ORCPT ); Wed, 24 Mar 2021 01:48:06 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E0F1F202504; Wed, 24 Mar 2021 06:48:04 +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 CF28E200DE1; Wed, 24 Mar 2021 06:47:59 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 3883A402AC; Wed, 24 Mar 2021 06:47:53 +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 v2 2/3] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy Date: Wed, 24 Mar 2021 13:34:18 +0800 Message-Id: <1616564059-8713-3-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1616564059-8713-1-git-send-email-hongxing.zhu@nxp.com> References: <1616564059-8713-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