[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49085BA9.8050306@cam.ac.uk>
Date: Wed, 29 Oct 2008 12:48:41 +0000
From: Jonathan Cameron <jic23@....ac.uk>
To: Mark Brown <broonie@...ena.org.uk>
CC: Jonathan Cameron <Jonathan.Cameron@...il.com>,
Liam Girdwood <lrg@...nel.org>, felipe.balbi@...ia.com,
eric miao <eric.y.miao@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [Regulator RFC] da903x: Where should usb charge pump support
go?
Mark Brown wrote:
> On Wed, Oct 29, 2008 at 12:18:04PM +0000, Jonathan Cameron wrote:
>
>> ADC
>> Used partly for internal monitoring functionality, partly for
>> auxiliary inputs. The question on this is whether to implement
>> it as a hwmon driver (somewhat unusual form, but sort of fits)
>> or whether some of this is needed for feedback to the battery
>> charger code etc.
>
> For WM8350 this is implemented as a device-specific function in the
> driver core which is then used by other drivers to export the
> information to relevant subsystems.
Seems a sensible option. Can always put a hwmon driver on top of that
if people want the nice userspace interfaces etc.
> There was some work on a generic ADC framework that might be a better
> fit for the auxiliary inputs but I'm not sure where that's going ATM or
> if it's really appropriate.
That's probably me anyway (industrialio), it's stalled whilst I switch
my test platform to this driver and isn't really suitable for this
(unless someone wants to abuse the auxiliary adc inputs for general
purpose stuff).
It's focus (principally) is on fast capture from sensors by triggering events
(periodic timers / gpio / non periodic triggering schedules - haven't done
that one yet) rather than internal monitoring. Other such as input / hwmon
may be built on top of the underlying core, but that's not done yet.
As a quick and dirty progress report, the device handling side of things
is in place and working well. Current work is on generalizing the triggering
framework and working out how to handle the connectivity issues cleanly.
I did promise to post a release at the end of last week but have dropped
back a chunk as some 'minor' changes proved rather complex to do.
Jonathan
--
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