Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp198531pxf; Wed, 24 Mar 2021 02:58:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+bxyHSmvt48LQR4qqkpVJ7X+Re6mptERAUSQaUrg7DDYsch3CKun6GRd13gYz1Qf8jqwm X-Received: by 2002:a05:6402:270c:: with SMTP id y12mr2518835edd.284.1616579906803; Wed, 24 Mar 2021 02:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616579906; cv=none; d=google.com; s=arc-20160816; b=CyhxhVtHFmX6S36rNs6qAsrzi0aqNsQufc97SooDtGuwxEL/TkxxLPzHt3ZKeaUSXh e0HByiIDhIsJoCBtAoE8MTouAE7v5rBxl52YdBbeepZTgNQXTU8Z0A9Rtsb3DMBTdFrl ViZMLZXAhnIqw1v0GOmMKhrNrTBYV8aoQnme4OCFy6QKJwUmTTiFZjzCzLF1vtE8Eufu VIT4J3O+AQZoSMV6aE2FPqe8v2JxYa0Cf3yDfijnEzjSpfXfkIljLWHLBrE2iADfuPcm T3AriV6/JskEPi/5eHc+d/hXx3FY/O0ejrEXZNdQZ1Xr2JaXtZ81Tq7Fpe0iFXeQsc5x GZnQ== 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=2AWsUqWKexqI9CHdAGpYvTSStMw2Rx7oFCm/0jXcW+g=; b=a20iqFbv5DHTwwPWwR5NzdlGTC5wB4k9VKCjrdVJ/Udy+HULTzYwcSRmK3xkKJw4LZ QjY6cvkBe0ObS+q/Bh8bCA6roz8MeV9xDyhOOUFGzNm1gKTBmwrOgpADjkh9lQITuYfv rvbkrgjFOCq9Ftan7F1sbKJFmCRqW1MNWCjbl5iIIvfjZoYhH9ii3MAuCHx+sEHsl5TJ x8ms1+3XT8dp51f9MT1WA4WLsovqOmQti8UASu40/wg2y7Ypr8E0J201P0iOiWi+x39L XpLYnznV8E5osNvYdnH8n1x2RPlM9bUwjsGwKv79F0xBtgNdo7CfgC87U+WxALd8PgJy huKA== 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 c17si1508817edr.46.2021.03.24.02.58.04; Wed, 24 Mar 2021 02:58:26 -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 S235455AbhCXFsV (ORCPT + 99 others); Wed, 24 Mar 2021 01:48:21 -0400 Received: from inva020.nxp.com ([92.121.34.13]:56238 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235286AbhCXFsE (ORCPT ); Wed, 24 Mar 2021 01:48:04 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C063C1A0E97; Wed, 24 Mar 2021 06:48:03 +0100 (CET) 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 9BAAB1A0A1D; Wed, 24 Mar 2021 06:47:58 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 0599240307; Wed, 24 Mar 2021 06:47:51 +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 1/3] dt-bindings: imx6q-pcie: add one regulator used to power up pcie phy Date: Wed, 24 Mar 2021 13:34:17 +0800 Message-Id: <1616564059-8713-2-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 --- Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt index de4b2baf91e8..3248b7192ced 100644 --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt @@ -38,6 +38,12 @@ Optional properties: The regulator will be enabled when initializing the PCIe host and disabled either as part of the init process or when shutting down the host. +- vph-supply: Should specify the regulator in charge of PCIe PHY power. + On i.MX8MQ, 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. Additional required properties for imx6sx-pcie: - clock names: Must include the following additional entries: -- 2.17.1