devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: Bjorn Andersson <bjorn-UYDU3/A3LUY@public.gmane.org>,
	Bjorn Andersson
	<bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Liam Girdwood <lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Gandhar Dighe <gdighe-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Stuart Yates <syates-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior
Date: Thu, 31 Mar 2016 13:39:42 -0700	[thread overview]
Message-ID: <20160331203942.GV2350@sirena.org.uk> (raw)
In-Reply-To: <56FD7F07.7010404-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]

On Fri, Apr 01, 2016 at 01:18:23AM +0530, Laxman Dewangan wrote:
> On Friday 01 April 2016 12:52 AM, Mark Brown wrote:

> >So why doesn't the device end up configuring 100mV/us when asked for
> >50mv/us?  That's reasonably expected - the configured ramp rate is a
> >maximum rate given that this is used to limit inrush current.

> We did this to adjust device configuration to nearest higher side but this
> is not working well on some of cases.

> On same device, DCDC (SD) rails support 4 ramp configurations, 13.75mV/us,
> 27.5mV/us, 55mV/us and 100mV/us.

> HW team measured the  ramp time at 7.5mV/us when device configured at
> 27.5mV/uS.

> So as per above, it will be adjusted to 13.75mV/us (nearest higher side) for
> device configuration but this device need to configure for 27.5mV/us.

You're saying that the device is so bad at regulating the ramp rate that
it's not only failing to keep up with the desired ramp rate and capping
at whatever rate but it's also doing even worse if configured for a
slower rate?  That's not great, it sounds like it's doing the ramp
control via some sort of dead reckoning thing rather than by actually
ramping the voltage it's trying to regulate like it was asked to.

Is the error in the observed values a function of the capacitance that
we can calcuate here?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  parent reply	other threads:[~2016-03-31 20:39 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29 14:40 [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior Laxman Dewangan
     [not found] ` <1456756829-2277-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-02-29 14:40   ` [PATCH 2/2] regulator: " Laxman Dewangan
2016-02-29 17:47   ` [PATCH 1/2] regulator: DT: " Bjorn Andersson
2016-03-01  2:23     ` Mark Brown
     [not found]       ` <20160301022326.GC18327-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-03-01  3:48         ` Laxman Dewangan
     [not found]           ` <56D5111E.6090606-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-02  3:38             ` Mark Brown
2016-03-02  3:35               ` Laxman Dewangan
     [not found]                 ` <56D65F7E.3090907-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-02  4:35                   ` Mark Brown
2016-03-02  6:12                     ` Laxman Dewangan
2016-03-15 13:41                     ` Laxman Dewangan
     [not found]                       ` <56E81103.8010903-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-15 14:48                         ` Mark Brown
2016-03-16 11:30                           ` Laxman Dewangan
2016-03-19  4:31                       ` Bjorn Andersson
2016-03-19  8:35                         ` Laxman Dewangan
2016-03-30 13:29                           ` Laxman Dewangan
2016-03-30 18:16                             ` Mark Brown
2016-03-31  7:06                               ` Laxman Dewangan
2016-03-31 16:51                                 ` Mark Brown
     [not found]                                   ` <20160331165145.GF2350-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-03-31 17:13                                     ` Laxman Dewangan
     [not found]                                       ` <56FD5A9F.5050001-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-31 17:47                                         ` Mark Brown
     [not found]                                           ` <20160331174741.GO2350-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-03-31 17:47                                             ` Laxman Dewangan
2016-03-31 18:31                                               ` Mark Brown
     [not found]                                                 ` <20160331183130.GR2350-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-03-31 18:31                                                   ` Laxman Dewangan
2016-03-31 18:45                                                     ` Mark Brown
     [not found]                                                       ` <20160331184553.GS2350-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-03-31 18:39                                                         ` Laxman Dewangan
2016-03-31 18:59                                                           ` Mark Brown
     [not found]                                                             ` <20160331185945.GT2350-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-03-31 18:59                                                               ` Laxman Dewangan
2016-03-31 19:22                                                                 ` Mark Brown
2016-03-31 19:48                                                                   ` Laxman Dewangan
     [not found]                                                                     ` <56FD7F07.7010404-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-31 20:39                                                                       ` Mark Brown [this message]
     [not found]                                                                         ` <20160331203942.GV2350-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-04-01  7:15                                                                           ` Laxman Dewangan
2016-04-01 16:11                                                                             ` Mark Brown
     [not found]                                                                               ` <20160401161121.GZ2350-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-04-05  8:01                                                                                 ` Laxman Dewangan
     [not found]                                                                                   ` <570370E5.3070901-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-04-12  1:02                                                                                     ` Mark Brown
2016-04-12 13:29                                                                                       ` Laxman Dewangan
     [not found]                                                                                         ` <570CF822.4050002-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-04-13  6:53                                                                                           ` Mark Brown
2016-04-19 10:01                                                                                             ` Laxman Dewangan
2016-04-19 10:55                                                                                               ` Mark Brown
     [not found]                                                                                                 ` <20160419105545.GT3217-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-04-19 10:56                                                                                                   ` Laxman Dewangan
2016-04-19 15:47                                                                                                     ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160331203942.GV2350@sirena.org.uk \
    --to=broonie-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=bjorn-UYDU3/A3LUY@public.gmane.org \
    --cc=bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=gdighe-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=syates-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).