lkml.org 
[lkml]   [2010]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] soc_camera: Add the ability to bind regulators to soc_camedra devices
On Tue, Nov 30, 2010 at 11:45:23AM +0100, Alberto Panizzo wrote:
> On lun, 2010-11-29 at 15:51 +0000, Mark Brown wrote:

> > Unless you're actively varying the voltages at runtime (as Guennadi
> > mentioned) I'd really expect the voltages to be handled by the regulator
> > constraints.

> This is sane thinking at a static board configuration. What if a single
> board have different deploying schemas where two different cameras can
> be placed on the same connector and these cameras have different voltage
> levels for core supply? This scenario will require two different
> constraints chosen at compile time -> two different kernel binaries.
> Otherwise constraints will always pick the minimum level and maybe this
> will not be enough.

The way I'd expect to see that handled is that the constraints would be
chosen when the module is detected, possibly by having a platform device
representing the assembly as a whole. There was someone working with
plugin modules doing something along those lines. I certainly wouldn't
expect the device itself to worry about this unless it was actively
doing something to manage the voltage.


\
 
 \ /
  Last update: 2010-11-30 12:07    [W:0.862 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site