Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3491500pxf; Mon, 29 Mar 2021 03:52:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnYQY+ESckalN4dtyl/CYpI6EzldBgMtizR5wmr39uawDhCWiMpOd5MmtP8PHFHcQhhrWY X-Received: by 2002:a17:906:73cd:: with SMTP id n13mr26980331ejl.535.1617015179653; Mon, 29 Mar 2021 03:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617015179; cv=none; d=google.com; s=arc-20160816; b=xTn9uk9Xo3XxxLADKRHkJ9lkvvWO1lMG2g7YSt+LN1Ao3aKO9aY4EWVnhy/0AQFvhK 9UsqPGeM788D+Of5ua0/BXJIF1tp663dlcI+R763YX2ilYRCDGwBYktZTCX4/UxwYWFE fj61yE/GKynTeLO41hSvc+ooXG4bmEsfpVcG7bBGpipOvnBx0jMVa2wf1Z9Ur13Nxp62 oabcttV2qWQoWOU0xTzN5QwivdtUiDCQvOzo/nB5RRsFSEpoYPvAm2aJCqJef3asr4FG A7eLPJV31dNiYFDonJoHCWSXioW0uo5xhm+p1rA/EjktzzSnu5HDUL8Hp6Z32dXV2Pu7 suNQ== 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=cilvLyhwLhJ4LomQYiYh3hRarSVfv3t7VpbzQYl+h70=; b=X9O6LFueAUY0E/fD1ZCXSDcg9TKYdGRgPXlNtkemmJE98mtRWZcwn36cZ5PikkIIoV EMg6TQTLkegdceypqPU+ToUtulWsSalhtDDsxtoChMtLGsZk4cBGmYR8MxMSof97CA8R TNx++FiEjfQmFKRxnXBmgoXqog7Tsookzqu+1fsf4UTmt2Mnv9BY4ysv+ehndrxBh9Ax XgVRD6j/GtkQ5nSFMirrvATXh7uJKwLKeJMrrRlUr02vT42ZVpSjhsFr4tLhIcJzb4fs 7c+3Gm1gqXbCa51d5nRbCU4e+mXPatZv2m0mTTE6Y60D7HAmjaCY+bpvUtIUj0sycyQO 22Lg== 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 jp24si11966838ejb.512.2021.03.29.03.52.37; Mon, 29 Mar 2021 03:52:59 -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 S233126AbhC2IlQ (ORCPT + 99 others); Mon, 29 Mar 2021 04:41:16 -0400 Received: from inva020.nxp.com ([92.121.34.13]:38812 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233237AbhC2IRU (ORCPT ); Mon, 29 Mar 2021 04:17:20 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 799651A26AF; Mon, 29 Mar 2021 10:17:12 +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 BBE421A2699; Mon, 29 Mar 2021 10:17:07 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id A2A68402EC; Mon, 29 Mar 2021 10:17:01 +0200 (CEST) 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 v4 0/2] add one regulator used to power up pcie phy Date: Mon, 29 Mar 2021 16:03:11 +0800 Message-Id: <1617004993-29728-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: v3 -> v4 Split the DTS changes to a standalone patch from this patch-set. And would post to Shawn to take it, after the other two are accepted by PCIe tree. Refine the DT binding descriptions refer to Lucas' suggestion. Use "Regarding" to replace the "Regarding to" in the comments refer to Krzysztof's suggestion. 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 +++ drivers/pci/controller/dwc/pci-imx6.c | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) [PATCH v4 1/2] dt-bindings: imx6q-pcie: add one regulator used to [PATCH v4 2/2] PCI: imx: clear vreg bypass when pcie vph voltage is