From patchwork Fri Aug 4 02:09:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhu X-Patchwork-Id: 130946 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:419:b0:139:fa0d:b2d with SMTP id 25csp771435rwd; Thu, 3 Aug 2023 20:31:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlGNcG22U1OS+bRhIERftfvsCX1ad5y+69VCAGgy0yEvusmR7IcFSQuhAu4ExDYEACp4tUzK X-Received: by 2002:a05:600c:1e11:b0:3f8:efad:31ee with SMTP id ay17-20020a05600c1e1100b003f8efad31eemr15179428wmb.2.1691119917932; Thu, 03 Aug 2023 20:31:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691119917; cv=none; d=google.com; s=arc-20160816; b=YZy+I0JM8loLn3WVZAnCQvXdvsvAlodDYCqya4Ely6A9qiAar5hNsVaaJHaBkqkhbJ Y/XkoeQo06wD//OFGLZUxGx1BD3Di1ExGPqjdrBEkqkmgj8F+jsw5JYU/LrFn4ltq07C Pe7IvcTTqaDntpVXqIU3TnmQqt6hP/uQxM//+IOyox7Xy6xcf6kVNvGpHmdfn6cIueix latcsZ93JZWM09G2PQYmGowean3MGU5h+O3DlfgiLtUgdAIQnfyYgkB/9N4tJFl0UWXt pRVM/qZORLZLa9tQyH6kLlZ6GxoTA+alRQ7/Z8/2xXjBkfCdUHNuryPjX/5mgZp7xCvD JExg== 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=JOEkjFVql61yKsGieEvBxfmbyQ9BUYJUd8xH6DysmeQ=; fh=cRb0aB90SbQyVFNPpVcxERgDOlz7nc5zFh0bRYzMTlo=; b=Wat/6Vyr2uV+ZNzy2f8rOwZmKRod4YJveVRrZYbeqbnQ+EvsWZkUTQspkVQPOmS4qr pFde1UgBJ4UWnfKSUtrzjGEu7Iy00d4EwEwLmUH94as0FYBx3r3Z1WrPgbL12wAiAhIK FJGYc+YrNLU0pu/FzwlXg585L2kwGMBdkLb4dvVUzz+7DxSvtts4cHoh5rIo8bhGnnDy d8kC2dgPXuhFQxVjI3KvrKeRilYORPjpqSSQOlxijDueSzQAMkvbzJI9Qt96QpFRXkUP C70nZWD1UUJKosGXo6M+jRgpTjHu4yzoZysnN0TF7NhhLrzGMEpfMthToDZWrNQUGI0g rfOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o21-20020a170906601500b0099396547000si984427ejj.767.2023.08.03.20.31.34; Thu, 03 Aug 2023 20:31:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233866AbjHDCoL (ORCPT + 99 others); Thu, 3 Aug 2023 22:44:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233646AbjHDCoD (ORCPT ); Thu, 3 Aug 2023 22:44:03 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC505115; Thu, 3 Aug 2023 19:44:02 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 8F9C4201F1B; Fri, 4 Aug 2023 04:44:01 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 565922013AE; Fri, 4 Aug 2023 04:44:01 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id A7072181D0E5; Fri, 4 Aug 2023 10:43:59 +0800 (+08) From: Richard Zhu To: frank.li@nxp.com, l.stach@pengutronix.de, shawnguo@kernel.org, lpieralisi@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: hongxing.zhu@nxp.com, linux-pci@vger.kernel.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 v2 2/9] dt-bindings: PCI: fsl,imx6q: Add i.MX6SX PCIe EP compatibles Date: Fri, 4 Aug 2023 10:09:28 +0800 Message-Id: <1691114975-4750-3-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1691114975-4750-1-git-send-email-hongxing.zhu@nxp.com> References: <1691114975-4750-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773267758973994600 X-GMAIL-MSGID: 1773267758973994600 Add i.MX6SX PCIe EP compatibles. Signed-off-by: Richard Zhu Reviewed-by: Krzysztof Kozlowski --- .../bindings/pci/fsl,imx6q-pcie-ep.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml index 9b881777c801..26448084340a 100644 --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml @@ -21,6 +21,7 @@ properties: enum: - fsl,imx6q-pcie-ep - fsl,imx6qp-pcie-ep + - fsl,imx6sx-pcie-ep - fsl,imx8mm-pcie-ep - fsl,imx8mq-pcie-ep - fsl,imx8mp-pcie-ep @@ -62,6 +63,22 @@ required: allOf: - $ref: /schemas/pci/snps,dw-pcie-ep.yaml# - $ref: /schemas/pci/fsl,imx6q-pcie-common.yaml# + - if: + properties: + compatible: + enum: + - fsl,imx6sx-pcie-ep + then: + properties: + clocks: + minItems: 4 + clock-names: + items: + - const: pcie + - const: pcie_bus + - const: pcie_phy + - const: pcie_inbound_axi + - if: properties: compatible: