[OLPC-devel] Re: ALSA interface for the analog input

Jordan Crouse jordan.crouse at amd.com
Tue Jul 11 10:26:09 EDT 2006


On 11/07/06 08:23 -0400, Jim Gettys wrote:
> > Based on the port IO sequence that Ray sent, I guess talking to the EC
> > will be through cs5536 GPIO (LPC). There's a cs5536 gpio driver that
> > shows up as a character device. The userspace app could use that
> > interface to talk to the EC.
> 
> Ah, I didn't understand how that worked.  Thanks.  I haven't gone
> through the 5536 manual in that level of detail.

The GPIO driver is fairly simple right now, but I'm sure we can hack on
it to add any additional complexity (filters, etc) that we need. An
inter-module API might be useful too if we want to bang on GPIOs from deep
within the kernel.

Jordan

-- 
Jordan Crouse
Senior Linux Engineer
Advanced Micro Devices, Inc.
<www.amd.com/embeddedprocessors>





More information about the Devel mailing list