[PATCH 0/4] media: synopsys: csi2rx: add support for rk3588 variant

From: Michael Riesch via B4 Relay

Date: Fri Mar 06 2026 - 09:11:27 EST


Habidere,

The Rockchip RK3588 features six MIPI CSI-2 receiver units:
- MIPI0: connected to MIPI DCPHY0
- MIPI1: connected to MIPI DCPHY1
- MIPI2: connected to MIPI DPHY0
- MIPI3: connected to MIPI DPHY0-1 (only with split DPHY0)
- MIPI4: connected to MIPI DPHY1
- MIPI5: connected to MIPI DPHY1-1 (only with split DPHY1)

The MIPI DCPHYs (at least the CSI-2 features of them) as well
as the split DPHY mode of the DPHYs are not yet supported by
mainline. However, we can already provide support for the
MIPI2 and MIPI4 units.

When support for the split DPHY mode is introduced, the DPHY
nodes should have the property
#phy-cells = <1>;
and the MIPI CSI-2 receiver nodes should have the property
phys = <&csi_dphy{0,1} {0,1}>;
in case the split mode is desired. Since this is a board
specific hardware design, the properties need to be changed
in the board device tree (or any overlays).

As reasonable default, however, we can define, e.g.,
#phy-cells = <0>;
and
phys = <&csi_dphy{0,1}>;
in the SoC device tree include.
This series introduces initial support for this default
configuration.

In a related note, the split DPHY allows for different
integrations of the MIPI CSI-2 receiver into the different
SoCs. Therefore, we introduce a separate compatible (and not
only a fallback compatible) in the DT bindings.

Looking forward to your comments!

Signed-off-by: Michael Riesch <michael.riesch@xxxxxxxxxxxxx>
---
Michael Riesch (4):
media: dt-bindings: rockchip,rk3568-mipi-csi2: add rk3588 compatible
media: synopsys: csi2rx: add support for rk3588 variant
arm64: dts: rockchip: add mipi csi-2 receiver nodes to rk3588
arm64: defconfig: enable designware mipi csi-2 receiver

.../bindings/media/rockchip,rk3568-mipi-csi2.yaml | 1 +
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 52 ++++++++++++++++++++++
arch/arm64/configs/defconfig | 1 +
drivers/media/platform/synopsys/dw-mipi-csi2rx.c | 3 ++
4 files changed, 57 insertions(+)
---
base-commit: 11439c4635edd669ae435eec308f4ab8a0804808
change-id: 20260305-rk3588-csi2rx-a11f7c15a40a

Best regards,
--
Michael Riesch <michael.riesch@xxxxxxxxxxxxx>