Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link freq Control for IMX519 and Arducam64MP #5841

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

ArduCAM
Copy link

@ArduCAM ArduCAM commented Jan 10, 2024

No description provided.

0,
arducam_64mp_link_freq_menu);
if (arducam_64mp->link_freq)
arducam_64mp->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're only needing the struct v4l2_ctrl for setting the READ_ONLY flag, then store it as a local to this function rather than in the sensor's state.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

ARRAY_SIZE(imx519_link_freq_menu) - 1, 0,
imx519_link_freq_menu);
if (imx519->link_freq)
imx519->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto to the above.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Lee Jackson added 2 commits January 10, 2024 17:44
Add V4L2_CID_LINK_FREQ as a read-only control with a value of 408 Mhz.
This will be used by the CFE driver to corretly setup the DPHY timing
parameters in the CSI-2 block.

Signed-off-by: Lee Jackson <[email protected]>
Add V4L2_CID_LINK_FREQ as a read-only control with a value of 456 Mhz.
This will be used by the CFE driver to corretly setup the DPHY timing
parameters in the CSI-2 block.

Signed-off-by: Lee Jackson <[email protected]>
@ArduCAM ArduCAM force-pushed the arducam_add_link_freq branch from 56ff947 to 5898017 Compare January 10, 2024 09:47
@6by9
Copy link
Contributor

6by9 commented Jan 10, 2024

LGTM - thanks for the updates.

You're right it did get added to imx477 back in Nov 2023. I can't find the PR for it, as I would have made the same comment had I seen the PR.

@pelwell
Copy link
Contributor

pelwell commented Jan 10, 2024

I can't find the PR for it,

It looks like it was a direct push.

@pelwell pelwell merged commit 5e339e1 into raspberrypi:rpi-6.1.y Jan 10, 2024
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jan 10, 2024
kernel: ARM: dts: bcm2712-rpi-5-b: Add eth_ledx parameters
See: raspberrypi/linux#5826

kernel: ARM: dts: bcm2712-rpi-5-b: Add fan speed dtparams
See: raspberrypi/linux#5822

kernel: drm/vc4: don't check if plane->state->fb == state->fb
See: raspberrypi/linux#5832

kernel: spi: bcm2835: Support spi0-0cs and SPI_NO_CS mode
See: raspberrypi/linux#5837

kernel: Add link freq Control for IMX519 and Arducam64MP
See: raspberrypi/linux#5841

kernel: watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling
See: raspberrypi/linux#5838
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jan 10, 2024
kernel: ARM: dts: bcm2712-rpi-5-b: Add eth_ledx parameters
See: raspberrypi/linux#5826

kernel: ARM: dts: bcm2712-rpi-5-b: Add fan speed dtparams
See: raspberrypi/linux#5822

kernel: drm/vc4: don't check if plane->state->fb == state->fb
See: raspberrypi/linux#5832

kernel: spi: bcm2835: Support spi0-0cs and SPI_NO_CS mode
See: raspberrypi/linux#5837

kernel: Add link freq Control for IMX519 and Arducam64MP
See: raspberrypi/linux#5841

kernel: watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling
See: raspberrypi/linux#5838
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.

3 participants