Re: Where to update regulator register with initial voltage set by HW

From: Mark Brown
Date: Fri Jun 30 2017 - 08:15:09 EST


On Fri, Jun 30, 2017 at 01:37:32PM +0200, Waldemar Rymarkiewicz wrote:

> I am not sure if I understand. Do you mean, a regulator should
> determine a voltage and update a register with a right selector when
> system boots, so the regulator framework reading reg register knows
> actual voltage?

Just don't provide a default value for the cache, regmap will do a
physical read if there's nothing in the cache for that register and
everything will work transparently.

Attachment: signature.asc
Description: PGP signature