lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADomA4-xTcPyFcX_qCYJwoi7y5vfYmzOfF9iO5MKgEzZdpbJCQ@mail.gmail.com>
Date: Fri, 6 Dec 2024 13:54:39 +0100
From: Philippe Simons <simons.philippe@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: Liam Girdwood <lgirdwood@...il.com>, Chen-Yu Tsai <wens@...e.org>, 
	"open list:VOLTAGE AND CURRENT REGULATOR FRAMEWORK" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] regulator: axp20x: AXP717: set ramp_delay

On Fri, Dec 6, 2024 at 1:48 PM Mark Brown <broonie@...nel.org> wrote:
>
> On Fri, Dec 06, 2024 at 01:37:51PM +0100, Philippe Simons wrote:
> > AXP717 datasheet says that regulator ramp delay is 15.625 us/step,
> > which is 10mV in our case.
>
> >  static const struct regulator_desc axp717_regulators[] = {
> > +     AXP_DESC_RANGES_DELAY(AXP717, DCDC1, "dcdc1", "vin1",
> > +                     AXP717_DCDC_OUTPUT_CONTROL, BIT(0), 640),
>
> This doesn't seem to match with the above - ramp_delay is in units of
> uV/us?

15.625 us / 10mV = 1.5625 us/mV = 0.0015625 us/uV
0.0015625^-1 = 640 uV/us

Or did I miss too many math lessons...

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ