From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 13912C4332F for ; Thu, 3 Nov 2022 08:27:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Lj50wCK6g0lHgts8moM2dRyZiKm5cc6G/ClUyeln0WM=; b=VTNN2R4ETnh3SR HVjOhLMAYL1YugDkoEPGkq4RYGKWIW05ibI6Y+/F/DC3DZTQQBw10X0f6mHcycdQP5EI5NjcYyq+X WBk68Opjo3XkBx4HA94WiCQ+YFjD8lelwyUyr/YCH0744eHV9SsCE/iQ/X9HV3iI7i+OgQYnHn5+3 SKrqFWO560wpClMJIuor9GdGgaditNJOj7WzYSPqm1qH3SLCJNl0KpM+X/lPm1bVV/fTXMboDRupT dPhbPSymcZYUTKnLD0k2d/FikflY8IUElBiyMP2vC87xdqktDXuTz0i4h/55yCXAWYX4jQ14vPh90 +OtzWYTYmg8miNiKw9fQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqVYO-00GfzJ-K2; Thu, 03 Nov 2022 08:26:25 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqVXG-00Gfie-7E for linux-arm-kernel@lists.infradead.org; Thu, 03 Nov 2022 08:25:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1667463914; x=1698999914; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2r8XOQHsUrbaJSTuWBrN7e0+u5i0EbmM5QIq6etLik0=; b=JvTOm0YN94I0zWfW7aDRVtVXa0MnXxHCopL5qrA8+OOnDMaFzs+TkDCb jxe4MqG2rxmvsQ2oMBCr/v2TOp5qje081Si42pPPIGzHYk4cT08E9rFFY 9U40aH8DV6OatOKtPc3pS5nJVKhJkvviRedlxwVtVu4+2U7Ybw6RQqXbc kYP3zANWLxxwaHMAk8aaD/v2tdP1sfEXOOQhJ02fJKrrGqaf0fb66KzqX hQBRh5H2XxF+RweYSnJYkp1FAfiXBs6r7COipR72lV+pyifauGrQWouQ4 9N/p4x0wC8cebCWbQ5cFco5kGYvFbDRV8MJ1lfKlNqryvCuHFZP1GEDlj g==; X-IronPort-AV: E=Sophos;i="5.95,235,1661810400"; d="scan'208";a="27127502" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 03 Nov 2022 09:25:12 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 03 Nov 2022 09:25:12 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 03 Nov 2022 09:25:12 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1667463912; x=1698999912; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2r8XOQHsUrbaJSTuWBrN7e0+u5i0EbmM5QIq6etLik0=; b=PK67dABSA8JXGS8ZUFkoi7t0r+o5ZxlBdZumbVGIarUiLJdKF38KPsYn aaoERMSuxRSqfR3ne8XCbe73S9XoFj8c24gcem7xaCqPkmylZQfM0tfqG OcPWBE/k+GeSlH26Zz42qXnKNAYe7piJcXCFd//dqLlXy32vzueMcWUzM 59qFrh5U6eyLZsF844qQKBCXC98MRGrUX2nClUNqEhZpB7OA9eWnn5iid r5KAT+Sy72gGAyFLbSoBZYe3b4qvlJrECbdHrOP2PsngPhvZEeGmFrm42 qoM/o3rbELmIpJ7T/93oxIrjHlMwn1ErLG7xV847Gi1bW1uFJr9slTjK+ w==; X-IronPort-AV: E=Sophos;i="5.95,235,1661810400"; d="scan'208";a="27127501" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 03 Nov 2022 09:25:11 +0100 Received: from steina-w.localnet (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id AFC42280056; Thu, 3 Nov 2022 09:25:11 +0100 (CET) From: Alexander Stein To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Marek Vasut Cc: linux-pci@vger.kernel.org, Fabio Estevam , Lucas Stach , Richard Zhu , Rob Herring , Shawn Guo , linux-arm-kernel@lists.infradead.org, NXP Linux Team , Marek Vasut Subject: Re: [PATCH 1/3] dt-bindings: imx6q-pcie: Handle various clock configurations Date: Thu, 03 Nov 2022 09:25:12 +0100 Message-ID: <7630472.EvYhyI6sBW@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <20221102215729.147335-1-marex@denx.de> References: <20221102215729.147335-1-marex@denx.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221103_012514_720916_4DA36F89 X-CRM114-Status: GOOD ( 17.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Marek, Am Mittwoch, 2. November 2022, 22:57:27 CET schrieb Marek Vasut: > The i.MX SoCs have various clock configurations routed into the PCIe IP, > the list of clock is below. Document all those configurations in the DT > binding document. > > All SoCs: pcie, pcie_bus > 6QDL, 7D: + pcie_phy > 6SX: + pcie_phy pcie_inbound_axi > 8MQ: + pcie_phy pcie_aux > 8MM, 8MP: + pcie_aux > > Signed-off-by: Marek Vasut > --- > Cc: Fabio Estevam > Cc: Lucas Stach > Cc: Richard Zhu > Cc: Rob Herring > Cc: Shawn Guo > Cc: linux-arm-kernel@lists.infradead.org > Cc: NXP Linux Team > To: devicetree@vger.kernel.org > --- > .../bindings/pci/fsl,imx6q-pcie.yaml | 74 +++++++++++++++++-- > 1 file changed, 69 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml > b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml index > 376e739bcad40..1cfea8ca72576 100644 > --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml > @@ -14,9 +14,6 @@ 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. > > -allOf: > - - $ref: /schemas/pci/snps,dw-pcie.yaml# > - > properties: > compatible: > enum: > @@ -60,8 +57,8 @@ properties: > items: > - const: pcie > - const: pcie_bus > - - const: pcie_phy > - - const: pcie_inbound_axi for imx6sx-pcie, pcie_aux for imx8mq-pcie > + - enum: [pcie_phy, pcie_aux] > + - enum: [pcie_inbound_axi, pcie_aux] > > num-lanes: > const: 1 > @@ -177,6 +174,73 @@ required: > > unevaluatedProperties: false > > +allOf: > + - $ref: /schemas/pci/snps,dw-pcie.yaml# > + > + - if: > + properties: > + compatible: > + contains: > + enum: > + - fsl,imx6sx-pcie > + - fsl,imx8mq-pcie > + then: > + properties: > + clocks: > + maxItems: 4 > + clock-names: > + maxItems: 4 > + > + - if: > + properties: > + compatible: > + contains: > + const: fsl,imx6sx-pcie > + then: > + properties: > + clock-names: > + items: > + - const: pcie > + - const: pcie_bus > + - const: pcie_phy > + - const: pcie_inbound_axi > + else: > + if: > + properties: > + compatible: > + contains: > + const: fsl,imx8mq-pcie > + then: > + properties: > + clock-names: > + items: > + - const: pcie > + - const: pcie_bus > + - const: pcie_phy > + - const: pcie_aux > + else: > + if: > + properties: > + compatible: > + contains: > + enum: > + - fsl,imx8mm-pcie > + - fsl,imx8mp-pcie > + then: > + properties: > + clock-names: > + items: > + - const: pcie > + - const: pcie_bus > + - const: pcie_aux > + else: > + properties: > + clock-names: > + items: > + - const: pcie > + - const: pcie_bus > + - const: pcie_phy > + > examples: > - | > #include Acked-by: Alexander Stein _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel