From patchwork Tue Aug 8 05:34:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhu X-Patchwork-Id: 132769 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2334336vqr; Tue, 8 Aug 2023 12:04:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbOUF2sVnpORfodoaotX72wM0QqRmaa4Mij+7ewbXIgtMqaT19PPljiMMd96BIHuJuSDvy X-Received: by 2002:a2e:861a:0:b0:2b9:4aa1:71e1 with SMTP id a26-20020a2e861a000000b002b94aa171e1mr304886lji.50.1691521465333; Tue, 08 Aug 2023 12:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691521465; cv=none; d=google.com; s=arc-20160816; b=0ExAicNtkmZXCyj7/v/oAZ+fwlLk1PKJf8QU5zHU8BPxZwO0zmXJjrAL6+v7Vawsa7 9691pd2smanjIvR06j4mqRPO3UIfB6MjpZbCHBp7m4F9NiWR5JW/RH33VEaICuSgHjSE 4NWOWZ/HuKHLAaeei18eCJ0D6TaLoQQ4/LnVI+kOcO6DNjAUA2BH4Nh0t40/PqIphWoo 4rAqtT+Dx7WSfbHu+1clgqoexMo/mIUvWO20vb+HbEa/gjmUHGXEedyybyV6iO/uHCIi tEuH3ZkgqMrbM65Qwh2U8Oc3QSRSpxr4T+ZrfjsK3xMBSTwzXFe17+kLw5gxLnO9asF4 dW0A== 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=F1vZsJNpBY7x99e7Y+53W1Y7gPNrGpgNtY3U5yvlUXs=; fh=cRb0aB90SbQyVFNPpVcxERgDOlz7nc5zFh0bRYzMTlo=; b=bDO9s50g26ffetNy38pQ+/T5GFa95o8rs8nXfSFZmPUZKtalHIO79jCuMeY1dawnok 9A/9K57j2QUeZc0jXVhjZJFdD8kAPgsM8cIhNNiPEIvtoxsURJc8a1MqJIfR6k1UVoWG rViHZ1o2cu1B0n+CSjVYfXB3e4+ryNmhLQibGpIar3WIoObtzWZuBUFW2TVe/YcWLsjB jWcgHMn8Pkq8jKv9mOjHvLiC0Ct3ALlM0d4A1JlFGTCxUr1wbAO6/ICFvVBXvLXyU++/ p3i0XOcGMtjlNlC0hVLZgrvpB5ejPhG18lYZHtFItHAlvQmNIEYdbQtFTYGB7RXaYJhC ig6w== 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 s22-20020a170906355600b00992b54ad681si7925297eja.773.2023.08.08.12.04.01; Tue, 08 Aug 2023 12:04:25 -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 S235968AbjHHS2y (ORCPT + 99 others); Tue, 8 Aug 2023 14:28:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235673AbjHHS2c (ORCPT ); Tue, 8 Aug 2023 14:28:32 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B81783F3; Tue, 8 Aug 2023 10:44:03 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4D7222011B9; Tue, 8 Aug 2023 08:08:56 +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 13FC32011BB; Tue, 8 Aug 2023 08:08:56 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 6483B1800318; Tue, 8 Aug 2023 14:08:54 +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 v3 2/9] dt-bindings: PCI: fsl,imx6q: Add i.MX6SX PCIe EP compatibles Date: Tue, 8 Aug 2023 13:34:11 +0800 Message-Id: <1691472858-9383-3-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1691472858-9383-1-git-send-email-hongxing.zhu@nxp.com> References: <1691472858-9383-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,SPF_HELO_NONE, SPF_PASS 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: 1773688811936078696 X-GMAIL-MSGID: 1773688811936078696 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: