[alsa-devel] [RFC PATCH 3/5] pxa: clean up the legacy SSP API

Eric Miao eric.y.miao at gmail.com
Wed Apr 29 04:18:32 CEST 2009


On Wed, Apr 29, 2009 at 7:06 AM, Daniel Ribeiro <drwyrm at gmail.com> wrote:
> Em Ter, 2009-04-28 às 23:20 +0100, Russell King - ARM Linux escreveu:
>> On Thu, Apr 23, 2009 at 01:06:12PM +0800, Eric Miao wrote:
>> > Actually, due to the number of possible SSP configurations, it's quite a
>> > difficult job to maintain an API that can be well re-used. The guideline
>> > here is to keep only a list of SSP devices and their basic information,
>> > and it's up to the user driver (like SPI or Audio SSP) to configure the
>> > SSP in a desired way.
>>
>> Hmm, the LX battery driver uses this API for its rudimentary battery
>> communication channel with the PCON.
>>
>> What are you suggesting as the replacement API?  Direct register access?
>
> The SPI subsystem?
>

Yeah, I looked into the patch a bit. It looks like the SSP configuration
falls into the SPI subystem quite well.


More information about the Alsa-devel mailing list