Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp411920lqb; Fri, 24 May 2024 02:06:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvb8DTi1vR/IvnnmBdM92d/xHQqNKA0rciRLW5XeetWcl13gcKjkYR08wlTHrl3DIxS8ZqgxZ/etd8GrJriH2h2UnMIWUaaa/sumiKvw== X-Google-Smtp-Source: AGHT+IED1K9SpWVKUQbvWapHEMbMwr9UZdOVnrwHGLcpGIqAzrGfTfLKvbVs0rSIu7MSXFXv6349 X-Received: by 2002:a05:620a:5dc3:b0:792:8b34:40af with SMTP id af79cd13be357-794ab1106bcmr154357485a.66.1716541615652; Fri, 24 May 2024 02:06:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716541615; cv=pass; d=google.com; s=arc-20160816; b=o1fGNFw4UhMgQ9WxtiBsN3FXtq4JR48/Vo8KBJ69u5DcsSPde6xWNN9xNwD+h46dM4 syCMayH9GZBw9cdKP9x8JJbDkyHw4qQtmTsKQzSyeE0SyDG3qPE7k7CwFSFlpbHWoe8j JTVs48NbLTpWBJLcXJJAcYUmFBIFwblGvGlUvYKIe1zEi77lsWI0qZOOZT3gvQyN/DiE prvN3DsHuq3K7RHvWR5b4gG/wK3nFhOIsx4ye0+pQdZ8hGzEmCSsAvH2wTwv5RGdne9k bza3X0c5GOkWfCcQcmmD+YQ7EgYRLr9ipY8SfgMuPI89uZb5nl8eYEYE7+UXPreuhFZd XE8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ERdEWnZaf8wEUS9yivBfRntCDoHPogtyIgugw5XQBgc=; fh=v0teqksL3xO+SLXxmXdn9hV0IgnSHmLX2R1lVYr4iek=; b=u4zCQX0d66cbm3HBaBqUsDpcsKDyC4p3Gvm73aJtj7MG6QTyl9VsB9uFAqoec23BtM pVg/jWfqViJfOr5hh8ej/uJlcQLbls+AWaBEaMvdbPLic2r4hxnhOQXUD03EPP/PpyCS x62mGoOk9WOjJy7m43765WRj0L5No8S+7QdpSm813TUz6Wpg3p9UdpNlxkZqs2WmjCeA wp1dDHqq/GGQG/tu4vA7p6km0GEVXGHJgAOgU9mpiw1XiQHyXsXdeCRDEHwF9lRxjZ7/ 5ILrdBt+Nkg6M1DZqmqfJmoTgr3P5fke0e8HIHlIUxipjbHaxvusqskWyUn4ImpMmnqJ DY0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nQ8LxpPi; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-188518-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188518-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abd3e2bdsi114049785a.530.2024.05.24.02.06.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 02:06:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188518-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nQ8LxpPi; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-188518-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188518-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 613D11C21B40 for ; Fri, 24 May 2024 09:06:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20425129E9C; Fri, 24 May 2024 09:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="nQ8LxpPi" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD0D1129A6D; Fri, 24 May 2024 09:05:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716541539; cv=none; b=FWiCIv7fVfX748rmKioeDTxy6ZoBTwMTwLa3dvlwfGNVcS+iMfF9EpeIg4HrjFdkND7znkr4hUWdhrgPI8kJmCwtvShWPxTzFXcdDDu4VxTqHa04sjeuNfePNwQNnmLXdpgUs0jVEELUz7OuXmLF3RYTmqsKv3wQYhID0ZLjuDU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716541539; c=relaxed/simple; bh=+zt3DFxO0fnlmonm94eGfk5hJBfckoxqrYa5hNmXlqs=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=SRZZOLIicL0zsFB8CJcKFg6lgA1++K9zi+HmSz4jbmoRJTXs6SIi913zKqtWEU0oSgtnfmVpxI03r5nM72xTGWx7qMQC8rxVNsfMOFLuG/xw9RP6EazY4kjeDq3ywr5rGM2a78mXcnZ0HBsqbJPQjxn+xfc0XVYctJ0BC5JjG4E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=nQ8LxpPi; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44O95K8m071471; Fri, 24 May 2024 04:05:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716541520; bh=ERdEWnZaf8wEUS9yivBfRntCDoHPogtyIgugw5XQBgc=; h=From:To:CC:Subject:Date; b=nQ8LxpPiJVzvV6eCpzfGnAjTwECW/tyi3KUurUc5i/IvuLvrsN4bjE5+GSxt6X8e4 UygUl+hx/uBm+JV53cVSxT/AztzzIBRurI+yrKUL34kfDLZTbM2goxA7Rjb8u4+QdT pqZSarm40pIjE9RIWefO6o0kaRW/BPTyThQqQPsc= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44O95KCR029558 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 24 May 2024 04:05:20 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 24 May 2024 04:05:19 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE109.ent.ti.com (10.64.6.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; Fri, 24 May 2024 04:05:19 -0500 Received: from uda0492258.dhcp.ti.com (uda0492258.dhcp.ti.com [172.24.227.9]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44O95F7F017455; Fri, 24 May 2024 04:05:15 -0500 From: Siddharth Vadapalli To: , , , , , , , CC: , , , , , , Subject: [PATCH v3 0/7] Add PCIe and USB device-tree support for J722S Date: Fri, 24 May 2024 14:35:07 +0530 Message-ID: <20240524090514.152727-1-s-vadapalli@ti.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hello, This series adds device-tree support for PCIe and USB on J722S SoC. This series is the v3 for the v2 USB series at: https://lore.kernel.org/r/20240513114443.16350-1-r-gunasekaran@ti.com/ and is also the v1 series for enabling PCIe device-tree support for J722S. Since the v2 USB series combined portions of the PCIe changes incorrectly, I have updated this series to contain USB specific changes in the first 3 patches of this series while moving the PCIe specific changes to the remaining 4 patches in this series. Series is based on linux-next tagged next-20240524. v2 for USB: https://lore.kernel.org/r/20240513114443.16350-1-r-gunasekaran@ti.com/ Changes since v2 USB series: - For patch 1: => Renamed serdes0_ln_ctrl to serdes_ln_ctrl to keep the format consistent across SoCs where a single node is sufficient to represent the Lane-Muxing for all instances of the Serdes. - For patch 2: => No changes since v2. - For patch 3: => Renamed serdes0_ln_ctrl to serdes_ln_ctrl corresponding to the change made in patch 1. => Dropped Serdes1 idle-states since it has not yet been added in the serdes_ln_ctrl node. => Dropped Serdes1 specific Lane-Muxing macros in "k3-serdes.h". => Added newline after /* J722S */ in "k3-serdes.h" following the file convention. v1 for USB: https://lore.kernel.org/r/20240429120932.11456-1-r-gunasekaran@ti.com/ Changes since v1 USB series: - Introduced k3-j722s-main.dtsi newly to add the main domain peripherals that are present additionally in J722S as suggested by Andrew Davis. - Used generic node names as suggested by Roger Quadros. - Removed the aliases for usb as suggested by Rob Herring. This series has no dependencies and has been tested on J722S-EVM. Logs testing PCIe functionality with an NVMe SSD connected to the J722S-EVM and testing USB functionality limited to "lsusb" output: https://gist.github.com/Siddharth-Vadapalli-at-TI/6a9cdcec24add0114e63db736b3e23fb Regards, Siddharth. Ravi Gunasekaran (3): arm64: dts: ti: k3-j722s-main: Add support for SERDES0 arm64: dts: ti: k3-j722s-main: Redefine USB1 node description arm64: dts: ti: k3-j722s-evm: Update USB0 and USB1 Siddharth Vadapalli (4): arm64: dts: ti: k3-serdes: Add Serdes1 lane-muxing macros for J722S arm64: dts: ti: k3-j722s: Add lane mux for Serdes1 arm64: dts: ti: k3-j722s-main: Add WIZ1 and Serdes1 nodes arm64: dts: ti: k3-j722s: Add support for PCIe0 arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 72 +++++++++ arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 177 ++++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j722s.dtsi | 5 + arch/arm64/boot/dts/ti/k3-serdes.h | 8 + 4 files changed, 262 insertions(+) create mode 100644 arch/arm64/boot/dts/ti/k3-j722s-main.dtsi -- 2.40.1