[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <208a81c87e944c69d95da85d7fd0f3ea2bd61547.camel@fi.rohmeurope.com>
Date: Tue, 18 Feb 2020 07:23:38 +0000
From: "Vaittinen, Matti" <Matti.Vaittinen@...rohmeurope.com>
To: "broonie@...nel.org" <broonie@...nel.org>
CC: "mazziesaccount@...il.com" <mazziesaccount@...il.com>,
"mark.rutland@....com" <mark.rutland@....com>,
"linus.walleij@...aro.org" <linus.walleij@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Mutanen, Mikko" <Mikko.Mutanen@...rohmeurope.com>,
"sre@...nel.org" <sre@...nel.org>,
"Laine, Markus" <Markus.Laine@...rohmeurope.com>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>
Subject: Re: [RFC PATCH 2/3] power: (regmap:) Add linear_range helper
Morning Mark,
On Fri, 2020-02-14 at 14:32 +0200, Matti Vaittinen wrote:
> On Fri, 2020-02-14 at 11:47 +0000, Mark Brown wrote:
> > On Wed, Feb 12, 2020 at 06:56:37AM +0000, Vaittinen, Matti wrote:
> > > On Tue, 2020-02-11 at 19:06 +0000, Mark Brown wrote:
> > > >
> >
> > It is a bit but I think that's solvable with some refactoring in
> > place
> > (eg, pushing things into a smaller struct embedded in the main
> > regulator
> > one and then moving them out). I might look at it myself if nobody
> > else
> > gets to it first...
>
> I need something like this in order to convert BD99954 current and
> voltage values to register values. I will happily use what-ever you
> do
> pull together - but if you don't feel like doing it now I might look
> at
> the regulator part while I am working with BD99954 anyways. Please
> just
> let me know if you want me to see if I can pull the range stuff out
> of
> regulator area.
Just to avoid duplicate work - I started working with this. Please let
me know if you are already working on it so I am not doing this in
vain.
By the way - do you have some nice test cases for regulators hidden
somewhere? If so, do you think you could share them? I sure have some
for BD718x7 but they are somewhat clumsy and require special HW. (I've
never liked unit-tests but I must admit there are some specific cases
where they would be pretty usable).
Best Regards,
Matti Vaittinen
Powered by blists - more mailing lists