Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3347977pxb; Wed, 14 Apr 2021 03:28:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCyfA2pYV6arhBVnfxF+KJMlvFoVBOl8ILG56RVCnRlgP5CTtth6P1HYVGSLGvENsUAQ6Q X-Received: by 2002:a05:6402:3506:: with SMTP id b6mr41547541edd.175.1618396090045; Wed, 14 Apr 2021 03:28:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618396090; cv=none; d=google.com; s=arc-20160816; b=O+STHyiGjcdwwpjQvWdB/Zt1FcLGkVTL9cc4KMCgGaIng/gYva8z+ILQz6oLczSKsD zBHhvbsnoc0Ts5S1coMBpX8QHIjWvauuQX+S5XKpekFuXS5VQCLVw9y4KckzMTMH3Hm5 LxsrHZyVyudidroNGoPlWhTrJWwV7U6LNiEKMYuFGvJPJm9KynRdry3u9vZg6cIRHcko 0Uew56i2tyd42bXtVRQ+YiPMqazfHf17fFvGzHYX+NZ5pw8BKmF1a/5BUu4S3W2uj9R8 53iOCbRQAeE79jaCN+k4DdyiZefjFXxvIvKQAkFDEc0dOyXKTmHCEiTSCZx8FjyD5vGB /qVQ== 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=e5VhvMID/bzVD16w8QXm63qEwHA5OI57mqFLmBGaLKw=; b=GQP4h9ObK0BUsVEtxiTDEEMmLkMA4BJitX1H5zNMzmSzTHs/ztHHlRMnsRudEZO/mQ 5s5XtaCcujjiqWS82ELKSv6sxags+I3jHN4Wzv3+9JdJHoLcZiSPNdrEJIbhAN3oEf4J vclxkEWXZfmY68Tim7R7ZGNTwIdhhkO1oOSI8snA5a6OiAs31GR3MlEvyLvSknieWiKT D+fFFA95RXSnf6sz0tgF/tSH+aA30j/8LIOzdQvdiLhWXbOIBNeGqqW/Ncvn3wmXtzP6 rCpO0SjETBE4xwYjKkdm117pzFwZwy+89xtmhzv1r4sNgWjuXKIjxcnkP++Zm5MtMI50 sJ8w== 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 h4si12730850ede.481.2021.04.14.03.27.46; Wed, 14 Apr 2021 03:28:10 -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 S1346548AbhDNCl0 (ORCPT + 99 others); Tue, 13 Apr 2021 22:41:26 -0400 Received: from inva020.nxp.com ([92.121.34.13]:48132 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345683AbhDNClY (ORCPT ); Tue, 13 Apr 2021 22:41:24 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id DCB4F1A11E4; Wed, 14 Apr 2021 04:41:02 +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 410F21A27AB; Wed, 14 Apr 2021 04:41:00 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 96641402CF; Wed, 14 Apr 2021 04:40:56 +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: Wed, 14 Apr 2021 10:26:14 +0800 Message-Id: <1618367174-30968-2-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1618367174-30968-1-git-send-email-hongxing.zhu@nxp.com> References: <1618367174-30968-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 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