All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@iki.fi>
To: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Cc: Linux Doc Mailing List <linux-doc@vger.kernel.org>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	linux-kernel@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
	Hans Verkuil <hans.verkuil@cisco.com>,
	Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>,
	laurent.pinchart@ideasonboard.com
Subject: Re: [PATCH v5 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec
Date: Fri, 6 Oct 2017 11:15:38 +0300	[thread overview]
Message-ID: <20171006081534.aomp7ymloe5y5m6a@valkosipuli.retiisi.org.uk> (raw)
In-Reply-To: <20171005092651.0d1a1f90@recife.lan>

Hi Mauro,

On Thu, Oct 05, 2017 at 09:26:51AM -0300, Mauro Carvalho Chehab wrote:
> > > > > +
> > > > > +	See :ref:`media_controller`.
> > > > > +
> > > > > +    MC-centric
> > > > > +	V4L2 hardware that requires a Media controller.
> > > > > +
> > > > > +	See :ref:`v4l2_hardware_control`.
> > > > > +
> > > > > +    Microprocessor
> > > > > +	An electronic circuitry that carries out the instructions
> > > > > +	of a computer program by performing the basic arithmetic, logical,
> > > > > +	control and input/output (I/O) operations specified by the
> > > > > +	instructions on a single integrated circuit.
> > > > > +
> > > > > +    SMBus
> > > > > +	A subset of I²C, with defines a stricter usage of the bus.
> > > > > +
> > > > > +    Serial Peripheral Interface Bus - SPI    
> > > > 
> > > > We don't have "Bus" in I²C, I'd leave it out here, too.  
> > > 
> > > I2C is a serial bus (and it is implemented as a bus inside the Kernel).
> > > Take a look at Documentation/i2c/summary.  
> > 
> > I don't disagree with that, but at the same time this is not related to my
> > suggestion.
> > 
> > "Bus" is not part of the abbreviation SPI, therefore we should not suggest
> > that here.
> 
> Ah, so you proposal here is just to replace:
> 
> 	Serial Peripheral Interface Bus - SPI    
> 
> To
> 	Serial Peripheral Interface - SPI    
> 
> Right? If so, it sounds OK.

Yes, please. That's exactly what I had in mind.

...

> > > > > +    V4L2 hardware
> > > > > +	A hardware used to on a media device supported by the V4L2
> > > > > +	subsystem.
> > > > > +
> > > > > +    V4L2 hardware control
> > > > > +	The type of hardware control that a device supports.
> > > > > +
> > > > > +	See :ref:`v4l2_hardware_control`.
> > > > > +
> > > > > +    V4L2 main driver
> > > > > +	The V4L2 device driver that implements the main logic to talk with
> > > > > +	the V4L2 hardware.
> > > > > +
> > > > > +	Also known as bridge driver.    
> > > > 
> > > > Is UVC driver a bridge driver? How about instead:  
> > > 
> > > Yes, sure: UVC driver is a bridge driver/main driver. It is the UVC driver
> > > that sends/receives data from the USB bus and send to the sensors.
> > > It also sends data via URB to the USB host driver, with, in turn send it
> > > to send to CPU (usually via DMA - although some USB drivers actually 
> > > implement direct I/O for short messages).
> > >   
> > > > Bridge and ISP drivers typically are V4L2 main drivers.  
> > > 
> > > We don't have a concept of an "ISP driver". Adding it sounds very  
> > 
> > I think we do have that roughly as much as we do have bridge driver. We
> > definitely also support devices that are called ISPs, therefore we do have
> > ISP drivers.
> 
> We have drivers for things implemented via ISP. However, right now,
> there's no distinction at the driver if the functionality is implemented
> on software (ISP) or in hardware. 
> 
> > 
> > > confusing, as an ISP hardware may actually implement different
> > > functions - so it ends by being supported by multiple drivers.  
> > 
> > Typically ISPs are controlled by a single driver as the sub-blocks in an
> > ISP usually can only be found in that very ISP.
> 
> I'm almost sure that this is not true for Exynos drivers. There are
> m2m drivers and normal drivers for the same ISP (doing different things,
> like format conversion, scaling, etc).

I don't know the Exynos hardware. There are exceptions but they tend to be
increasingly rare as extra memory hops hurt performance and increase power
consumption in common use cases.

If there is a split to multiple devices, then usually the first device is
CSI-2 receiver plus DMA (bridge) and the second is the ISP (i.e. where the
processing happens).

-- 
Regards,

Sakari Ailus
e-mail: sakari.ailus@iki.fi

  reply	other threads:[~2017-10-06  8:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-28 12:53 [PATCH v5 0/7] document types of hardware control for V4L2 Mauro Carvalho Chehab
2017-08-28 12:53 ` [PATCH v5 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec Mauro Carvalho Chehab
2017-08-29  7:47   ` Sakari Ailus
2017-08-29 13:07     ` Mauro Carvalho Chehab
2017-10-05  8:21       ` Sakari Ailus
2017-10-05 12:26         ` Mauro Carvalho Chehab
2017-10-06  8:15           ` Sakari Ailus [this message]
2017-10-05 18:39         ` Mauro Carvalho Chehab
2017-10-06  8:05           ` Sakari Ailus
2017-08-28 12:53 ` [PATCH v5 2/7] media: open.rst: better document device node naming Mauro Carvalho Chehab
2017-08-29  8:34   ` Sakari Ailus
2017-08-29  9:07     ` Mauro Carvalho Chehab
2017-08-28 12:53 ` [PATCH v5 3/7] media: open.rst: remove the minor number range Mauro Carvalho Chehab
2017-08-29  8:34   ` Sakari Ailus
2017-08-28 12:53 ` [PATCH v5 4/7] media: open.rst: document devnode-centric and mc-centric types Mauro Carvalho Chehab
2017-08-28 12:53 ` [PATCH v5 5/7] media: open.rst: Adjust some terms to match the glossary Mauro Carvalho Chehab
2017-08-28 12:54 ` [PATCH v5 6/7] media: videodev2: add a flag for MC-centric devices Mauro Carvalho Chehab
2017-08-28 12:54 ` [PATCH v5 7/7] media: open.rst: add a notice about subdev-API on vdev-centric Mauro Carvalho Chehab

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=20171006081534.aomp7ymloe5y5m6a@valkosipuli.retiisi.org.uk \
    --to=sakari.ailus@iki.fi \
    --cc=corbet@lwn.net \
    --cc=hans.verkuil@cisco.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=mchehab@s-opensource.com \
    --cc=ricardo.ribalda@gmail.com \
    /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.