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 CD492C7EE2A for ; Thu, 26 Jun 2025 02:37:10 +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:References: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: List-Owner; bh=SFlQTRrT3ODIPKVpSOyJi8PyqoCewk9+0WRGyqUWwzA=; b=FGiYs3c7dLF+6k bfelB56y4F4tZPQK5S7pv7WVHB6fRE/mIHg9gyaKMh2D0aBIzAzKNM2o60wzqgyll29IL7f7hirja f2RM7MCp+7e3/wEAFNPJL19fYf+U14I0wWIZToFHJFGuhTYWvGKMFhHyNzQgSpMDk+76LrGryKmpE ZSzdqL9jA5VuL4RWCE6KEnL/A9mWDi3cBnfBEp5x4QPlIvKH/4xfDjTZ01VmDyygABqP0KdDz5COy FOWq20zSTfV75v8YzS47eyGq7Yy1NkNitrN1uVOWoDfNc/vxhL0Ya8wD7DGYx5xXx9z83Zw/K0QtV xZ42MgOjMQLfOz0gBhJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uUcUA-0000000ASJo-1OLw; Thu, 26 Jun 2025 02:37:10 +0000 Received: from [203.254.224.25] (helo=mailout2.samsung.com) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uUcU6-0000000ASGZ-1bM0 for linux-phy@lists.infradead.org; Thu, 26 Jun 2025 02:37:08 +0000 Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20250626023658epoutp02c88583840ff69545ca14c68c253d6052~MdzN_cMH_2400124001epoutp02B for ; Thu, 26 Jun 2025 02:36:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20250626023658epoutp02c88583840ff69545ca14c68c253d6052~MdzN_cMH_2400124001epoutp02B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1750905418; bh=uDMB1Z9AjVBe8c2zXxGE4Co7kt+hAiHK3QF5M3qdFBQ=; h=From:To:Cc:Subject:Date:References:From; b=LFbSOWBdPiv/5Afw4wRBYQ5xMdOgj7HY4Kd2lrrBUIQLvbHXm8DgL8SUU19H7OvDv S4Z+ZWdfxahT7zGXF8uhFrdphvPuEmYY5mtkKCOuCG07z16Y4WpWAv4hv/mGY+QXFI i9YcQhaqMfrzMbDHU/uOvsAcZki2a8dwoIXL9NRY= Received: from epsnrtp04.localdomain (unknown [182.195.42.156]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPS id 20250626023657epcas5p4a4a1cf57a1aa0c4c264120eec35ec18a~MdzNWH9ju2563825638epcas5p4e; Thu, 26 Jun 2025 02:36:57 +0000 (GMT) Received: from epcas5p4.samsung.com (unknown [182.195.38.183]) by epsnrtp04.localdomain (Postfix) with ESMTP id 4bSN9z4Sl6z6B9mC; Thu, 26 Jun 2025 02:36:55 +0000 (GMT) Received: from epsmtip2.samsung.com (unknown [182.195.34.31]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20250625165241epcas5p471ca039a776513c4da7ee2a0955de5c2~MV1EnqnFE0913509135epcas5p4d; Wed, 25 Jun 2025 16:52:41 +0000 (GMT) Received: from cheetah.samsungds.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20250625165238epsmtip2a96f05e6c212ccb6164b2e3fc64e727e~MV1B4OmR01741117411epsmtip2L; Wed, 25 Jun 2025 16:52:38 +0000 (GMT) From: Shradha Todi To: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-fsd@tesla.com Cc: manivannan.sadhasivam@linaro.org, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, jingoohan1@gmail.com, krzk+dt@kernel.org, conor+dt@kernel.org, alim.akhtar@samsung.com, vkoul@kernel.org, kishon@kernel.org, arnd@arndb.de, m.szyprowski@samsung.com, jh80.chung@samsung.com, pankaj.dubey@samsung.com, Shradha Todi Subject: [PATCH v2 00/10] Add PCIe support for Tesla FSD SoC Date: Wed, 25 Jun 2025 22:22:19 +0530 Message-ID: <20250625165229.3458-1-shradha.t@samsung.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-CMS-MailID: 20250625165241epcas5p471ca039a776513c4da7ee2a0955de5c2 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P cpgsPolicy: CPGSC10-541,Y X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250625165241epcas5p471ca039a776513c4da7ee2a0955de5c2 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250625_193707_052517_C127A9C9 X-CRM114-Status: GOOD ( 16.06 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org FSD platform has three instances of DesignWare based PCIe IP, one is in FSYS0 block and other two in FSYS1 block. This patch series add required DT binding, DT file modifications, Controller driver support and PHY driver support for the same. To keep single PCIe controller driver for all Samsung manufactured SoC, we have made changes to Exynos file to extend support for FSD platform and other Samsung manufactured SoCs which shall be upstreamed soon. First a version was posted as a separate driver file: https://lore.kernel.org/lkml/20221121105210.68596-1-shradha.t@samsung.com/ This was rejected and request was made to add the support in exynos file itself. Then another patchset was posted to refactor existing exynos file: https://lore.kernel.org/lkml/649a8d88-0504-5aa9-d167-d25d394f3f26@linaro.org/T/ This requested some major changes Taking both these reviews into consideration, I have posted a fresh patchset where both changes to exynos framework and addition of new FSD support is present. v2: - Reordered patches for removing unused MACROs and renaming them - Fixed all incomplete DT bindings - Modified PHY driver code to adopt better design - Removed patch to add alignment data in PCI endpoint test driver - Added dts changes in the patchset itself v1: https://lore.kernel.org/lkml/20250518193152.63476-1-shradha.t@samsung.com/ Shradha Todi (10): PCI: exynos: Remove unused MACROs in exynos PCI file PCI: exynos: Change macro names to exynos specific PCI: exynos: Reorder MACROs to maintain consistency PCI: exynos: Add platform device private data PCI: exynos: Add structure to hold resource operations dt-bindings: PCI: Add bindings support for Tesla FSD SoC dt-bindings: phy: Add PHY bindings support for FSD SoC phy: exynos: Add PCIe PHY support for FSD SoC PCI: exynos: Add support for Tesla FSD SoC arm64: dts: fsd: Add PCIe support for Tesla FSD SoC .../bindings/pci/samsung,exynos-pcie.yaml | 121 ++-- .../bindings/pci/tesla,fsd-pcie-ep.yaml | 91 +++ .../bindings/phy/samsung,exynos-pcie-phy.yaml | 25 +- arch/arm64/boot/dts/tesla/fsd-evb.dts | 36 ++ arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi | 65 ++ arch/arm64/boot/dts/tesla/fsd.dtsi | 147 +++++ drivers/pci/controller/dwc/pci-exynos.c | 568 +++++++++++++++--- drivers/phy/samsung/phy-exynos-pcie.c | 317 +++++++++- 8 files changed, 1240 insertions(+), 130 deletions(-) create mode 100644 Documentation/devicetree/bindings/pci/tesla,fsd-pcie-ep.yaml -- 2.49.0 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy