linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* generic-adc-battery volatge-to-percent formula
@ 2016-02-11 20:38 Belisko Marek
  2016-02-12  8:51 ` Pavel Machek
  0 siblings, 1 reply; 12+ messages in thread
From: Belisko Marek @ 2016-02-11 20:38 UTC (permalink / raw)
  To: Sebastian Reichel, Pavel Machek, Dr. H. Nikolaus Schaller
  Cc: Linux PM mailing list

Hi,

some time ago I did post series which added some conversion table from
voltage to percent for charging and discharging states [1] in
twl4030_madc driver. This approach was not accepted and we still want
to have something like that in kernel. We re-think re-thinking
original idea and also get reference where Pavel point us to formula
which could be used for computing voltage-to-percent conversion [2]

What about adding this formula as a default for the
voltage-to-percent-conversion to
the generic-adc-battery driver (and converting it to DT)? Would that
be a better solution than a table driven and twl4030 only driver?

[1] - http://www.serverphorums.com/read.php?12,1127548
[2] - https://lkml.org/lkml/2015/4/1/557

Many thanks.

BR,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-04-11 17:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-11 20:38 generic-adc-battery volatge-to-percent formula Belisko Marek
2016-02-12  8:51 ` Pavel Machek
2016-02-15  8:52   ` Belisko Marek
2016-02-15 11:53     ` Pavel Machek
2016-02-21 20:06       ` Sebastian Reichel
2016-02-21 20:36         ` H. Nikolaus Schaller
2016-02-21 21:12           ` Pavel Machek
2016-02-22  5:58             ` H. Nikolaus Schaller
2016-02-22 17:20               ` Sebastian Reichel
2016-10-24 12:34                 ` Pavel Machek
2016-10-24 13:09                   ` H. Nikolaus Schaller
2017-04-11 17:31                     ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).