[PATCH 01/15] mfd: add new driver for Sharp LoCoMo
dbaryshkov at gmail.com
Fri Nov 14 07:30:22 PST 2014
2014-11-14 18:10 GMT+03:00 Mark Brown <broonie at kernel.org>:
> On Fri, Nov 14, 2014 at 04:47:00PM +0400, Dmitry Eremin-Solenikov wrote:
>> I'm actually looking at the regulator interface. Since this DAC serves mostly
>> like a (semi-)constant voltage interface, would it be rather logical to use
>> regulator subsystem to drive it?
> Possibly... it's mostly a function of what the consumers of the
> functionality look like - if that code looks weird calling into the
> regulator API then it's bad, if that code looks OK it's fine. I haven't
> looked at the hardware at all so don't have strong feelings either way
> so long as the result looks tasteful.
The DAC is used in backlight driver (control brightness) and in ASoC
machine driver (master joined volume).
With best wishes
More information about the linux-arm-kernel