Re: [spi-devel-general] Accelerometer, Gyros and ADC's etc within the kernel.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jonathan Cameron
Date: Tuesday, May 27, 2008 - 10:59 am

Hi Anton
Good point. I guess it's going to be a while before we work out an 
anywhere near
exhaustive list of such events that we might want to be able to control.
I know that feeling!
Looking at the code (briefly admittedly, I'll have a closer look 
tomorrow) it looks like a nice simple and
effective interface. 

The question here, is what functionality of the system under discussion 
does it fulfill.  Again we are in the
territory of possibly having multiple drivers for a device depending on 
how it is being used in the kernel.
Not ideal, but may in fact be more maintainable in the long run.

The sysfs interface looks similar to that I was intending to implement, 
but obviously for your application you
don't need any of the buffering support etc and it makes sense to keep 
everything as simple as possible.

Perhaps if we aim to keep in mind the possibility of combining your ADC 
system with a more general
input device system, it may make sense to do so at a later stage. 

Anything I write is certainly going to share a considerable amount of 
functionality and approach with your code.
I'll keep these part in mind, as a the moment adding any component for 
testing involves me getting my soldering iron out
and I hate soldering!

Thanks.  I'll have a look at the stuff above and pester you if I need a 
more recent version.

Jonathan


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Accelerometer, Gyros and ADC's etc within the kernel., Jonathan Cameron, (Tue May 20, 3:04 am)
Re: Accelerometer, Gyros and ADC's etc within the kernel., Jonathan Cameron, (Wed May 21, 3:04 am)
Re: Accelerometer, Gyros and ADC's etc within the kernel., Dmitry Torokhov, (Wed May 21, 6:49 am)
Re: Accelerometer, Gyros and ADC's etc within the kernel., Henrique de Moraes H ..., (Wed May 21, 7:09 am)
Re: Accelerometer, Gyros and ADC's etc within the kernel., David Brownell, (Wed May 21, 5:52 pm)
Re: Accelerometer, Gyros and ADC's etc within the kernel., David Brownell, (Wed May 21, 5:53 pm)
Re: [spi-devel-general] Accelerometer, Gyros and ADC's etc ..., Jonathan Cameron, (Tue May 27, 10:59 am)
Re: [spi-devel-general] Accelerometer, Gyros and ADC's etc ..., Jonathan Cameron, (Tue May 27, 11:00 am)
Re: Accelerometer, Gyros and ADC's etc within the kernel., David Brownell, (Tue May 27, 4:42 pm)
Re: Accelerometer etc subsystem (Update on progress), Jonathan Cameron, (Thu Jun 26, 11:01 am)
Re: Accelerometer etc subsystem (Update on progress), Jonathan Cameron, (Thu Jun 26, 11:26 am)
Re: Accelerometer etc subsystem (Update on progress), Randy Dunlap, (Thu Jun 26, 7:39 pm)
Re: Accelerometer etc subsystem (Update on progress), Ben Nizette, (Thu Jun 26, 8:29 pm)