From nobody Tue Dec 16 13:24:08 2025 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27276227E99; Thu, 8 May 2025 13:53:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746712412; cv=none; b=Kot0wZz8gj016WyUju3dOuiasH++7ChjX8VWWjkMscQAo8RD4ZbwSFEb3LKStlPAofERfYeehDZNqOjEoPKGLGa3SoFiOpc+L16S7CsbnHa0GDkFxlGStqE1UCbAqvc4zZAjkswexDOpjEYb5aPyOofdJ7Icfrb3Zv+KEy12Ono= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746712412; c=relaxed/simple; bh=QswFB5tgp/GHNhRRoFGsejr8xzEI9y2/TqU4JZ05+W4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b7D66XjdeeqqkTayeMY+FpefSqYxubK/Rb8mEDwNSEmDBRlXYhVuCcLw32NpQyTJrtLu9xiubQnYQBTqsdqgsgLKMCUE+gY1sPcy1YkCLcG8uurqJgEqB9cgYpvwlN8aDJXjvlivkA+MaXmi3deGAkWFIANYXz8Dd66Q4HA7ODo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=CeX52Yag; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="CeX52Yag" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8B00C25A8D; Thu, 8 May 2025 15:53:29 +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 YET6xmJWoQyn; Thu, 8 May 2025 15:53:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1746712409; bh=QswFB5tgp/GHNhRRoFGsejr8xzEI9y2/TqU4JZ05+W4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=CeX52YagXDvSu71pGGBEbmeF1p/mtDUMN+KlqsHvYvgwPMJN4A5WM73QpGIWfYfFt /52NnZYOdSX8UjzkCMdiToGxP1+ohK8Wn1zKRydSd9oVcnVOamLfQnkpt3vEua9PSH vosGBvQ+qEb7dnrCP6G2LLg9RcFM1dBxOiVcIYves5SsRkPdhasv+XRN5FEdxdPOxl Xfq29IvWaiIByiA6X/iVvwRk3n7BfVlGdRpwoWfdkFbCuMBdyLorjoK9m7N4XqhE8d ktWs3QjYJbae1ZH4iTAF35r7mmb3M6re2Na4x86cy27zYogid0knJ1+3VN3aOUoNFi 8cnyZmmsBLRkw== 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 5/5] arm64: dts: rockchip: Add naneng-combphy for RK3528 Date: Thu, 8 May 2025 13:53:07 +0000 Message-ID: <20250508135307.14726-2-ziyao@disroot.org> In-Reply-To: <20250508134332.14668-2-ziyao@disroot.org> References: <20250508134332.14668-2-ziyao@disroot.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Rockchip RK3528 ships a naneng-combphy that is shared by PCIe and USB 3.0 controllers. Describe it and the pipe-phy grf which it depends on. Signed-off-by: Yao Zi --- arch/arm64/boot/dts/rockchip/rk3528.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3528.dtsi b/arch/arm64/boot/dts= /rockchip/rk3528.dtsi index 68059c7d7e80..cd6b9ddb3345 100644 --- a/arch/arm64/boot/dts/rockchip/rk3528.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3528.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include #include =20 @@ -334,6 +335,11 @@ vpu_grf: syscon@ff340000 { reg =3D <0x0 0xff340000 0x0 0x8000>; }; =20 + pipe_phy_grf: syscon@ff348000 { + compatible =3D "rockchip,rk3528-pipe-phy-grf", "syscon"; + reg =3D <0x0 0xff348000 0x0 0x8000>; + }; + vo_grf: syscon@ff360000 { compatible =3D "rockchip,rk3528-vo-grf", "syscon"; reg =3D <0x0 0xff360000 0x0 0x10000>; @@ -698,6 +704,23 @@ dmac: dma-controller@ffd60000 { arm,pl330-periph-burst; }; =20 + combphy: phy@ffdc0000 { + compatible =3D "rockchip,rk3528-naneng-combphy"; + reg =3D <0x0 0xffdc0000 0x0 0x10000>; + #phy-cells =3D <1>; + clocks =3D <&cru CLK_REF_PCIE_INNER_PHY>, <&cru PCLK_PCIE_PHY>, + <&cru PCLK_PIPE_GRF>; + clock-names =3D "ref", "apb", + "pipe"; + assigned-clocks =3D <&cru CLK_REF_PCIE_INNER_PHY>; + assigned-clock-rates =3D <100000000>; + resets =3D <&cru SRST_PCIE_PIPE_PHY>, <&cru SRST_P_PCIE_PHY>; + reset-names =3D "phy", "apb"; + rockchip,pipe-grf =3D <&vpu_grf>; + rockchip,pipe-phy-grf =3D <&pipe_phy_grf>; + status =3D "disabled"; + }; + pinctrl: pinctrl { compatible =3D "rockchip,rk3528-pinctrl"; rockchip,grf =3D <&ioc_grf>; --=20 2.49.0