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 65309C7EE33 for ; Tue, 24 Jun 2025 04:53:34 +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=SYYl93WrQySVzNtSxPZymjB2JYqZSG/gcegsoxn4EDw=; b=ZjadWJGum1OTcu 2WlSDfDFrPrGL839u8te2z3qxyBHOD9f++l6OSekJObExxdQGevDOpVo6245Pk1XMTpTlYtxpSpIy IV1Q/3QfZC4Y/8IMzRk59f6YfmX9pQb7X1qW4vdk3cZdQfUJD2fTYMn7hGen4vm1P78J8q61dXWa3 58YvGC/WfisyJpoxC7SfKGEqli+RaBU4I9jJjdG0iCyrmDf8lN/FFKxykekXJ6FBErGKm0R8rL7B6 eA/nIeNKyrtY7s9rtIl/CemL7fEsoKSGU9JF2ao1mYes9bPSfBxCkWvPtGAeXD3Ep5Qqz7hWc/CXL jW6KONbAuHx7eStJanqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uTvf3-00000004dcK-3w9z; Tue, 24 Jun 2025 04:53:33 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uTuTq-00000004YgO-2nsb; Tue, 24 Jun 2025 03:37:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=V43htX1dGZaj3LjzLzN85N5YuxGq1AdyxzQaJKqWYic=; b=HuiGXwiiR5pT+KOrUmkVHwVB5L cJMm15hR1m2b4o+81SNqdJz2GaekAVJzDt30n3s+9jsFg2e1iDa1jHhhJD2Jw4YFAyi9/jGDkV04F nN8fTupuhTIGhcD1EzMfmtT3yahlGoFAwyNgkBXNg1iPclYIIs5HPh5x6i70dzXZPr0ojvDqNj83q NFPHdsLuQpiJEfh3Wr2PshFF044xvDDY46Y9q7Zk6xtQUhvJvtTKgKyDoQgzBQ5/XejX3E2cK3cQj /+x6bcpXWrM9alxn0ld/60Fsa2lz6RimHa78WUjWW24+hEirjmdL6nX9VO78Pt+5BuS7zcfakLgWZ wBhabtuw==; Received: from layka.disroot.org ([178.21.23.139]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uTuTn-00000005NSA-3U4s; Tue, 24 Jun 2025 03:37:53 +0000 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E821120731; Tue, 24 Jun 2025 05:37:48 +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 2-bGI4FkFAEs; Tue, 24 Jun 2025 05:37:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1750736268; bh=cpbZBwjbBZgHkRQ7AWaTRO0fpUi6AJxBeB+TW6Cfd6I=; h=From:To:Cc:Subject:Date; b=N/VwivIjCw02sOY60jg1xWpaSoEBSwLFCl2Adt/Md73nlOrSXxjEPxuvdNFaX3I7f YWi7W9Pyf+EKdZyldKUGELqQn0Q4Bj/a37syY96jRG73qcMVJRE9vHJS6rITNw7QbL 8Dt6F6o8VOX5mMRsjatHNbhT4M3J0P//f4HLLbV3SVkZvvy4A8+0zYhEl0Gm2FheXr PICqeXYzJuQHoqlvLc/NStYkj1EhwZrdsiT1qsgmYPW+QOy+DcE3RTo1EEbgqj9Ayv UaVMozfLmuORpuHKUev6EUb1ylno3ryD9GUxIu/sPsAeD1hi7j9QgPL9wUJxU7mw0J 7Q/hgTBb6C8lw== 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 v4 0/6] Support RK3528 variant of Rockchip naneng-combphy Date: Tue, 24 Jun 2025 03:37:27 +0000 Message-ID: <20250624033733.50197-1-ziyao@disroot.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250624_043752_037855_1F722E33 X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. 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 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. This series depends on v2 of patch "arm64: dts: rockchip: convert rk3528 power-domains to dt-binding constants"[1] to build. [1]: https://lore.kernel.org/all/20250620201715.1572609-1-heiko@sntech.de/ Changed from v3 - Add a dt-binding patch to allow power-domains property when describing Rockchip naneng combphys - devicetree patch - Break down long lines - Sort properties to keep the style consistent - Add power-domains property to the combphy node - Link to v3: https://lore.kernel.org/linux-rockchip/20250519161612.14261-1-ziyao@disroot.org/ Changed from v2 - phy binding patch - Fix format issue - drop review tags - Link to v2: https://lore.kernel.org/all/20250509004121.36058-2-ziyao@disroot. org/ Changed from v1 - Collect review tags - Restyle RK3528 register definitions in the combphy driver - Drop unused include of phy.h in SoC devicetree - Link to v1: https://lore.kernel.org/all/20250508134332.14668-2-ziyao@disroo t.org/ Yao Zi (6): dt-bindings: soc: rockchip: Add RK3528 pipe-phy GRF syscon dt-bindings: phy: rockchip: naneng-combphy: Add power-domains property 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 | 8 +- .../devicetree/bindings/soc/rockchip/grf.yaml | 1 + arch/arm64/boot/dts/rockchip/rk3528.dtsi | 24 + .../rockchip/phy-rockchip-naneng-combphy.c | 746 +++++++++++------- 4 files changed, 505 insertions(+), 274 deletions(-) -- 2.49.0 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy