Regulator: Use case query (many devices need to reg their voltagerequirements?)

From: Jonathan Cameron
Date: Sat Jan 10 2009 - 10:27:58 EST


Dear All,

A quick request for comments w.r.t. specifying voltage requirements
of drivers that do not need to dynamically change their supply voltage.

Obviously for a given embedded system, it is possible to work out on
paper what regulator configuration works for all components connected to
a particular regulator as long as these connections are static.

A number of different embedded system now use main boards (core etc) in
conjunction with daughter boards. In these cases different modules may
be inserted to support different daughter board options from a single kernel
(and combinations if possible). Thus we have a situation in which the
appropriate voltage level can only be established if the various drivers
specify what they need. The board config may specify numerous devices
only some of which may actually be present.

This leads to additional complexity in numerous drivers as they have to act
as dynamic drivers (terminology from regulator docs) even though they don't
actually vary the voltage, merely specify what ranges they can work with.

Is this the best way to handle this situation, or do people have other
suggestions?

Thanks

Jonathan Cameron

--
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/