Skip to content

media: i2c: imx296: Add strobe outputs, controlled by module parameters - #7606

Merged
njhollinghurst merged 1 commit into
raspberrypi:rpi-6.18.yfrom
njhollinghurst:imx296-strobes
Sep 14, 2026
Merged

njhollinghurst merged 1 commit into
raspberrypi:rpi-6.18.yfrom
njhollinghurst:imx296-strobes

Conversation

@njhollinghurst

@njhollinghurst njhollinghurst commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Enable strobe outputs on IMX296's TOUT[12] pins. During (untriggered) streaming, this pair of pins generate +ve pulses for alternate frames. Pulse width and phase in scanlines (relative to XVS) are configurable using new parameters tout_width, tout_delay. When tout_width == 0, strobes will be disabled (this is the default).

@njhollinghurst
njhollinghurst requested a review from 6by9 September 4, 2026 14:04
@njhollinghurst

Copy link
Copy Markdown
Contributor Author

cc @simon-martin-rpi

@njhollinghurst

Copy link
Copy Markdown
Contributor Author

version 2: add the missing "fixed at 1" configuration bit; remove workaround.

@6by9 6by9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would have been tempted to move all the sync stuff out into a function, thereby only adding one line to the upstream imx296_stream_on function. Not critical though, so approved.

(Hmm, I see we're gaining a number of downstream features to this driver - time to clean them up and send them upstream).

@njhollinghurst
njhollinghurst marked this pull request as ready for review September 14, 2026 10:53
Enable strobe outputs on IMX296's TOUT[12] pins. During (untriggered)
streaming, this pair of pins generate +ve pulses for alternate frames.
Pulse width and phase in scanlines (relative to XVS) are configurable
using new parameters tout_width, tout_delay. When tout_width == 0,
strobes will be disabled (this is the default).

Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
@njhollinghurst
njhollinghurst merged commit 964d3a5 into raspberrypi:rpi-6.18.y Sep 14, 2026
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Sep 15, 2026
kernel: drm/mipi-dbi: display a cropped region of an oversized framebuffer
See: raspberrypi/linux#7589

kernel: media: i2c: imx296: Add strobe outputs, controlled by module parameters
See: raspberrypi/linux#7606

kernel: Correctly unbind CFE
See: raspberrypi/linux#7624

kernel: media/hevc_d: Do not reject slice header with bad ref_idx entries
See: raspberrypi/linux#7620
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Sep 15, 2026
kernel: drm/mipi-dbi: display a cropped region of an oversized framebuffer
See: raspberrypi/linux#7589

kernel: media: i2c: imx296: Add strobe outputs, controlled by module parameters
See: raspberrypi/linux#7606

kernel: Correctly unbind CFE
See: raspberrypi/linux#7624

kernel: media/hevc_d: Do not reject slice header with bad ref_idx entries
See: raspberrypi/linux#7620
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