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 E870CC3ABBE for ; Thu, 8 May 2025 14:29:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=EfzzmMWhtBYwYgoVotfFVevJYE1SLxZdAdVHFGvAmwc=; b=ew3IwHgDBwH5oHLZmbkMMUSap0 mGFO0m+isxh6Cxt9Z8QHHGiJvjC4UVZFfUtFN+oGLgqi7tsLAl3ZVZBmxb8N9OzqT4ZNBVW+f8+y5 c1RQbIiRigggshsBmRLyTIFi5XR1Wm85WGvgpApx2W0xkwICrMYCjFiH0eHPvgFyB4Ege1FxbDLkt aBWd68Ci9F71tmBTxPQ7hd75sJ4nozjvK5236CpKW0ath8ofva1/3/zocFa/ltOomiio5I0pPZk5v X4qyIMokWE4ziigSmNHs9PUV10A70Fq5uQHFdgNokQQjxyjS86If1dNTI7tR5/VHdr9qBWxjj5jJU 7/2CKgtA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uD2FR-00000000vG0-1VYE; Thu, 08 May 2025 14:29:17 +0000 Received: from layka.disroot.org ([178.21.23.139]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uD1Xo-00000000nI4-2WDr; Thu, 08 May 2025 13:44:14 +0000 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B9223261CE; Thu, 8 May 2025 15:44:02 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id k7mFSywzps7E; Thu, 8 May 2025 15:44:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1746711841; bh=X6Yu3x0xPCSuSq8UL7wpQLlzPGCiDE0xw6l+RcPJyao=; h=From:To:Cc:Subject:Date; b=C8CudheCORIWPtDCkwpl2+57gId+4YhGA/oHeKwANNoujv5hw+/3XcHw4jFvZ+pKj vX59902vb2sYt0vXXLNVACIZ9FH7LniuN4XHBZe8lOnC8YGR12Q2P5MuwOxechzo9A DRJVdNP9me4tTB4dh5l8aWjxfLqhI2VkDbTHbi7eMNHrLv6vcUvzfAr63UtPL0nTiI /tbEFH1YOkEjUkM3pkpx7tBfGtBCxkc3/YXeR7BYOG6qlciF5QmYQx3yOz4yxFxIqT gpYoknBEDsEhy/f3s7XEhbHyH9h3Hvc6ZV1iiFa/H+fFvUhQPT7uYPo5a5bAYFrtr5 qaoU/63J+oUdw== From: Yao Zi To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Yao Zi , Frank Wang , Andy Yan , Cristian Ciocaltea , Detlev Casanova , Shresth Prasad , Chukun Pan , Jonas Karlman Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] Support RK3528 variant of Rockchip naneng-combphy Date: Thu, 8 May 2025 13:43:28 +0000 Message-ID: <20250508134332.14668-2-ziyao@disroot.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250508_064413_040540_53A31097 X-CRM114-Status: UNSURE ( 7.99 ) 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 Rockchip RK3528 ships a naneng-combphy that operates in either PCIe or USB 3.0 mode. It has a similar control logic to previous generations of naneng-combphy but an apparently different register layout. This series prepares phy-rockchip-naneng-combphy.c for variants with a different register layout and add RK3528 support. Testing is done on both Radxa E20C and Radxa Rock 2A with downstream devicetree changes, both USB 3 and PCIe modes are verified with mainline driver and achives a reasonable link speed. The devicetree change (PATCH 5) depend on v5 of the SD/SDIO series ("Support SD/SDIO controllers on RK3528")[1] for a clean apply. Thanks for your time and review. [1]: https://lore.kernel.org/all/20250506092206.46143-1-ziyao@disroot.org/ Yao Zi (5): dt-bindings: soc: rockchip: Add RK3528 pipe-phy GRF syscon dt-bindings: phy: rockchip: naneng-combphy: Add RK3528 variant phy: rockchip: naneng-combphy: Add SoC prefix to register definitions phy: rockchip: naneng-combphy: Add RK3528 support arm64: dts: rockchip: Add naneng-combphy for RK3528 .../phy/phy-rockchip-naneng-combphy.yaml | 5 +- .../devicetree/bindings/soc/rockchip/grf.yaml | 1 + arch/arm64/boot/dts/rockchip/rk3528.dtsi | 23 + .../rockchip/phy-rockchip-naneng-combphy.c | 740 +++++++++++------- 4 files changed, 495 insertions(+), 274 deletions(-) -- 2.49.0