Skip to content

IMX708 ccs and link frequency changes - #7605

Open
naushir wants to merge 5 commits into
raspberrypi:rpi-6.18.yfrom
naushir:imx708_ccs_link_freq
Open

IMX708 ccs and link frequency changes#7605
naushir wants to merge 5 commits into
raspberrypi:rpi-6.18.yfrom
naushir:imx708_ccs_link_freq

Conversation

@naushir

@naushir naushir commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread drivers/media/i2c/imx708.c Outdated
Comment thread drivers/media/i2c/imx708.c Outdated
Comment thread drivers/media/i2c/imx708.c Outdated
jailuthra and others added 5 commits September 8, 2026 14:49
…ites

Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
When the PLL is configured in DUAL_MODE (separate VT and OP trees) and
the sensor's FIFOs allow derating and/or overrating, the VT pixel rate
might be higher or lower than OP pixel rate.

Support such usecases by allowing an optional input for the target VT
pixel rate.

Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
Replace the PLL dividers and multipliers hard coded into the mode and link
frequency register lists with a call to the CCS PLL calculator, describing
the sensor clock tree limits from its manual. The pre-PLL dividers are
pinned to the values those register lists used, so the tree the calculator
arrives at is the one the driver has always programmed, which was confirmed
against every mode at every link frequency.
Give each mode an array of timings rather than one fixed set, so that
a mode can run faster when the link has the bandwidth for it. A mode
uses the higest link frequency timings specified.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Add timings for a 960MHz link frequency, which gives the full resolution
mode enough bandwidth to reach 30fps and roughly doubles the rate of the
binned modes.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
@naushir
naushir force-pushed the imx708_ccs_link_freq branch from 4f58560 to e8f0ba8 Compare September 8, 2026 14:32
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