2014-11-14 18:10 GMT+03:00 Mark Brown [off-list ref]:
On Fri, Nov 14, 2014 at 04:47:00PM +0400, Dmitry Eremin-Solenikov wrote:
quoted
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
Dmitry