Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3923

Camera board • Re: Which GPIO# is used for CAM_GPIO on MIPI port?

$
0
0
Sorry, you're providing enough information of either of your configurations.

How are you configuring the V4L2 driver? dummy-sensor from https://github.com/6by9/linux/tree/rpi- ... mmy-sensor?
dummy-sensor currently has no regulator hooks, so it will never enable the sensor. It can be added if needed.
If you're using a new sensor driver, that should have the regulator hooks.

I can't comment on how your dcraw is enabling the GPIO as you haven't linked to the source code or setup. I suspect it will be using something very similar to the camera_i2c script in raspiraw.
You could abuse the same camera_i2c script when using V4L2, but it's a bit of a bodge.
You are correct. we modified your camera_i2c code https://github.com/raspberrypi/raspiraw ... camera_i2c to drive the image sensors without using v4l2 driver before. I found the gpio control commands in it.

I'm now trying to modify the imx???-overlay.dtsi to enable the power supply. Is this correct way?

Thank you for your time. I'm almost reaching the correct solution.

Statistics: Posted by sohonomura2020 — Fri May 10, 2024 6:16 am



Viewing all articles
Browse latest Browse all 3923

Trending Articles