Hi Team,
We are using an NXP i.MX93 board. The NXP MIPI CSI-2 (2-lane) camera is working correctly.
We also tried connecting a Raspberry Pi Camera Module V1.0, which uses a CSI-2 2-lane interface. The corresponding camera driver has been installed in Linux, but the camera is not working and cannot be accessed.
Could you please help us identify the root cause? Is there any additional device tree configuration, driver modification, or MIPI CSI-2 compatibility requirement needed to support the Raspberry Pi camera on i.MX93?
Please let us know if any logs or debug information are required.
Thanks.
What you should check (practical debug checklist)
Step 1: Verify I2C basic communication
i2cdetect -y
dmesg | grep imx219 / ov5647
Key question:
Step 2: Check clock output
Confirm:
Step 3: Validate reset / power-down GPIO
Ensure DTS includes:
reset-gpios = <...>;
pwdn-gpios = <...>;
Test:
Step 4: Compare with working NXP camera DTS
Use:
OV5640 or AP1302 DTS from BSP
Compare:
endpoint
port
lane config
Step 5: Check media graph
media-ctl -p
Verify pipeline is complete.
Step 6: Confirm lane configuration
Mismatch examples:
data-lanes = <1 2>;
clock-lane = <0>;
Wrong config → no stream
Recommendation:
Option A (recommended for project):
Use NXP-validated camera module → saves weeks of bring-up
Option B (if must use RPi camera):
You need to:
Expect non-trivial effort