lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F857F3F.5080701@cam.ac.uk>
Date:	Wed, 11 Apr 2012 13:55:27 +0100
From:	Jonathan Cameron <jic23@....ac.uk>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
CC:	Mark Brown <broonie@...nsource.wolfsonmicro.com>, mingo@...e.hu,
	linux-kernel@...r.kernel.org, Jonathan Cameron <jic23@...nel.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH RESEND] x86, intel_mid: ADC management

On 4/11/2012 1:30 PM, Alan Cox wrote:
>> needs to be abstracted as well.  Consumers might not care that the gain
>> just doubled because someone else requested it, but I suspect many of them will.
> At the bottom layer I'd expect a second consumer of the same data to get
> -EBUSY, but you are then going to tell me there are ADCs with one gain
> control for several channels no doubt 8)
yup.  If you can think of it, someone hardware guy will have implemented 
it! In this case
often comes down to the fact that most adcs are actually a mux on the 
front of a single
channel and the pga may be before the mux or after it (or for a laugh, 
sometimes both).

A real 'fun' one is devices that do scan reads.  That is you can only 
read certain combinations
of channels at a time and sometimes those combinations are far from 
obvious...
>
>
>> end up with most of IIO.  That's effectively what we did...   It's big
>> because there are
>> actually not that many 'simple' adc's out there.
> Fair enough - you would be the expert there.
I just wish they were all simple!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ