public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Agustin <gatoguan-os@yahoo.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Hans Verkuil <hverkuil@xs4all.nl>,
	Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH] v4l2-subdev: add a v4l2_i2c_new_dev_subdev() function
Date: Tue, 21 Apr 2009 02:36:59 -0700 (PDT)	[thread overview]
Message-ID: <182771.15423.qm@web32107.mail.mud.yahoo.com> (raw)


Hi,

--- On 21/4/09, Guennadi Liakhovetski <g.liakhovetski@gmx.de> wrote:
> Video (sub)devices, connecting to SoCs over generic i2c busses cannot 
> provide a pointer to struct v4l2_device in i2c-adapter driver_data, and 
> provide their own i2c_board_info data, including a platform_data field. 
> Add a v4l2_i2c_new_dev_subdev() API function that does exactly the same
> as v4l2_i2c_new_subdev() but uses different parameters, and make 
> v4l2_i2c_new_subdev() a wrapper around it.

[snip]

I am wondering about this ongoing effort and its pursued goal: is it to hierarchize the v4l architecture, adding new abstraction levels? If so, what for?

To me, as an eventual driver developer, this makes it harder to integrate my own drivers, as I use I2C and V4L in my system but I don't want them to be tightly coupled.

Of course I can ignore this "subdev" stuff and just link against soc-camera which is what I need, and manage I2C without V4L knowing about it. Which is what I do.

So, which is the point I am missing?

Regards,
--Agustín.

--
Agustin Ferrin Pozuelo
Embedded Systems Consultant
http://embedded.ferrin.org
Tel. +34 610502587

             reply	other threads:[~2009-04-21  9:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-21  9:36 Agustin [this message]
2009-04-21  9:45 ` [PATCH] v4l2-subdev: add a v4l2_i2c_new_dev_subdev() function Guennadi Liakhovetski
  -- strict thread matches above, loose matches on Subject: below --
2009-04-21 12:57 Hans Verkuil
2009-04-21 12:46 Agustin
2009-04-21 10:19 Hans Verkuil
2009-04-21 10:31 ` Guennadi Liakhovetski
2009-04-21  9:29 Hans Verkuil
2009-04-21  9:41 ` Guennadi Liakhovetski
2009-04-21  9:08 Hans Verkuil
2009-04-21  9:14 ` Guennadi Liakhovetski
2009-04-21  8:57 Guennadi Liakhovetski

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=182771.15423.qm@web32107.mail.mud.yahoo.com \
    --to=gatoguan-os@yahoo.com \
    --cc=g.liakhovetski@gmx.de \
    --cc=hverkuil@xs4all.nl \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox