Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3422297pxf; Mon, 29 Mar 2021 01:36:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIf0AmcsCX8qO4wgFixtbK/57uXGy6EyYudGNbbdnfoSd/rwQgLOKNkAUeGTZYHcHKeYBD X-Received: by 2002:a17:906:38da:: with SMTP id r26mr28269271ejd.251.1617007001542; Mon, 29 Mar 2021 01:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617007001; cv=none; d=google.com; s=arc-20160816; b=pJGCvHT0J0Z0DxUzIPKE5b3FMCqOjqP1M1uzvCuDzoyCJ82YRApNTmBni0Y6mv9RZY JOBSx/Q6Ub+LW8PzlOqhwGJzDZD4qXii4a+KRzKGOiaBprPoFbDa0c9biLk+Lq9svggd iYohFc2K919F8rnZA7PXw9jQnkJznUERMyJNxmNFaxDTrXXXYUkgS43MsHDWeHUk5GLE FE6xSGb0CF9dktD63ZBxHPM+34cVvG6At/lqVICjUdy5fpZSsaQLGE/Qii9wd0aLthnK b/OED9dfhTHwO1+nGn2rhKAE1WcjmmorevQC3rzppXsAPmY+k8nKY2EkrYbWCnJBrZ/B VZyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=e5VhvMID/bzVD16w8QXm63qEwHA5OI57mqFLmBGaLKw=; b=uxplBvETtAZnsinwuzgnJ/AxMeZOQPEYKEfhZd26iX9d5CqJ2IxzEhcaBodozOCRrr TxpMOR93YPKdl4OOvkWeuqcBfauqUcdeC6KSa0YJzSY5RuX9LASLmS/EvLWS6oEqlYan YZw73o0Lhxeer2VQKkL7V4PoCZwXGege7KJYM8gFxYO6wQf0EdKoFbRE3teoxiU0wPL2 eMg/hmH6ISab+BN1Dz7kD9GZGaq+aNVMOZ6kb7fustbxs4dnP+0v7ovJjWj+BN3OB/Uy 2XR+2bKYhNxiDonljuTwg4DYvt0DjTaczMRV6/lgt8As/dFlVNNnNX4HHqz9/YkNRXq/ GAzg== 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 x21si13394162ejb.180.2021.03.29.01.36.19; Mon, 29 Mar 2021 01:36:41 -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 S233648AbhC2Ibj (ORCPT + 99 others); Mon, 29 Mar 2021 04:31:39 -0400 Received: from inva020.nxp.com ([92.121.34.13]:42218 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233374AbhC2IUB (ORCPT ); Mon, 29 Mar 2021 04:20:01 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D2AD61A0F5A; Mon, 29 Mar 2021 10:19:59 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 32CC41A26A8; Mon, 29 Mar 2021 10:19:57 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 8C4DF402A8; Mon, 29 Mar 2021 10:19:53 +0200 (CEST) From: Richard Zhu To: shawnguo@kernel.org Cc: l.stach@pengutronix.de, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Richard Zhu Subject: [PATCH] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy Date: Mon, 29 Mar 2021 16:06:03 +0800 Message-Id: <1617005163-29824-1-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 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 Reviewed-by: Lucas Stach --- 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