29 Apr
2009
29 Apr
'09
1:20 a.m.
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?
Attached is the (entire) driver as it stands, which does need more work prior to submission (well, if the placement of the PCON I2C driver in initial patch set ever gets resolved.)