* Voltage scale, milli or micro?
@ 2013-03-04 18:17 Lars-Peter Clausen
2013-03-04 21:04 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Lars-Peter Clausen @ 2013-03-04 18:17 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: linux-iio@vger.kernel.org
Hi,
So according to our documentation the voltage channel scale is in
microvolts, but for some odd reason almost all drivers report the scale in
millivolts. In the IIO hwmon bridge we also have this comment "Assumes that
IIO and hwmon operate in the same base units. This is supposed to be true,
but needs verification for new channel types." and hwmon also uses
millivolts. So I'm wondering should we fix all our drivers to match the
specification or should we update the specification to match reality.
I would prefer the later.
- Lars
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Voltage scale, milli or micro?
2013-03-04 18:17 Voltage scale, milli or micro? Lars-Peter Clausen
@ 2013-03-04 21:04 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2013-03-04 21:04 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: linux-iio@vger.kernel.org
On 03/04/2013 06:17 PM, Lars-Peter Clausen wrote:
> Hi,
>
> So according to our documentation the voltage channel scale is in
> microvolts, but for some odd reason almost all drivers report the scale in
> millivolts. In the IIO hwmon bridge we also have this comment "Assumes that
> IIO and hwmon operate in the same base units. This is supposed to be true,
> but needs verification for new channel types." and hwmon also uses
> millivolts. So I'm wondering should we fix all our drivers to match the
> specification or should we update the specification to match reality.
> I would prefer the later.
>
Definitely go with updating the spec given nothing conforms to it anyway.
Guess we'll have to check that though.
Jonathan
> - Lars
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-04 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 18:17 Voltage scale, milli or micro? Lars-Peter Clausen
2013-03-04 21:04 ` Jonathan Cameron
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.