Skip to content

Conversation

@devashishraj
Copy link

@devashishraj devashishraj commented Dec 5, 2025

  • do static syntax check
    • gcc -E -nostdinc -undef -x assembler-with-cpp -I ./include arch/arm64/boot/dts/rockchip/overlay/rock-5t-radxa-camera-4k-on-cam0.dts
  • do preprocess check
    • gcc -E -nostdinc -undef -x assembler-with-cpp -I ./include arch/arm64/boot/dts/rockchip/overlay/rock-5t-radxa-camera-4k-on-cam0.dts > rock-5t-radxa-camera-4k-on-cam0.dts.preprocessed
  • compile
    • dtbs_check : could not figure this out , make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- dtbs_check takes a lot of time .
  • test camera
  • repeat for cam1 port

@devashishraj
Copy link
Author

@HeyMeco if dts file looks good , i would like to do further tests.

@HeyMeco
Copy link
Collaborator

HeyMeco commented Dec 5, 2025

@devashishraj Have you tried this on hw?
I will need to verify on mine sometime soon first

@devashishraj
Copy link
Author

@devashishraj Have you tried this on hw? I will need to verify on mine sometime soon first

i used following references ,

If it looks good by you i will try to compile and test on hw.

@HeyMeco
Copy link
Collaborator

HeyMeco commented Dec 5, 2025

For the future: Dont open PR's that could be broken. You can open draft PR's instead

@HeyMeco HeyMeco marked this pull request as draft December 5, 2025 16:30
@devashishraj
Copy link
Author

@HeyMeco , i tried hw testing but i ran into two types of error :

:~# dmesg | grep -i imx415
[   12.742879] platform csi2-dphy0: Fixed dependency cycle(s) with /i2c@feab0000/imx415@1a
[   13.061321] imx415 3-001a: driver version: 00.01.08
[   13.061351] imx415 3-001a:  Get hdr mode failed! no hdr default
[   13.061376] imx415 3-001a: detect imx415 lane 4
[   13.061464] imx415 3-001a: Failed to get power-gpios
[   13.061478] imx415 3-001a: could not get default pinstate
[   13.061487] imx415 3-001a: could not get sleep pinstate
[   13.061499] imx415 3-001a: Looking up dvdd-supply from device tree
[   13.061514] imx415 3-001a: Looking up dvdd-supply property in node /i2c@feab0000/imx415@1a failed
[   13.061563] imx415 3-001a: supply dvdd not found, using dummy regulator
[   13.061749] imx415 3-001a: Looking up dovdd-supply from device tree
[   13.061767] imx415 3-001a: Looking up dovdd-supply property in node /i2c@feab0000/imx415@1a failed
[   13.061797] imx415 3-001a: supply dovdd not found, using dummy regulator
[   13.061843] imx415 3-001a: Looking up avdd-supply from device tree
[   13.061856] imx415 3-001a: Looking up avdd-supply property in node /i2c@feab0000/imx415@1a failed
[   13.061885] imx415 3-001a: supply avdd not found, using dummy regulator
[   13.133879] imx415 3-001a: Detected imx415 id 0000e0
[   13.196082] imx415 3-001a: Consider updating driver imx415 to match on endpoints
[   13.196100] rockchip-csi2-dphy csi2-dphy0: dphy0 matches m00_f_imx415 3-001a:bus type 5
  • Failed to get power-gpios and pinctrl
  • regulators (DVDD / DOVDD / AVDD) not defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants