From nobody Fri Apr 3 01:25:08 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D4C9439C658; Wed, 25 Mar 2026 10:25:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434335; cv=none; b=m+b/pfpAp4QgSha0OLZxbBCjzWCD1ejgtPEP+/PvVH9fjA9FEp5QhZIHvf+wzpCbY0gLXkYKC1aJ8HAK4KMd3OiAmEIwcdYPwEbB58pOGkHsp0PGp4OLL9lEGE2vvxx0xWOt9el8x+22a/elGhHK87YeMF5IabAq09nxvH6rNqU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434335; c=relaxed/simple; bh=0A+FO9I7wqWwUKymAMAGNR/lvQFbkwTdv/HUEYMMEm0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lED24hSkHFMvxHVdkkAo83lwkMgtqwst0yhucnuDbkXJYzoGCMRU0462/1WSlu99eFary3o7fMv7FVve+cPmm1j+76OdzggA0Y5aIzRPcrur5RFrBcQ8S2pNvWz1H8iemfDCFO29i3oKtmVxUiQtJVJIekxzhHV7PfS2VktOHNM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BiWuMChI; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BiWuMChI" Received: by smtp.kernel.org (Postfix) with ESMTPS id A9BF0C2BC9E; Wed, 25 Mar 2026 10:25:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774434335; bh=0A+FO9I7wqWwUKymAMAGNR/lvQFbkwTdv/HUEYMMEm0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=BiWuMChIMPl4158xNK3qhrBvdz3GDzOiualP1tZWZn3JO3J/10v4du0ZCBTlZHgzY AtqrTmd9gnSxtdS4b0x4cgYeAmE1nrCJgT0zsqVNXg+0E59apnHQtls59ziqJEGvgG I4qzO5bDSvUJ6pnfUlcBaarajcP4oarPfaUMdFKDNIrVdPNaV4xVn5s6a48N9tu/Sl lOS6CZ+ub3XD+xNv2gvaPrFE+lVCWkazXGY+BdOh4QmCAWGxROUD9rC7fcc+oHaIor xfLdHJYYxwNKHEscl9f3WQ/FuE6QuJdil6dr/vrsvNDYP/R6oXIuY31v0UngMZ6ruD WL2LF39hYBR1Q== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99CF2FEA83B; Wed, 25 Mar 2026 10:25:35 +0000 (UTC) From: Michael Riesch via B4 Relay Date: Wed, 25 Mar 2026 11:25:34 +0100 Subject: [PATCH v3 1/2] media: dt-bindings: rockchip,rk3568-mipi-csi2: add rk3588 compatible 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: quoted-printable Message-Id: <20260305-rk3588-csi2rx-v3-1-754473981f39@collabora.com> References: <20260305-rk3588-csi2rx-v3-0-754473981f39@collabora.com> In-Reply-To: <20260305-rk3588-csi2rx-v3-0-754473981f39@collabora.com> To: Mauro Carvalho Chehab , Sakari Ailus , Laurent Pinchart , Frank Li , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Kever Yang , Collabora Kernel Team Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Michael Riesch X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774434334; l=1172; i=michael.riesch@collabora.com; s=20250410; h=from:subject:message-id; bh=owyE6wPADpqjuuesWZuMBWZ6EdPbmZuvga8S3U6flcM=; b=vJ7Fc1HpYevNzycH9GPwR2MEat6rddJFIgnGVIbLdAj0wy70xJFjCv/94lQ+E3/1r18HOl2o5 GxIb0ohLW22C1BGoOMjeQ3ooDOv2wZ6VpNMUkuHoFsYYIePiWgB6LLK X-Developer-Key: i=michael.riesch@collabora.com; a=ed25519; pk=+MWX1fffLFZtTPG/I6XdYm/+OSvpRE8D9evQaWbiN04= X-Endpoint-Received: by B4 Relay for michael.riesch@collabora.com/20250410 with auth_id=371 X-Original-From: Michael Riesch Reply-To: michael.riesch@collabora.com From: Michael Riesch The RK3588 MIPI CSI-2 receivers are compatible to the ones found in the RK3568. Introduce a list of compatible variants and add the RK3588 variant to it. Acked-by: Rob Herring (Arm) Signed-off-by: Michael Riesch --- .../devicetree/bindings/media/rockchip,rk3568-mipi-csi2.yaml | 10 ++++++= +--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/media/rockchip,rk3568-mipi-c= si2.yaml b/Documentation/devicetree/bindings/media/rockchip,rk3568-mipi-csi= 2.yaml index 4ac4a3b6f406..3d3b3cd78884 100644 --- a/Documentation/devicetree/bindings/media/rockchip,rk3568-mipi-csi2.yaml +++ b/Documentation/devicetree/bindings/media/rockchip,rk3568-mipi-csi2.yaml @@ -16,9 +16,13 @@ description: =20 properties: compatible: - enum: - - fsl,imx93-mipi-csi2 - - rockchip,rk3568-mipi-csi2 + oneOf: + - const: fsl,imx93-mipi-csi2 + - const: rockchip,rk3568-mipi-csi2 + - items: + - enum: + - rockchip,rk3588-mipi-csi2 + - const: rockchip,rk3568-mipi-csi2 =20 reg: maxItems: 1 --=20 2.39.5 From nobody Fri Apr 3 01:25:08 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E4FEC39D6F4; Wed, 25 Mar 2026 10:25:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434336; cv=none; b=Q8W+928+a3ZkId8gFrEg6pavrz08DWDx5WG4oFGV2nRS2EV6SiUDmBb8HnjG6y7nsAzSJoGALBFCEz/Jdrj+x3wVtBlZ5qcphNOqAkMnprEr4/46McADmvS4EwkH0t/tSOka6UAHZqZYPskzFyigV1U5GhBhoCKSKZPH1VktEJk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434336; c=relaxed/simple; bh=eXpDdX/kQyDxNpLURS993lHyshWENbFjP5/yo5InZe4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qXamsWUd79WmVbUTyxk2fLqyAlZFKMgRsXK1tpybrkifDGr6ZGoMln/14Ldubkr3VZVI2sbBmowJ93Gz9CECAb1AA/SKI6AewCKyQ7Xha/U7k7N4mnijO3bZ0lwb5KYG5gHjL5tzQdewOUibGpPOzNkIlEI71L6WHxYN3KAU9XE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z6eYyiES; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z6eYyiES" Received: by smtp.kernel.org (Postfix) with ESMTPS id C03E1C2BCB4; Wed, 25 Mar 2026 10:25:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774434335; bh=eXpDdX/kQyDxNpLURS993lHyshWENbFjP5/yo5InZe4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Z6eYyiESvckSaaTv0qKMPPOIb+r1EBMMegIRq1Uz9cyWz89rEHUkeS+9+pBlPprzP qUXMfYeFI1q0z3JlZptW4zO7wJoDcD92GD5nMVOm5w9Q2aMH4XzTNf1YEj6wFl7aB3 drgMylG372bBWhtOfUK9hTIj97S0uo0tI+BjPcTsQrnrUzIqJwOBTWO7RtHBb8K30S w7MpJh13Hy83lil0oKIm0ckEcj3dLnFKFyQHZPPqlGLJnWeul117IJEGhT6gf4sRAS fO+fF6Q68v79sy8Rr1anfosS6IJj0zqrofIma85wX1YJDI3FVG3hLfp9FMXAfVfT3V nT2D5E9WufqNg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B181BFEA824; Wed, 25 Mar 2026 10:25:35 +0000 (UTC) From: Michael Riesch via B4 Relay Date: Wed, 25 Mar 2026 11:25:35 +0100 Subject: [PATCH v3 2/2] arm64: dts: rockchip: add mipi csi-2 receiver nodes to rk3588 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: quoted-printable Message-Id: <20260305-rk3588-csi2rx-v3-2-754473981f39@collabora.com> References: <20260305-rk3588-csi2rx-v3-0-754473981f39@collabora.com> In-Reply-To: <20260305-rk3588-csi2rx-v3-0-754473981f39@collabora.com> To: Mauro Carvalho Chehab , Sakari Ailus , Laurent Pinchart , Frank Li , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Kever Yang , Collabora Kernel Team Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Michael Riesch X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774434334; l=2503; i=michael.riesch@collabora.com; s=20250410; h=from:subject:message-id; bh=eOx/3+fLG0p1riU9lvyNxwYlp2uG1DyRr96Nkcj8cCQ=; b=88X1+5RPNBwR+aEH0UzzpSoiSmSWeI27iJXJWQAFUO8dGOUF6H/Zf+W/3eP25aduk7l+lu5ru yZ34GeKdCQaCpycS3z2fj6VaLtjSVGLZQN/xXBLTRgwgT7dSmVbqpio X-Developer-Key: i=michael.riesch@collabora.com; a=ed25519; pk=+MWX1fffLFZtTPG/I6XdYm/+OSvpRE8D9evQaWbiN04= X-Endpoint-Received: by B4 Relay for michael.riesch@collabora.com/20250410 with auth_id=371 X-Original-From: Michael Riesch Reply-To: michael.riesch@collabora.com From: Michael Riesch The Rockchip RK3588 features six MIPI CSI-2 receiver units: - MIPI0: connected to MIPI DCPHY0 (not supported) - MIPI1: connected to MIPI DCPHY1 (not supported) - MIPI2: connected to MIPI DPHY0 - MIPI3: connected to MIPI DPHY0-1 (not supported) - MIPI4: connected to MIPI DPHY1 - MIPI5: connected to MIPI DPHY1-1 (not supported) As the MIPI DCPHYs as well as the split DPHY mode of the DPHYs are not yet supported, add only the device tree nodes for the MIPI2 and MIPI4 units. Signed-off-by: Michael Riesch --- arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 52 +++++++++++++++++++++++= ++++ 1 file changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi b/arch/arm64/boo= t/dts/rockchip/rk3588-base.dtsi index 7fe9593d8c19..6c593b0255c3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi @@ -1430,6 +1430,58 @@ av1d: video-codec@fdc70000 { resets =3D <&cru SRST_A_AV1>, <&cru SRST_P_AV1>, <&cru SRST_A_AV1_BIU>, = <&cru SRST_P_AV1_BIU>; }; =20 + csi2: csi@fdd30000 { + compatible =3D "rockchip,rk3588-mipi-csi2", "rockchip,rk3568-mipi-csi2"; + reg =3D <0x0 0xfdd30000 0x0 0x10000>; + interrupts =3D , + ; + interrupt-names =3D "err1", "err2"; + clocks =3D <&cru PCLK_CSI_HOST_2>; + phys =3D <&csi_dphy0>; + power-domains =3D <&power RK3588_PD_VI>; + resets =3D <&cru SRST_P_CSI_HOST_2>; + status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + csi2_in: port@0 { + reg =3D <0>; + }; + + csi2_out: port@1 { + reg =3D <1>; + }; + }; + }; + + csi4: csi@fdd50000 { + compatible =3D "rockchip,rk3588-mipi-csi2", "rockchip,rk3568-mipi-csi2"; + reg =3D <0x0 0xfdd50000 0x0 0x10000>; + interrupts =3D , + ; + interrupt-names =3D "err1", "err2"; + clocks =3D <&cru PCLK_CSI_HOST_4>; + phys =3D <&csi_dphy1>; + power-domains =3D <&power RK3588_PD_VI>; + resets =3D <&cru SRST_P_CSI_HOST_4>; + status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + csi4_in: port@0 { + reg =3D <0>; + }; + + csi4_out: port@1 { + reg =3D <1>; + }; + }; + }; + vop: vop@fdd90000 { compatible =3D "rockchip,rk3588-vop"; reg =3D <0x0 0xfdd90000 0x0 0x4200>, <0x0 0xfdd95000 0x0 0x1000>; --=20 2.39.5