On 19/05/2020 09:21, Sakari Ailus wrote: > Document media bus codes on serial busses. The single sample per pixel > variant is to be chosen from all the possible variants. While this has > been the practice since the introduction of CSI-2 support, it never was > written down. Do it now. > > Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> > --- > Documentation/driver-api/media/csi2.rst | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/driver-api/media/csi2.rst b/Documentation/driver-api/media/csi2.rst > index da8b356389f0..af078ac927bd 100644 > --- a/Documentation/driver-api/media/csi2.rst > +++ b/Documentation/driver-api/media/csi2.rst > @@ -10,6 +10,16 @@ the host SoC. It is defined by the `MIPI alliance`_. > > .. _`MIPI alliance`: http://www.mipi.org/ > > +Media bus formats > +----------------- > + > +Always use single sample per pixel formats on the CSI-2 bus. > + > +No new media bus formats were created when the support for serial busses were busses -> buses (actually, both spellings are used in about equal measures in the kernel, but the official spelling is 'buses'). were -> was (the support was added, 'support' is singular) > +added. To avoid using different media bus codes to describe the same format, the > +practice is to use a format that has a single sample per pixel on the parallel > +bus. To be honest, I'm confused by this text. Probably because I don't know enough about CSI. I'm not really sure what you mean with 'single sample per pixel'. Regards, Hans > + > Transmitter drivers > ------------------- > >