From nobody Thu Apr 9 18:48:02 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 41A1938F222; Fri, 6 Mar 2026 14:09:51 +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=1772806191; cv=none; b=MeDsDP5m1PSXndHyYqQO989A0UQnN2wLDOSs1t0YscsnbWsnk/eKIfp93p++3iIpnHZEn6HTX1a/apmLtRi4v1p42vNPjozxY/jnDFnbPlWAFrIXNkM0pvqd0ZqBvS80+SwaGQqOWCCIWi9OXeKcwEYJRpInd+oVPk/RvNwVrv0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772806191; c=relaxed/simple; bh=gIBjp+nEWyQ6Tzdv1YdCDr7QeXAuAaANsNOCOZxPtD4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JBQQY+oAXYFRYtZwu9DD+J92pbwoDgPHnAELc5DtwxrCa58cgfWSQ0QFNkiXFra6fA+ZiltQh2R//qjD/RG0YMjO5Hd27xdbMbz20lVc2sLmQu8KoYWdpgwXHN02jmcieDuWBLySfKqvjxJwczyxiT2mdr0iXT1iwdD2rzYHuI4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U0erYvcF; 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="U0erYvcF" Received: by smtp.kernel.org (Postfix) with ESMTPS id 1C1DDC2BCB2; Fri, 6 Mar 2026 14:09:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772806191; bh=gIBjp+nEWyQ6Tzdv1YdCDr7QeXAuAaANsNOCOZxPtD4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=U0erYvcFu3ppplWHuuQWQvTMpEbu0OwumzP3evb3PCy6U3trgxqKZTCb032l17HlC HaMniXvUa0mzdNdaJcov/zTATXIWGIRoilN25g43SYoh1pGYKXrETTCqFIyjUKGt2S aR0dJSyW7lztpHVg/H0WWErr/KUsgLu2lecxDITnR+bX8eb2RJp7AenWbPc0wU6r+5 qK6CDRS8QuYYBvKKDav6ohbnY7Wk0bRAQqyn3ESPZ4hlt3IsikHaC9IGTAVoIvpxWg p17Z7R2WVnDmwTD3PE264WXStXrOjBihnlBIn/Q3LQcryn0szgxLA5yJA08Q11wWss Q8LoIuHZ/RhyA== 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 072B2F0181F; Fri, 6 Mar 2026 14:09:51 +0000 (UTC) From: Michael Riesch via B4 Relay Date: Fri, 06 Mar 2026 15:09:50 +0100 Subject: [PATCH 3/4] 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-v1-3-0cd8d2bf28c0@collabora.com> References: <20260305-rk3588-csi2rx-v1-0-0cd8d2bf28c0@collabora.com> In-Reply-To: <20260305-rk3588-csi2rx-v1-0-0cd8d2bf28c0@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=1772806189; l=2445; i=michael.riesch@collabora.com; s=20250410; h=from:subject:message-id; bh=Muw10Ob2mbGv5nQmZECuxfL28AD/N1oGV2Lsi4zIYF0=; b=LX+dHfueGExnbTDu2GSTbC3J+jUUEGHc97BFsIBTk37tt39CQpWqe10V7wXEZ7tg+9VadLH3Y Z97bCC5DfQKCXAlYdri8R7JygV3vsCwqB1YqHu14aCoHT0b0G4eGh40 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..3bbd057ca504 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"; + 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"; + 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