All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org, laurent.pinchart@ideasonboard.com
Subject: Re: [PATCH v2 1/1] Documentation: media: Refer to mbus code documentation from CSI-2 docs
Date: Tue, 19 May 2020 12:17:38 +0300	[thread overview]
Message-ID: <20200519091738.GE20066@paasikivi.fi.intel.com> (raw)
In-Reply-To: <7f303ad0-305c-595c-dfdd-4d5a0dd85157@xs4all.nl>

Hi Hans,

On Tue, May 19, 2020 at 11:05:31AM +0200, Hans Verkuil wrote:
> On 19/05/2020 10:50, Sakari Ailus wrote:
> > The media bus codes to be used on serial busses are documented but there
> > was no reference from CSI-2 documentation. Add that now.
> > 
> > Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> > ---
> >  Documentation/driver-api/media/csi2.rst | 7 +++++++
> >  1 file changed, 7 insertions(+)
> > 
> > diff --git a/Documentation/driver-api/media/csi2.rst b/Documentation/driver-api/media/csi2.rst
> > index da8b356389f0..1653a51d2a6e 100644
> > --- a/Documentation/driver-api/media/csi2.rst
> > +++ b/Documentation/driver-api/media/csi2.rst
> > @@ -10,6 +10,13 @@ the host SoC. It is defined by the `MIPI alliance`_.
> >  
> >  .. _`MIPI alliance`: http://www.mipi.org/
> >  
> > +Media bus formats
> > +-----------------
> > +
> > +Always use the media bus pixel code that describes a parallel format that
> > +transfers a sample on a single clock cycle. See :ref:`v4l2-mbus-format` for more
> 
> How about: "transfers the pixel data as a single sample in one clock cycle"

The text is from mbus format documentation. Note that this might not be
pixel data; it may be metadata as well.

> 
> Possibly with an example: "So use e.g. MEDIA_BUS_FMT_SBGGR10_1X10 instead of
> MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE."

There's an example in mbus format documentation. I'm fine adding one here,
too, but the purpose of this bit is to mainly refer to mbus format
documentation. Mbus format documentation uses MEDIA_BUS_FMT_BGR888_1X24 and
MEDIA_BUS_FMT_BGR888_3X8 as the example.

-- 
Kind regards,

Sakari Ailus

  reply	other threads:[~2020-05-19  9:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19  8:50 [PATCH v2 1/1] Documentation: media: Refer to mbus code documentation from CSI-2 docs Sakari Ailus
2020-05-19  9:05 ` Hans Verkuil
2020-05-19  9:17   ` Sakari Ailus [this message]
2020-05-19  9:28     ` Hans Verkuil
2020-05-19 10:08       ` Sakari Ailus
2020-05-19 11:00         ` Hans Verkuil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200519091738.GE20066@paasikivi.fi.intel.com \
    --to=sakari.ailus@linux.intel.com \
    --cc=hverkuil@xs4all.nl \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.