
Rockchip RK3588 / RK3588S
MIPI CSI-2 Driver Operation for RK3588 / RK3588S. Up to 6 cameras, D-PHY/C-PHY support.
- Up to 6 Simultaneous Cameras
- D-PHY / C-PHY Combo Support
- RKMODULE Interface Implementation
- High-Resolution Input Support
Rockchip RK3588 / RK3588S – MIPI CSI-2 Driver Operation
The RK3588 / RK3588S integrate two physical MIPI combo-PHYs (DPHY/CPHY) and four additional CSI-DPHY receivers (2-lane each). The PHY configuration allows for flexible camera input combinations. For example, one valid camera-input combination is 2 × D-PHY (full-DPHY mode) + 4 × CSI-DPHY (2-lane each), giving up to six simultaneous camera inputs (subject to ISP, memory bandwidth, and board wiring). Sensor drivers must implement the Rockchip-specific RKMODULE interface (power/clock/reset/ioctl). Device-tree nodes such as csi2_dphy0_hw (or equivalent for C-PHY) bind the sensor to a PHY, with properties: data-lanes <1 2 3 4> (or 2-lane variant), PHY mode (DPHY/CPHY), link-frequency up to 2.5 Gbps per lane (typical), and optional virtual-channel settings. Power sequencing is handled via regulator-gpio + reset GPIOs defined in DT. The media pipeline uses rkcif_mipi_dphy → rkcif_mipi_lvds (or rkcif_mipi_csi2) → ISP → memory or video output, depending on configuration. Depending on sensor resolution, link settings, and system resources, RK3588 can support high-resolution input (e.g. up to 48 MP stills) and multiple concurrent streams. However, claims of “4×4-lane + 2×CPHY” or “aggregate > 40 Gbps” as a generic bandwidth guarantee are invalid — actual usable throughput depends heavily on lane allocation, PHY mode, ISP + memory capability, and board design. Boards using RK3588 (e.g. Radxa Rock 5B, Orange Pi 5, Firefly ITX-3588J, etc.) demonstrate robust multi-camera support when configured correctly over device-tree, but require careful lane/PHY assignment and calibration.


