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


Groups > linux.kernel > #1358556

Re: NVMEM usage question

From Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Newsgroups linux.kernel
Subject Re: NVMEM usage question
Date 2016-03-16 08:00 +0100
Message-ID <rddB0-588-1@gated-at.bofh.it> (permalink)
References <rcztU-3yx-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 14/03/16 12:01, Eddie Huang wrote:
> Hi,
>
> Mediatek PMIC chip have some spare registers used to store information.
> The value of these registers will exist until user unplug battery or
> battery depletion. One of our usage example is store battery utilization
> in these spare registers. We want to implement NVMEM driver to
> read/write sparse registers, but binding document describe NVMEM is for
> "Non-volatile memory", and for hardware like eeprom, efuse. Since the
> usage here is some kind of "battery backup memory", but not real
> non-volatile memory, is NVMEM driver suitable for this case ?

If this battery usage information can be retrieved after full power 
cycle, then there should be some sort of non volatile memory involved.

If that's the case then you can use the nvmem.

--srini


>
> Eddie
>
>

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


Thread

NVMEM usage question Eddie Huang <eddie.huang@mediatek.com> - 2016-03-14 13:10 +0100
  Re: NVMEM usage question Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2016-03-16 08:00 +0100
  Re: NVMEM usage question Henrique de Moraes Holschuh <hmh@hmh.eng.br> - 2016-03-17 17:20 +0100

csiph-web