Re: Regulator: Use case query (many devices need to reg theirvoltage requirements?)

From: Mark Brown
Date: Sat Jan 10 2009 - 13:58:50 EST


On Sat, Jan 10, 2009 at 06:05:25PM +0000, Jonathan Cameron wrote:

> It maps fine, particularly as quite a few daughter boards have local (be
> it static)
> regulators to ensure clean supplies etc.

Note that there's a fixed voltage regulator driver in the tree for
handling those.

> > There will also be issues if the drivers are for chips
> > which have multiple software compatible variants with differing power
> > requirements.

> Yup, though in many cases they have different part numbers etc and can
> be handled via multiple
> driver registrations or alias provisions such as in i2c. This is how
> things like adc's with differing
> numbers of inputs depending on precise model are handled anyway.

That is doable but error prone, especially if doing something like
adding regulator support to an existing driver or when new parts come
out. Often the part numbers are only slight different (adding an
additional letter at the end of the day) which doesn't help.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/