Skip to content

Explicit CSI-2 LP-11 / LP-111 support

Sakari Ailus linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Documentation: v4l: Rework LP-11 documentation, add callbacksDocumentation/driver-api/media/tx-rx.rst+28 -120 replies
2/3v4l: subdev: Add pre_streamon and post_streamoff callbacksinclude/media/v4l2-subdev.h+25 -00 replies
3/3ccs: Implement support for manual LP controldrivers/media/i2c/ccs/ccs-core.c+45 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Explicit CSI-2 LP-11 / LP-111 support

Hi all,

Some receiver devices requires explicit support for transitioning transmitters to LP-11 or LP-111 state before starting streaming. As there's currently a single operation (s_stream()) callback to do that, there's no way for the receiver driver to differentiate between the two things.

This set adds two more callbacks, pre_streamon and post_streamon, to do exactly that. The usage on CSI-2 is to set the transmitter state to LP-11 or LP-111 (depending on the PHY) and thus allow reliable receiver initialisation.

The set also adds support for this in the CCS driver.

Sakari Ailus (3):
Documentation: v4l: Rework LP-11 documentation, add callbacks
v4l: subdev: Add pre_streamon and post_streamoff callbacks
ccs: Implement support for manual LP control

 Documentation/driver-api/media/tx-rx.rst | 40 ++++++++++++++-------
 drivers/media/i2c/ccs/ccs-core.c         | 45 ++++++++++++++++++++++++
 include/media/v4l2-subdev.h              | 25 +++++++++++++
 3 files changed, 98 insertions(+), 12 deletions(-)
Signature · 1 line
2.30.2