From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from twmbx01.aspeedtech.com (mail.aspeedtech.com [211.20.114.72]) (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 076C03783D4; Wed, 16 Sep 2026 00:43:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.20.114.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789519405; cv=none; b=t4dtDLcHPadvV/74cg5mVQaLN1sqBDy6J6BnZ+xTdofBV/DYxBhzy8uVmz+de2Q8Ev7uCkYyB48WP27pyjW1SHRuK1SDThtrclIjwEs+HxN9Kr6/vlTHhb62GSLxOuClMbhiuurPZiPOiBmVriTBJaoU6tJxMrrS/o8KARnN6Eg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789519405; c=relaxed/simple; bh=oarP0zPWM7rU28jobfWNT27FoqPEuVIEmWhjt7NQyxA=; h=From:Subject:Date:Message-ID:MIME-Version:Content-Type:To:CC; b=ITA+0zE1pwdcaWu70bFseDLoPIpCZ96MzSf/6nq5du2pW4GZHaDpNZ7ymEK/nF5NYx1HYclPdLTPTjeFD3jQdqUdDp2ijU8neKa+oJDovc3vixgt/hfHEq2bGO1s2FreGqN/6Exj8cNHQspDCo/b4j2Y0hS74pwbZy0oeZ8sdOw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass smtp.mailfrom=aspeedtech.com; arc=none smtp.client-ip=211.20.114.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aspeedtech.com Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Wed, 16 Sep 2026 08:38:02 +0800 Received: from [127.0.1.1] (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Wed, 16 Sep 2026 08:38:02 +0800 From: Ryan Chen Subject: [PATCH v4 0/3] Add AST2700 USB3.2 PHY driver Date: Wed, 16 Sep 2026 08:38:00 +0800 Message-ID: <20260916-upstream_usb3phy-v4-0-812e76037d01@aspeedtech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAOjkqWoC/23NTQqDMBCG4atI1k3JJGqarnqPUoqaSc3CHxINF fHujUJpQZfvB/PMTDw6i55ck5k4DNbbro2RnhJS1UX7Qmp1bMIZzxkAp2PvB4dF8xx9Kfp6ohI gNxdtUEpF4lnv0Nj3Rt4fsWvrh85N24cA6/rF0j0WgDLKMVOZYiVyLW+F7xH1gFV9rrqGrGLg/ 0p+oPCosJJVyggsc5MeKuKnSAYHilgVhsAFZFFRO2VZlg+SNrajQQEAAA== X-Change-ID: 20260112-upstream_usb3phy-7116f8dfe779 To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , "Andrew Jeffery" , Philipp Zabel , Manivannan Sadhasivam , Billy Tsai CC: , , , , , Ryan Chen , Krzysztof Kozlowski , "Manivannan Sadhasivam" X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789519082; l=2215; i=ryan_chen@aspeedtech.com; s=20251126; h=from:subject:message-id; bh=oarP0zPWM7rU28jobfWNT27FoqPEuVIEmWhjt7NQyxA=; b=EMxjupueFd3ly98mgyHjXZFSFYeEy5k3r9ojtvQp8xpLiU0BzwUoqM8AjVd4Nvf6dSJEliGbq c7jvntvp256C7r8BFUfOvv4eGFuPLhH+1YLRaYDsABQoho8QbymxBnj X-Developer-Key: i=ryan_chen@aspeedtech.com; a=ed25519; pk=Xe73xY6tcnkuRjjbVAB/oU30KdB3FvG4nuJuILj7ZVc= Add AST2700 USB3.2 PHY support. - Supports Super Speed Plus Gen2x1 (10 Gbps), Super Speed (5 Gbps), High Speed (480 Mbps), Full Speed (12Mbps), and Low Speed (1.5 Mbps). Signed-off-by: Ryan Chen --- Changes in v4: - Indent the register bitfield definitions so they are distinguishable from the register offsets, and use lowercase hex. - Set PHY3S00_SRAM_EXT_LOAD rather than PHY3S00_SRAM_BYPASS. Bypassing the SRAM leaves the PHY on the default RTL design configuration, whereas the external load path applies the ROM patch so the PHY runs the ROM configuration. - Describe the SRAM handshake in the driver's commit message. - Link to v3: https://lore.kernel.org/r/20260701-upstream_usb3phy-v3-0-00e12315b6f9@aspeedtech.com Changes in v3: - Wire drivers/phy/aspeed/ into drivers/phy/Kconfig and drivers/phy/Makefile so the driver is actually built. - Fix the Makefile config symbol to CONFIG_PHY_ASPEED_USB3 to match the Kconfig symbol. - Expand the Kconfig help text. - Link to v2: https://lore.kernel.org/r/20260116-upstream_usb3phy-v2-0-0b0c9f3eb6f4@aspeedtech.com Changes in v2: - aspeed,ast2700-usb3-phy.yaml - Drop clocks, resets descripton. - Kconfig - add COMPILE_TEST, remove default n - Link to v1: https://lore.kernel.org/r/20260114-upstream_usb3phy-v1-0-2e59590be2d7@aspeedtech.com --- Ryan Chen (3): dt-bindings: phy: aspeed: Document AST2700 USB3.2 PHY phy: aspeed: Add AST2700 USB3.2 PHY driver MAINTAINERS: Add ASPEED USB3 PHY driver .../bindings/phy/aspeed,ast2700-usb3-phy.yaml | 48 +++++ MAINTAINERS | 8 + drivers/phy/Kconfig | 1 + drivers/phy/Makefile | 1 + drivers/phy/aspeed/Kconfig | 15 ++ drivers/phy/aspeed/Makefile | 2 + drivers/phy/aspeed/phy-aspeed-usb3.c | 236 +++++++++++++++++++++ 7 files changed, 311 insertions(+) --- base-commit: f82a5da2f04960df9fb57489992d03dd5e64ec6f change-id: 20260112-upstream_usb3phy-7116f8dfe779 Best regards, -- Ryan Chen