Commit 16be18d7 authored by Sakari Ailus's avatar Sakari Ailus Committed by Hans Verkuil

media: Documentation: LP-11 and LP-111 are states, not modes

LP-11 and LP-111 are CSI-2 bus states, not modes. Fix this.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent cff18d8f
...@@ -91,8 +91,8 @@ where ...@@ -91,8 +91,8 @@ where
pixel rate on the camera sensor's pixel array which is indicated by the pixel rate on the camera sensor's pixel array which is indicated by the
:ref:`V4L2_CID_PIXEL_RATE <v4l2-cid-pixel-rate>` control. :ref:`V4L2_CID_PIXEL_RATE <v4l2-cid-pixel-rate>` control.
LP-11 and LP-111 modes LP-11 and LP-111 states
^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
As part of transitioning to high speed mode, a CSI-2 transmitter typically As part of transitioning to high speed mode, a CSI-2 transmitter typically
briefly sets the bus to LP-11 or LP-111 state, depending on the PHY. This period briefly sets the bus to LP-11 or LP-111 state, depending on the PHY. This period
...@@ -106,7 +106,7 @@ in software, especially when there is no interrupt telling something is ...@@ -106,7 +106,7 @@ in software, especially when there is no interrupt telling something is
happening. happening.
One way to address this is to configure the transmitter side explicitly to LP-11 One way to address this is to configure the transmitter side explicitly to LP-11
or LP-111 mode, which requires support from the transmitter hardware. This is or LP-111 state, which requires support from the transmitter hardware. This is
not universally available. Many devices return to this state once streaming is not universally available. Many devices return to this state once streaming is
stopped while the state after power-on is LP-00 or LP-000. stopped while the state after power-on is LP-00 or LP-000.
...@@ -117,11 +117,11 @@ transitioning to streaming state, but not yet start streaming. Similarly, the ...@@ -117,11 +117,11 @@ transitioning to streaming state, but not yet start streaming. Similarly, the
to call ``.post_streamoff()`` for each successful call of ``.pre_streamon()``. to call ``.post_streamoff()`` for each successful call of ``.pre_streamon()``.
In the context of CSI-2, the ``.pre_streamon()`` callback is used to transition In the context of CSI-2, the ``.pre_streamon()`` callback is used to transition
the transmitter to the LP-11 or LP-111 mode. This also requires powering on the the transmitter to the LP-11 or LP-111 state. This also requires powering on the
device, so this should be only done when it is needed. device, so this should be only done when it is needed.
Receiver drivers that do not need explicit LP-11 or LP-111 mode setup are waived Receiver drivers that do not need explicit LP-11 or LP-111 state setup are
from calling the two callbacks. waived from calling the two callbacks.
Stopping the transmitter Stopping the transmitter
^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment