All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: "Aguirre Rodriguez, Sergio Alberto" <saaguirre@ti.com>
Cc: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>,
	"Tuukka.O Toivonen" <tuukka.o.toivonen@nokia.com>,
	Hiroshi DOYU <Hiroshi.DOYU@nokia.com>,
	"DongSoo(Nathaniel) Kim" <dongsoo.kim@gmail.com>,
	MiaoStanley <stanleymiao@hotmail.com>,
	"Nagalla, Hari" <hnagalla@ti.com>,
	"Hiremath, Vaibhav" <hvaibhav@ti.com>,
	"Lakhani, Amish" <amish@ti.com>, "Menon, Nishanth" <nm@ti.com>
Subject: Re: [RFC 0/5] Sensor drivers for OMAP3430SDP and LDP camera
Date: Wed, 4 Mar 2009 16:28:00 -0800	[thread overview]
Message-ID: <200903041628.00828.david-b@pacbell.net> (raw)
In-Reply-To: <A24693684029E5489D1D202277BE89442E296F97@dlee02.ent.ti.com>

On Wednesday 04 March 2009, Aguirre Rodriguez, Sergio Alberto wrote:
> 
> > I'd much rather see these drivers just use the regulator
> > framework to switch any sensor power rails on/off.
> 
> Hi,
> 
> Sounds interesting.
> 
> Is there any documentation on how to use this?

Documentation/DocBook/regulator.tmpl
Documentation/power/regulator/*

I don't quite know how clear that is; the framework is still
sorting itself out, a bit.  The 2.6.30 kernel has some updates
to programming interfaces, few of which should matter to any
sensor code ... sensors would be "consumers" in that framework,
calling regulator_get() and friends.

The tricksy bits would be coupling the regulators to the
sensor device nodes in the board-specfiic setup code.  At
some point I expect to see some cases where that setup needs
framework updates, but so far that hasn't happened.

- Dave



  reply	other threads:[~2009-03-05  0:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03 20:44 [RFC 0/5] Sensor drivers for OMAP3430SDP and LDP camera Aguirre Rodriguez, Sergio Alberto
2009-03-03 21:14 ` Aguirre Rodriguez, Sergio Alberto
2009-03-03 23:56   ` David Brownell
2009-03-03 23:56     ` David Brownell
2009-03-04 23:52     ` Aguirre Rodriguez, Sergio Alberto
2009-03-04 23:52       ` Aguirre Rodriguez, Sergio Alberto
2009-03-05  0:28       ` David Brownell [this message]
2009-03-03 22:47 ` Hans Verkuil
2009-03-03 23:16   ` Aguirre Rodriguez, Sergio Alberto
2009-03-04  7:14     ` Hans Verkuil
2009-03-04  5:43 ` stanley.miao
2009-03-04  5:46   ` Aguirre Rodriguez, Sergio Alberto
2009-03-04 15:40     ` Aguirre Rodriguez, Sergio Alberto

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=200903041628.00828.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=Hiroshi.DOYU@nokia.com \
    --cc=amish@ti.com \
    --cc=dongsoo.kim@gmail.com \
    --cc=hnagalla@ti.com \
    --cc=hvaibhav@ti.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=saaguirre@ti.com \
    --cc=sakari.ailus@maxwell.research.nokia.com \
    --cc=stanleymiao@hotmail.com \
    --cc=tuukka.o.toivonen@nokia.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.