From patchwork Mon Jan 30 03:32:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhu X-Patchwork-Id: 50112 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1995378wrn; Sun, 29 Jan 2023 19:58:41 -0800 (PST) X-Google-Smtp-Source: AK7set/GHCvZHYMI3TAa8g5dxa8qGlhkqUoQfiJJ4fG+d6jZSvxGUJa4lijDsSwgyvFyiDVoh5eH X-Received: by 2002:a50:ed04:0:b0:4a2:564f:4c33 with SMTP id j4-20020a50ed04000000b004a2564f4c33mr189921eds.37.1675051121395; Sun, 29 Jan 2023 19:58:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675051121; cv=none; d=google.com; s=arc-20160816; b=p6zbPDMsfyjXLsQlIrb3ze7Xyv0pQknbhA+v+U9SmQz8gufgjR5sqJkhi/8dzTI1CM uGAinrz3jm7CdAyo+qQWzMUgJNDLvNz7FPNq4FoyvASwmJlH2L3u5dpWwhxwHhXpGxuJ tSIWS3C9hlvN0mo+8QbQFx8suTKMLzpDtqprcslOAz6fNImgOhpfGxfYsIJyxMkhM1fv 0C5H52dx+o0Fttb0efnrGWh7ohK84TgYCOnX3utce2yqUcYAiPdYfTupmekqEHZ9VWPX WkBhg491n6HmyHelXVMTtZezKFkTLXmYElzBppW8N0SVAbXOeKUIMUhn44wZ0LpqaNyM mIFA== 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=LcUz3AqC3wV9FgXpNZKnRItVib7iAv8QgY0zA5ykMGY=; b=kq6/7v2pmrDUr4L8IG26dRm2W541FiBEvEJhs52LimHQKoQtf7+IhqUGLNLbsOaSYN scp5xCSvKUl13txHNlXh6eFrQoaMmIQNCXjjmMUPEEOoHksoqf9js7rwrL82gvOyV8JS UEh/HXwraH53vkNdaFEHc7SFye9xW8jm5y03nl6+EMScgOVPR0Z0qt8UVD9qAdifDx9Q rFqJhcvOowgBm2puUSw6O2Uxk80Y74qoQP1F84cHaJte4FTZzw7SNO34Jr4YVXW6Ps7G Fe43FglGXjNt9flMTWd/yn8khfkd0b+DO0do1ek/pMr3wX9ei/jWYVxTkhKINquc1AX4 C4Ag== 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 fk25-20020a056402399900b0049d3f37b767si13367422edb.268.2023.01.29.19.58.18; Sun, 29 Jan 2023 19:58:41 -0800 (PST) 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 S235449AbjA3D5l (ORCPT + 99 others); Sun, 29 Jan 2023 22:57:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235290AbjA3D5e (ORCPT ); Sun, 29 Jan 2023 22:57:34 -0500 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8DF3199DD; Sun, 29 Jan 2023 19:57:33 -0800 (PST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 84050201A4A; Mon, 30 Jan 2023 04:57:32 +0100 (CET) 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 4DBD320087C; Mon, 30 Jan 2023 04:57:32 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 8065C183ABEF; Mon, 30 Jan 2023 11:57:30 +0800 (+08) From: Richard Zhu To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, l.stach@pengutronix.de, shawnguo@kernel.org, lorenzo.pieralisi@arm.com, peng.fan@nxp.com, marex@denx.de, marcel.ziswiler@toradex.com, tharvey@gateworks.com, frank.li@nxp.com Cc: hongxing.zhu@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com Subject: [PATCH v7 1/5] dt-bindings: imx6q-pcie: Prepare to separate the Endpoint binding document Date: Mon, 30 Jan 2023 11:32:15 +0800 Message-Id: <1675049539-14976-2-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1675049539-14976-1-git-send-email-hongxing.zhu@nxp.com> References: <1675049539-14976-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756418404886230717?= X-GMAIL-MSGID: =?utf-8?q?1756418404886230717?= Prepare to create one separate DT-schema for i.MX PCIe Endpoint controllers in another commit. Remove the EP mode compatible, and update the description. Signed-off-by: Richard Zhu --- .../devicetree/bindings/pci/fsl,imx6q-pcie.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml index f13f87fddb3d..2985d14b9ecc 100644 --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml @@ -13,6 +13,11 @@ maintainers: description: |+ This PCIe host controller is based on the Synopsys DesignWare PCIe IP and thus inherits all the common properties defined in snps,dw-pcie.yaml. + The controller instances are dual mode where in they can work either in + Root Port mode or Endpoint mode but one at a time. + + See fsl,imx6q-pcie-ep.yaml for details on the Endpoint mode device tree + bindings. properties: compatible: @@ -24,9 +29,6 @@ properties: - fsl,imx8mq-pcie - fsl,imx8mm-pcie - fsl,imx8mp-pcie - - fsl,imx8mm-pcie-ep - - fsl,imx8mq-pcie-ep - - fsl,imx8mp-pcie-ep reg: items: @@ -178,6 +180,7 @@ required: allOf: - $ref: /schemas/pci/snps,dw-pcie.yaml# + - if: properties: compatible: