Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1678907

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

From Waldemar Rymarkiewicz <waldemar.rymarkiewicz@gmail.com>
Newsgroups linux.kernel
Subject Re: Where to update regulator register with initial voltage set by HW
Date 2017-06-30 17:30 +0200
Message-ID <tY61Q-7aE-9@gated-at.bofh.it> (permalink)
References <tXBU7-4BD-23@gated-at.bofh.it> <tY1ER-4os-9@gated-at.bofh.it> <tY2rh-4Tg-23@gated-at.bofh.it> <tY33Y-5nU-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 30 June 2017 at 14:14, Mark Brown <broonie@kernel.org> wrote:
> 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.

Just want to understand well. "Physical read" means to read a register
value? or determine actual value another way? As Thomas mentioned in
previous email TPS65275 does not have a circuit to determine startup
voltage at least I cannot see this in the datasheet.

Data sheet: http://www.ti.com/lit/gpn/tps65273v

/Waldek

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Where to update regulator register with initial voltage set by HW Waldemar Rymarkiewicz <waldemar.rymarkiewicz@gmail.com> - 2017-06-29 09:20 +0200
  Re: Where to update regulator register with initial voltage set by HW Mark Brown <broonie@kernel.org> - 2017-06-30 12:50 +0200
    Re: Where to update regulator register with initial voltage set by HW Waldemar Rymarkiewicz <waldemar.rymarkiewicz@gmail.com> - 2017-06-30 13:40 +0200
      Re: Where to update regulator register with initial voltage set by HW Mark Brown <broonie@kernel.org> - 2017-06-30 14:20 +0200
        RE: Where to update regulator register with initial voltage set by  HW "Bartholomae, Thomas" <t.bartholomae@intel.com> - 2017-06-30 14:30 +0200
        Re: Where to update regulator register with initial voltage set by HW Waldemar Rymarkiewicz <waldemar.rymarkiewicz@gmail.com> - 2017-06-30 17:30 +0200

csiph-web