From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Laurent Pinchart <laurent.pinchart@skynet.be>,
video4linux-list@redhat.com,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"davinci-linux-open-source@linux.davincidsp.com"
<davinci-linux-open-source@linux.davincidsp.com>,
linux-kernel@vger.kernel.org
Subject: Re: v4l2_device/v4l2_subdev: please review (PATCH 1/3)
Date: Sat, 29 Nov 2008 20:08:44 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.64.0811292002300.8352@axis700.grange> (raw)
In-Reply-To: <200811291519.39549.hverkuil@xs4all.nl>
On Sat, 29 Nov 2008, Hans Verkuil wrote:
> > > +Introduction
> > > +------------
> > > +
> > > +The V4L2 drivers tend to be very complex due to the complexity of
> > > the +hardware: most devices have multiple ICs, export multiple
> > > device nodes in +/dev, and create also non-V4L2 devices such as
> > > DVB, ALSA, FB, I2C and input +(IR) devices.
> > > +
> > > +Especially the fact that V4L2 drivers have to setup supporting ICs
> > > to +do audio/video muxing/encoding/decoding makes it more complex
> > > than most. +Usually these ICs are connected to the main bridge
> > > driver through one or +more I2C busses, but other busses can also
> > > be used. Such devices are +called 'sub-devices'.
> >
> > Do you know of other busses being used in (Linux supported) real
> > video hardware, or is it currently theoretical only ?
>
> The pxa_camera driver is one example of that. Also devices driven by
> GPIO pins can be implemented this way. I did that in ivtv for example:
> most cards use i2c audio muxers, but some have audio muxers that are
> commanded through GPIO so I created a v4l2_subdev that uses GPIO to
> drive these chips. Works very well indeed.
I think pxa-camera (as well as sh-mobile-ceu and other soc-camera host
drivers in the works) is not a very good example here. Sensors connected
to embedded controllers like PXA indeed use a dedicated camera bus but
only for data exchange. This bus comprises of data and synchronisation
lines only. Sensors are still connected over an i2c bus for control and
configuration, also been open to other busses, I haven't seen such
examples as yet. I might have misunderstood what has been discussed here
though.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
next prev parent reply other threads:[~2008-11-29 19:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200811242309.37489.hverkuil@xs4all.nl>
2008-11-25 6:51 ` v4l2_device/v4l2_subdev: please review Trilok Soni
2008-11-25 7:10 ` Hans Verkuil
2008-11-25 7:27 ` Trilok Soni
2008-11-25 17:48 ` v4l2_device/v4l2_subdev: please review (PATCH 1/3) Hans Verkuil
2008-11-28 23:34 ` Laurent Pinchart
2008-11-29 14:19 ` Hans Verkuil
2008-11-29 19:08 ` Guennadi Liakhovetski [this message]
2008-11-30 13:58 ` Hans Verkuil
2008-11-29 19:46 ` David Brownell
2008-11-29 19:53 ` Hans Verkuil
2008-11-30 21:02 ` Laurent Pinchart
2008-11-30 21:40 ` Hans Verkuil
2008-11-25 17:48 ` v4l2_device/v4l2_subdev: please review (PATCH 2/3) Hans Verkuil
2008-11-25 17:49 ` v4l2_device/v4l2_subdev: please review (PATCH 3/3) 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=Pine.LNX.4.64.0811292002300.8352@axis700.grange \
--to=g.liakhovetski@gmx.de \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=hverkuil@xs4all.nl \
--cc=laurent.pinchart@skynet.be \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=video4linux-list@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®