Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp204273pxf; Thu, 25 Mar 2021 02:00:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3Aztw6SnsLqbTaQO0uvpbFSWNFW8+Qm3NBlVKysget0ZEj+fLp+K83eFJFaTCgSnsgDq+ X-Received: by 2002:aa7:cd54:: with SMTP id v20mr7905617edw.80.1616662819397; Thu, 25 Mar 2021 02:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616662819; cv=none; d=google.com; s=arc-20160816; b=D8rubQmq3+5wbvy/VYvAadCrQf/59mkeuhDPxnSm+Q3ZA/j5DSGWNZnwaM1bzUy18H pwmBeKY+VYEAXum57MN06NvIEV6qXs8+G63EZltaxnxxVdT3xmPgTUj2p2EjZ0RvXiQG IQlEOtde38s+CUkv1vXtX5VvkxXDGQDNo88snV6FxKfK3rTTt8vgK1FdFSUZEVEo66Aa 0RRn/EW/iqCrCMzaAZyezmp02y743mO8AHPrsSdgmIzjMn5IIrRxJQiKTLqx3yEz/IDG sSY1F4vpKJpJJH6Bl6BOnjto1c/A9xsRoagkjw28Ea5A5hT9ff3sxWJjryRoiUf2uwOT WGsA== 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=n7Ba7RvUvHkvd9EZvsrqisPcW2F/tO5eaYyytuPIOOs=; b=wdLBk4/XG77unaVLW3v351pb4C3ImzCkBHi+EOcXNHXz2mERMxqzCKk6vO193MG2nm ekIPrTdQelt/5UFR7DAwNYiJnO7efacXrwfezEkO5jFSYTYeKJZ/091yuNs5ygytWle/ 82dxn0Vrq6+l0gVlkVCYEQxuK7ndvOkNq+wDYpoGBd9ftl/J9n2fOetAXQApm4Ezzyv5 P6q2u3X0CNp4xZiLk73/hOZ7XkXjjFMXjJaw3VG1z2iQwWleQHG/H/xO9d2qrKKt+pxU HEVdnh56sffzC9Xkp4xdEAS2DvNrwOshVtDyI+OHrgaJTodLIFWSzsRxcTYYQIzX2Z5I qRiQ== 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 h10si3581067ejc.248.2021.03.25.01.59.54; Thu, 25 Mar 2021 02:00:19 -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 S229642AbhCYI66 (ORCPT + 99 others); Thu, 25 Mar 2021 04:58:58 -0400 Received: from inva020.nxp.com ([92.121.34.13]:56868 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbhCYI6a (ORCPT ); Thu, 25 Mar 2021 04:58:30 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D50CD1A313F; Thu, 25 Mar 2021 09:58:28 +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 0AD801A133E; Thu, 25 Mar 2021 09:58:24 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 18783402AE; Thu, 25 Mar 2021 09:58:18 +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 Subject: [PATCH v3 0/3] add one regulator used to power up pcie phy Date: Thu, 25 Mar 2021 16:44:39 +0800 Message-Id: <1616661882-26487-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 Changes: v2 -> v3: Refine the DT binding descriptions, and the condition adjustment in the codes. v1 -> v2: Don't use the boolean property to specify the different power supply of PCIe PHY. Use one regulator as a supply to the PCIe controller node, and the regulator APIs to get the voltage of it. Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 3 +++ arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + drivers/pci/controller/dwc/pci-imx6.c | 20 ++++++++++++++++++++ 3 files changed, 24 insertions(+) [PATCH v3 1/3] dt-bindings: imx6q-pcie: add one regulator used to [PATCH v3 2/3] arm64: dts: imx8mq-evk: add one regulator used to [PATCH v3 3/3] PCI: imx: clear vreg bypass when pcie vph voltage is