Re: Question about the regulator driver

From: Mark Brown
Date: Fri Apr 06 2012 - 04:42:23 EST


On Thu, Apr 05, 2012 at 05:36:02PM -0700, Kim, Milo wrote:

> But charging termination voltage and charging current can be
> configurable in the charger operation.
> In that case, is it common to add regulator_ops for the charger ?
> Or is it better that charging parameters are set only in the power
> supply driver ?

I'd just do it as part of the power supply driver, these limits are
internal to the charger driver and so there's no real value in exporting
them.

Attachment: signature.asc
Description: Digital signature