linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* voltage and current regulator framework: specifying negative voltages
@ 2011-04-12 11:08 Hennerich, Michael
  2011-04-12 15:21 ` Mark Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Hennerich, Michael @ 2011-04-12 11:08 UTC (permalink / raw)
  To: lrg@slimlogic.co.uk, broonie@opensource.wolfsonmicro.com
  Cc: linux-iio@vger.kernel.org,
	device-drivers-devel@blackfin.uclinux.org

Hi Mark and Liam,

I wonder why the voltage and current regulator framework doesn't support negative voltages.
We like to use the framework to specify bipolar reference voltages used with converters.
However in various places negative voltages are treated as error codes, thus causing the regulator to exit on probe.

As a workaround someone could say we specify positive and negative supply by label with absolute values and add the negative sign in the consumer driver.
However that doesn't work well, since the bipolar 'negative' supply may also occasionally be positive.

Thoughts?

Greetings,
Michael

--
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin, Margaret Seif


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-04-14 14:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-12 11:08 voltage and current regulator framework: specifying negative voltages Hennerich, Michael
2011-04-12 15:21 ` Mark Brown
2011-04-13 12:22   ` Michael Hennerich
2011-04-13 13:43     ` Liam Girdwood
2011-04-13 17:24       ` Mark Brown
2011-04-14 10:44         ` Michael Hennerich
2011-04-14 14:02           ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).