Skip to content

media: imx708: Support configuring continuous clock from DT#7329

Merged
pelwell merged 1 commit intoraspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-imx708
Apr 27, 2026
Merged

media: imx708: Support configuring continuous clock from DT#7329
pelwell merged 1 commit intoraspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-imx708

Conversation

@6by9
Copy link
Copy Markdown
Contributor

@6by9 6by9 commented Apr 22, 2026

The driver was always using non-continuous clock mode. Add support for selecting continuous clock mode as well.

Draft pull request whilst I check with the requester that it does what is needed.

The driver was always using non-continuous clock mode.
Add support for selecting continuous clock mode as well.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@6by9 6by9 marked this pull request as ready for review April 27, 2026 10:46
@6by9
Copy link
Copy Markdown
Contributor Author

6by9 commented Apr 27, 2026

Confirmed to work. @naushir for review

@naushir
Copy link
Copy Markdown
Contributor

naushir commented Apr 27, 2026

LGTM

@pelwell
Copy link
Copy Markdown
Contributor

pelwell commented Apr 27, 2026

It all looks plausible, apart from the name. Are you adding continuous or non-continuous clock support?

@pelwell
Copy link
Copy Markdown
Contributor

pelwell commented Apr 27, 2026

To clarify, I see the comment that the patch adds continuous support, but the sense of the flag appears to be the other way round - either non-continuous or 0. How does this work?

@6by9
Copy link
Copy Markdown
Contributor Author

6by9 commented Apr 27, 2026

Register 0x3220 defaults to 0x01 for non-continuous clock. Our dtoverlays also set that flag but the driver used to ignore it.

This patch adds checking the flag from DT and setting 0x3220 to 0x00 if not set, or keeps it at 0x01 if it is set.

@pelwell
Copy link
Copy Markdown
Contributor

pelwell commented Apr 27, 2026

That makes (opposite) sense.

@pelwell pelwell merged commit 9c30fcd into raspberrypi:rpi-6.18.y Apr 27, 2026
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request May 1, 2026
kernel: staging: vc04_services: vchiq-mmal: validate component index in event_to_host_cb()
See: raspberrypi/linux#7327

kernel: tdo_panel: bcm27xx-gpu: Add dsi panel driver
See: raspberrypi/linux#7318

kernel: Change crop struct to match height for 16 by 9 mode
See: raspberrypi/linux#7328

kernel: media: imx708: Support configuring continuous clock from DT
See: raspberrypi/linux#7329

kernel: Display driver fixups
See: raspberrypi/linux#7332

kernel: fixup! gpiolib: Override gpiochip numbers with DT aliases
See: raspberrypi/linux#7341
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request May 1, 2026
kernel: staging: vc04_services: vchiq-mmal: validate component index in event_to_host_cb()
See: raspberrypi/linux#7327

kernel: tdo_panel: bcm27xx-gpu: Add dsi panel driver
See: raspberrypi/linux#7318

kernel: Change crop struct to match height for 16 by 9 mode
See: raspberrypi/linux#7328

kernel: media: imx708: Support configuring continuous clock from DT
See: raspberrypi/linux#7329

kernel: Display driver fixups
See: raspberrypi/linux#7332

kernel: fixup! gpiolib: Override gpiochip numbers with DT aliases
See: raspberrypi/linux#7341
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