How to config dts for CPHY?

Recently, the CPHY module can only be lit occasionally, so I would like to ask you how to fill in the parameters in modex in CPHY mode, especially in VC mode. For example, my current SENSOR is configured as 3VC, and the speed of MIPI lane is 2.976G. line_length should be filled in as "4096 "or “4096x3”, and pix_clk_hz should be filled in as “4096x3072x30” or "4096x3072x30 x3 "?

hello 541449841,

it’s device tree property, phy_mode to configure a PHY mode.
please refer to developer guide, Individual Imaging Devices.

you may also check the reference CPHY sensor driver.
for example, $public_sources/kernel_src/hardware/nvidia/platform/t23x/common/kernel-dts/t234-common-modules/tegra234-camera-e3331-a00.dtsi

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.