Re: [Regulator RFC] da903x: Where should usb charge pump support go?

From: Mark Brown
Date: Wed Oct 29 2008 - 08:31:44 EST


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.

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/