Re: [PATCH v2] Add ltc3562 voltage regulator driver

From: Mark Brown
Date: Tue Nov 04 2014 - 14:48:55 EST


On Tue, Nov 04, 2014 at 02:35:50PM +0100, Mike Looijmans wrote:

> I still need help with one thing that isn't clear to me though. The DT is
> parsed when calling regulator_register. But then how do I fetch my "private"
> settings in there BEFORE the regulator gets enabled? The feedback resistors
> and regulator mode must be set to the correct board before the output is
> enabled, otherwise it may damage the chip and its periferals.

Add a callback for this. Javier and/or Krzysztof were looking at this
for some other stuff, though I think they were intending to add core
functionality for their specific feature.

Attachment: signature.asc
Description: Digital signature