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 8CE3DD44D6F for ; Wed, 6 Nov 2024 13:55:50 +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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:References:To:From:Subject:Cc:Message-Id:Date:Mime-Version: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DRZiyeg8oUyzMRrIcod00Pje6PD5rQCpcA1q8Edjp2k=; b=C/JiZAmNAGD+TeHBR7MKXDVkT4 lhSuGiB9pjlZf1MrNMdLHD78VyoJihKjO6oomAkhno2Sy3TIPqDPPeIYKLZn0BWKZwyQjDF+yFjUP g4+x8z4cFnnlYlWDxMR9yx9vl+Mm7STkXSBWTlb3KBaPLuc0ZGjKR6fOBJfo9wufFx1baqGmODOf/ J9dzcdic4sc5xuXFUF8xOqZUWQJ/kD/pgsYGmRRt4HVB1C1d6lzOWBVELSZu9XE1c9d6EqiEAldXx w/TBZjQe+3GiQ9Og4G6Nead+woOkXjeVnOTxHV+BIhd7XjyS0jsgPFnxCwLyBXJj1bEkfXlgzV/3i uRlo5XMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t8gVe-00000003VYf-1ua8; Wed, 06 Nov 2024 13:55:46 +0000 Received: from out-174.mta0.migadu.com ([91.218.175.174]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t8gJy-00000003Srh-0Zsa for linux-rockchip@lists.infradead.org; Wed, 06 Nov 2024 13:43:44 +0000 Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1730900620; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KaeGzukjSkkdIXrI/sRrKa+8hdtWtX3cTAwGr+R/Sm4=; b=SLsnzVlC8dWSFPPdbsnuJcGZmSOiL8iSO7F5qRMO93o6+E5pEPed06GD8EF7pJ8tdipCnP cBVI61BME5zB+mvqd3sAA/J/4DSIDAUUB3GqebuDmO4O9YBnau6+006pQKdPu0Z0Hg7F2f AvXcqKdvMmFYMGGjlenQMJ2HSZn7lwZfoTqRpwX3VNjQc9aE6YZEiWjhinBgBdo2rmQ7an Mp9/Zvr5cVEVVJpntrbhHZwNHhWDkAwpOkGJoYZjxCnrTB0jbVgiMPifjhkkZc79s1Zfws zmf3kh6djxbkTomT/+J2m+PKqi46pBCgDVpypjPBqwFmuQcNHshU9Lnai65ABg== Date: Wed, 06 Nov 2024 14:43:36 +0100 Message-Id: Cc: , , , , , "Heiko Stuebner" Subject: Re: [PATCH 1/3] arm64: dts: rockchip: add mipi dcphy nodes to rk3588 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Diederik de Haas" To: "Heiko Stuebner" References: <20241106123758.423584-1-heiko@sntech.de> <20241106123758.423584-2-heiko@sntech.de> In-Reply-To: <20241106123758.423584-2-heiko@sntech.de> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241106_054342_412859_1D93BFB9 X-CRM114-Status: GOOD ( 14.21 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0274020315690170443==" Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org --===============0274020315690170443== Content-Type: multipart/signed; boundary=d325a75fd624665202bd836b8054801c6e1beb170779c0c55314142a3ace; micalg=pgp-sha256; protocol="application/pgp-signature" --d325a75fd624665202bd836b8054801c6e1beb170779c0c55314142a3ace Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Wed Nov 6, 2024 at 1:37 PM CET, Heiko Stuebner wrote: > From: Heiko Stuebner > > Add the two MIPI-DC-phy nodes to the RK3588, that will be used by the > DSI2 controllers and hopefully in some future also for camera input. > > Signed-off-by: Heiko Stuebner > --- > arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 42 +++++++++++++++++++ > 1 file changed, 42 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi b/arch/arm64/b= oot/dts/rockchip/rk3588-base.dtsi > index 51ba7563f7d0..8c95c56e8097 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi > @@ -576,6 +576,16 @@ sys_grf: syscon@fd58c000 { > reg =3D <0x0 0xfd58c000 0x0 0x1000>; > }; > =20 > + mipidcphy0_grf: syscon@fd5e8000 { > + compatible =3D "rockchip,rk3588-dcphy-grf", "syscon"; > + reg =3D <0x0 0xfd5e8000 0x0 0x4000>; > + }; > + > + mipidcphy1_grf: syscon@fd5ec000 { > + compatible =3D "rockchip,rk3588-dcphy-grf", "syscon"; > + reg =3D <0x0 0xfd5ec000 0x0 0x4000>; > + }; > + > vop_grf: syscon@fd5a4000 { > compatible =3D "rockchip,rk3588-vop-grf", "syscon"; > reg =3D <0x0 0xfd5a4000 0x0 0x2000>; > @@ -2878,6 +2888,38 @@ usbdp_phy0: phy@fed80000 { > status =3D "disabled"; > }; > =20 > + mipidcphy0: phy@feda0000 { > + compatible =3D "rockchip,rk3588-mipi-dcphy"; > + reg =3D <0x0 0xfeda0000 0x0 0x10000>; > + rockchip,grf =3D <&mipidcphy0_grf>; > + clocks =3D <&cru PCLK_MIPI_DCPHY0>, > + <&cru CLK_USBDPPHY_MIPIDCPPHY_REF>; > + clock-names =3D "pclk", "ref"; > + resets =3D <&cru SRST_M_MIPI_DCPHY0>, > + <&cru SRST_P_MIPI_DCPHY0>, > + <&cru SRST_P_MIPI_DCPHY0_GRF>, > + <&cru SRST_S_MIPI_DCPHY0>; > + reset-names =3D "m_phy", "apb", "grf", "s_phy"; > + #phy-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + mipidcphy1: phy@fedb0000 { > + compatible =3D "rockchip,rk3588-mipi-dcphy"; > + reg =3D <0x0 0xfedb0000 0x0 0x10000>; > + rockchip,grf =3D <&mipidcphy1_grf>; > + clocks =3D <&cru PCLK_MIPI_DCPHY1>, > + <&cru CLK_USBDPPHY_MIPIDCPPHY_REF>; > + clock-names =3D "pclk", "ref"; > + resets =3D <&cru SRST_M_MIPI_DCPHY1>, > + <&cru SRST_P_MIPI_DCPHY1>, > + <&cru SRST_P_MIPI_DCPHY1_GRF>, > + <&cru SRST_S_MIPI_DCPHY1>; > + reset-names =3D "m_phy", "apb", "grf", "s_phy"; > + #phy-cells =3D <0>; > + status =3D "disabled"; > + }; No power-domains property? RK3588 TRM v1.0 part 1 page 1097 has ALIVE(PD_BUS) for MIPI_DC_PHY0~MIPI_DC_PHY1 Cheers, Diederik > + > combphy0_ps: phy@fee00000 { > compatible =3D "rockchip,rk3588-naneng-combphy"; > reg =3D <0x0 0xfee00000 0x0 0x100>; --d325a75fd624665202bd836b8054801c6e1beb170779c0c55314142a3ace Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZytyjAAKCRDXblvOeH7b bn3bAP0a67joM+6d9CLYveao1RDKHB27FIWdlPfAWU00XESHxQD9EqDyGe3+QvqV XoBO2e1oqQ/iO4szViGc6LynQn/oGgk= =y9hB -----END PGP SIGNATURE----- --d325a75fd624665202bd836b8054801c6e1beb170779c0c55314142a3ace-- --===============0274020315690170443== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip --===============0274020315690170443==--