Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3249913pxy; Sun, 25 Apr 2021 19:03:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaKB9aXqRBlH2k0SQ18nIbIFRMhabBhg4kzjjitjp5cWTdwpbU2yqp+DrmYZIrvetgRzk8 X-Received: by 2002:a50:fa85:: with SMTP id w5mr19170111edr.235.1619402581636; Sun, 25 Apr 2021 19:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619402581; cv=none; d=google.com; s=arc-20160816; b=eLOr9SHlCw514rwPHZkGg1SMAavgTZql+GgHLsfkwVHl3J2S6Dtu0MnBi2gZNYsNem 7wGzNC4UrwtDksyCWZ4/So1x+vHaxdyG7MPVbaoPOny3L2XjpmCb0iuvBgkmPBjjV5fr OKNHq4qdljbFQppSvLDHL8Rv+0u/eBkEm53CWDmyFJHYUCa2Q5hONE6wmXX9vLJVXkxb cb2rzPr6IcF5sq1rDMXPhFKYL4Rc9c2MbL3AA8XHxjW4J9F+tjuk6ct2mQ/ZVj+DMZ70 tkSF4e8iMBydzDdvDtorTotaMyjfWZDaw09sZmgLOvsjJgFxCgyeLwQ0WT7p4M3ybqrG mt9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=yOAy3fgTO0j7BEMouthHX5dYSn3N6cstoHOKEF1NRIE=; b=ZIcBkgdQbdB1aCLyGzasYhpJ1FC4fHPyTWiq6BuHP9HGgokXG+9bzxt63vGI1sHW73 q19NqZPR4clI92KkrcZvzw36Ka+Jyl8GwhOkafTEbEbDKvNd3mYprB2Mo3rNQyVuzur4 SQHkDG+HTGR/YvdOhw9cDmdGCM8V12jgY0HabYwFQL4QfoycWEuuR9g+WdfdveEKfhIe /b2HRT0OMZxGt5uxTLABf5Wh1Kz4hh9gmAOaq+0VeeTDfxXgyns7GT+CKY7MeiNyh19v 8UaMGtn9KGsh6C5BNZIHWgqe3vgPFz2vG1OEDj0UHl7qdQtvxj7DStQGxUhSA/z6yjm9 eyJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PNhgDcVU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o6si14530568edi.504.2021.04.25.19.02.18; Sun, 25 Apr 2021 19:03:01 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PNhgDcVU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231616AbhDZCBj (ORCPT + 99 others); Sun, 25 Apr 2021 22:01:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:52156 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231572AbhDZCBj (ORCPT ); Sun, 25 Apr 2021 22:01:39 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C043B611BD; Mon, 26 Apr 2021 02:00:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619402458; bh=PBSZMZjXTRgQdMRY26riL1Zlj5dFth8iLcEaBII3B6o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PNhgDcVUKQV/MFAnK1G6q23GOj5edc5p7Mzuf2LEiWKMZCMgpHSolQEaz1DadrSIB 2GIT0uB6kHZRXaYFfEFpIbAzyvUarmXsMwAit7hVjxt0wBmdHe7BE4d7JEu3xTH5Fy xSwme9kTUfhS6/8gg+1X/xd/WZGiF+dtyg/Yt/yb03wLODalkFlU7HgkI7uJZDMWmb hV4dV9k1nD0thVjEgmHnS8kryLJzVkpN8D7REuT7PJGg1b2LAQeFvWaNctJzdxKRUX la0LS0H/+x2rg4o2iMzKengW0DYnYGFBJZCTcqWmbg+rwd96Anl3ZDgdMBFb0zZGCf P9CTF3zV3tdpw== Date: Mon, 26 Apr 2021 10:00:54 +0800 From: Shawn Guo To: Richard Zhu Cc: "l.stach@pengutronix.de" , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: Re: [PATCH] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy Message-ID: <20210426020053.GE27585@dragon> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 26, 2021 at 01:28:34AM +0000, Richard Zhu wrote: > > -----Original Message----- > > > Subject: Re: [PATCH] arm64: dts: imx8mq-evk: add one regulator used > > to power up pcie phy > > On Mon, Mar 29, 2021 at 04:06:03PM +0800, Richard Zhu wrote: > > > 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>; > > > > Hmm, I do not see this in the bindings doc. > [Richard Zhu] Hi Shawn: > The binding document changes are going to PCI tree by the following patch. > > https://patchwork.kernel.org/project/linux-pci/patch/1617091701-6444-2-git-send-email-hongxing.zhu@nxp.com/ Ah, okay, ping me when the series is applied to PCI tree. Shawn