From patchwork Tue Nov 28 05:43:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddharth Vadapalli X-Patchwork-Id: 13470512 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 52E19C4167B for ; Tue, 28 Nov 2023 05:44:58 +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: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:In-Reply-To:References: List-Owner; bh=Z8aIWF//WBdszuvlO50Ovk9PmO18/YS1K2C4uM+ixFk=; b=JZ1+h6F+5jbCZy BL1f506ieZWAS39yz6rW67lOy92MS/OZ2oK3OEc5WyCeRC0hn0qH5iMBvseMINHj00VzfjNnBoYmu gE63kQdX5UCLQ15OlaKjVGOHQdbyhue6aJqlnZu2VfFy0/rYZ3mrob247RrULmV3avM5Nv7ivsxti qjdcLg0bXwvIbY2LkjDSwyNYeCmMKjzr//aNrlkwexvOFE7a2fkvE08iGPcdQGpu3EY+enXBGi1Q+ wrLkboNEhIANy9d7VgD7kZutKc/LXpPyh4JqN+SOTPhQ+NIfzP4/KcN+/87EK/pFZW5eLA405LCxP dkFJHoBPcnN1nEG3wQKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7qtZ-004Agx-0c; Tue, 28 Nov 2023 05:44:29 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7qtW-004AgH-2J for linux-arm-kernel@lists.infradead.org; Tue, 28 Nov 2023 05:44:28 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AS5i8nM001892; Mon, 27 Nov 2023 23:44:08 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701150248; bh=m6go9cv+AkGb2YjL9avWYu4KLMkj1Dm1Ss+5Mn8+XWs=; h=From:To:CC:Subject:Date; b=mcmbzLru0CfhpVnFwW6rP86N6VtXFPWbdLbT+zhfpGMeu+gFFXp+R2jkJr7MkrrWB wnYB59ACIszb3M/2rcO4t0+jr9w4QGy/j/TLU6C1oEx/+OO/RMMeonTHE1IWL62q/D Cy2yNx04VwKed+XBJWDuU8k/UvEQwedmtS2rDTlI= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AS5i8Kr055807 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 27 Nov 2023 23:44:08 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 27 Nov 2023 23:44:07 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 27 Nov 2023 23:44:07 -0600 Received: from uda0492258.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AS5i2uO096776; Mon, 27 Nov 2023 23:44:03 -0600 From: Siddharth Vadapalli To: , , , , , , , CC: , , , , , , , , Subject: [PATCH v13 0/5] PCI: add 4x lane support for pci-j721e controllers Date: Tue, 28 Nov 2023 11:13:57 +0530 Message-ID: <20231128054402.2155183-1-s-vadapalli@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231127_214426_940367_5284AF00 X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, This series adds support to the pci-j721e PCIe controller for up to 4x Lane configuration supported by TI's J784S4 SoC. Bindings are also added for the num-lanes property which shall be used by the driver. The compatible for J784S4 SoC is added. This series is based on linux-next tagged next-20231128. Regards, Siddharth. --- v12: https://patchwork.kernel.org/project/linux-pci/cover/20230401112633.2406604-1-a-verma1@ti.com/ Changes since v12: - Rebased series on linux-next tagged next-20231128. - Reordered patches with bindings patches first followed by driver patches. - Collected Reviewed-by tag from Krzysztof Kozlowski which was missed in the v12 series as pointed out at: https://patchwork.kernel.org/project/linux-pci/patch/20230401112633.2406604-2-a-verma1@ti.com/ Matt Ranostay (5): dt-bindings: PCI: ti,j721e-pci-*: add checks for num-lanes dt-bindings: PCI: ti,j721e-pci-*: add j784s4-pci-* compatible strings PCI: j721e: Add per platform maximum lane settings PCI: j721e: Add PCIe 4x lane selection support PCI: j721e: add j784s4 PCIe configuration .../bindings/pci/ti,j721e-pci-ep.yaml | 39 ++++++++++++++-- .../bindings/pci/ti,j721e-pci-host.yaml | 39 ++++++++++++++-- drivers/pci/controller/cadence/pci-j721e.c | 45 ++++++++++++++++--- 3 files changed, 112 insertions(+), 11 deletions(-)