Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2205874pxb; Fri, 17 Sep 2021 04:53:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzy9JjU6tD8QbZIiDlcYBMSWG6hgJUaRjIhXaZoASq4ryiFindzXh14rG5H3MbP6Cf+dHF X-Received: by 2002:a92:1a49:: with SMTP id z9mr7779748ill.127.1631879587746; Fri, 17 Sep 2021 04:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631879587; cv=none; d=google.com; s=arc-20160816; b=GxTmJQN/npkWOy27NV+0yKYXMCY00ugOx97ZEjKdi7MCWAfdFeyVSnBK3JGBVjsra6 Unhpg91SMOcM2ZZ3vS1AdXutADCBxP0bL9FoLip4AmIog1x9PQd95GzRYzNUdhGOzFxF kM9HupWDfC+GwBPkW9Kwk1OC1fwUzcbh4llSpU2pIwl3z1hByqPjYtyV8WeT2IXliazd eR6EztBWdJYFsBI70CW+wrmjBaJ/3BQEK7PrALAmOE2fr+Zi9xr2Pz9RJOj8Umc9VJ0H aPLRHZLjIWKF8g6Vou63pWtVUC8gKP8hjoLaI30mDE6Oea5QplSYR6eXJfBrSd5oh9v0 vP9Q== 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=aBlVV/A2j5ejkL43SNm5lDiLZeq4L6j2HAr1tVwxzGM=; b=zL/Yq6D6Zf1TQlxIlMcw+KPIxHSeG99iuyxWoC5p9TKfdvygMS5+1Qgbdo9qh+xuk8 xKSMONaTd8GIpQKVDIW3f9kEfe4wU6dsZgleCE7TUgnx04oXTWKTflxL/fkddZF82Sxn pQIszo/mRmRO577InlRHifXyn1NSgl4n/r4wDPVE/j1W9S9GbkK+fnDeE4f5Y+WhrD9e OKw2bZpcUPsbvAT9ri03MLqx7sfDREfAAc0VDOisFCjwne12iarvKFswBMOtOfcRvn3b g7GeZeVkBsIt8dGLJeXapjzYUgYbR1yv157/V7FmrI9XpPp/vymXov/xfnEIG9aIqfqT Otbw== 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 e17si6009201iot.109.2021.09.17.04.52.55; Fri, 17 Sep 2021 04:53:07 -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 S238533AbhIQCzs (ORCPT + 99 others); Thu, 16 Sep 2021 22:55:48 -0400 Received: from inva020.nxp.com ([92.121.34.13]:47636 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232494AbhIQCzs (ORCPT ); Thu, 16 Sep 2021 22:55:48 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E777F1A12BC; Fri, 17 Sep 2021 04:54:25 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id AF7621A125F; Fri, 17 Sep 2021 04:54:25 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 2CE3A183AC94; Fri, 17 Sep 2021 10:54:24 +0800 (+08) From: Richard Zhu To: l.stach@pengutronix.de, kishon@ti.com, vkoul@kernel.org, robh@kernel.org, galak@kernel.crashing.org, shawnguo@kernel.org Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com Subject: [PATCH 0/4] add the imx8 pcie phy driver support Date: Fri, 17 Sep 2021 10:30:59 +0800 Message-Id: <1631845863-24249-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 refer to the discussion [1] when try to enable i.MX8MM PCIe support, one standalone PCIe PHY driver should be seperated from i.MX PCIe driver when enable i.MX8MM PCIe support. This patch-set adds the standalone PCIe PHY driver suport, and as a preparatory to add the i.MX8MM PCIe support later. The PCIe works on i.MX8MM EVK board based the the blkctrl power driver [2] and this PHY driver patch-set. [1] https://patchwork.ozlabs.org/project/linux-pci/patch/20210510141509.929120-3-l.stach@pengutronix.de/ [2] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20210910202640.980366-1-l.stach@pengutronix.de/ [PATCH 1/4] dt-bindings: phy: phy-imx8-pcie: Add binding for the pad [PATCH 2/4] dt-bindings: phy: add imx8 pcie phy driver support [PATCH 3/4] arm64: dts: imx8mm: add the pcie phy support [PATCH 4/4] phy: freescale: pcie: initialize the imx8 pcie standalone Documentation/devicetree/bindings/phy/fsl,imx8-pcie-phy.yaml | 66 ++++++++++++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 4 ++ arch/arm64/boot/dts/freescale/imx8mm.dtsi | 12 ++++++ drivers/phy/freescale/Kconfig | 9 +++++ drivers/phy/freescale/Makefile | 1 + drivers/phy/freescale/phy-fsl-imx8-pcie.c | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/dt-bindings/phy/phy-imx8-pcie.h | 14 +++++++ 7 files changed, 273 insertions(+)