Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755521AbcDLBCw (ORCPT ); Mon, 11 Apr 2016 21:02:52 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:33388 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754659AbcDLBCu (ORCPT ); Mon, 11 Apr 2016 21:02:50 -0400 Date: Tue, 12 Apr 2016 02:02:26 +0100 From: Mark Brown To: Laxman Dewangan Cc: Bjorn Andersson , Bjorn Andersson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Liam Girdwood , Stephen Warren , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Gandhar Dighe , Stuart Yates Message-ID: <20160412010226.GO3351@sirena.org.uk> References: <20160331184553.GS2350@sirena.org.uk> <56FD6ED6.3020507@nvidia.com> <20160331185945.GT2350@sirena.org.uk> <56FD7379.2000307@nvidia.com> <20160331192227.GU2350@sirena.org.uk> <56FD7F07.7010404@nvidia.com> <20160331203942.GV2350@sirena.org.uk> <56FE2009.4020302@nvidia.com> <20160401161121.GZ2350@sirena.org.uk> <570370E5.3070901@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sGwo475CiIwWEjLI" Content-Disposition: inline In-Reply-To: <570370E5.3070901@nvidia.com> X-Cookie: I invented skydiving in 1989! User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2987 Lines: 72 --sGwo475CiIwWEjLI Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 05, 2016 at 01:31:41PM +0530, Laxman Dewangan wrote: > On Friday 01 April 2016 09:41 PM, Mark Brown wrote: > >>As per datasheet, There is no direct equation for ramp time deviation w= hen > >>regulator output current cross the regulator current limit. > >OK, so it's really a current limit that's kicking in rather than a ramp > >rate control (though if it's a current limit I'm still not clear why the > >target rate limits where we cap)? Can we do something based on the > We are not having any control/configuration for this in this particular > observations. All are set at maximum and still seeing this deviation. I'm not sure how that follows from what I'm saying? I'm saying we know the limit, not that we can control the limit. > During a DVS transition, the regulators output current will increase by > COUT*dV/dt. In the event that the load current plus the additional current > imposed by the DVS transition, reach the regulator=92s current limit, the > current limit will be enforced. When the current limit is enforced, the > advertised DVS transition rate (dV/dt) will not occur. > Now there is not really equation that how it control dV/dt with required > current vs regulator=92s current limit current limit. I'm having a hard time tying this in with what you're saying. You're saying we have a predictable limit based on some hard maximum inrush current but we can't tell what that limit is? What I'd expect is that we'd get the spec limit up to some maximum and then cap out at that. > Working with HW team on LDO3 rail, we observed that Vendor recommend the > Cout to 2.2uF. With having this capacitor in rail, we meet the advertised > dv/dt i.e. 100mV/us. > In Our platform, we have used 2x4.7uF for signal conditioning and we > observed dv/dt went by half. > When we changed the output capacitor to 2.2uF, we get exactly what vendor > advertised. The charge rate of the capactior should be a spec thing for the capacitor shouldn't it? =20 > So can we derive the configured value from the ramp time (platform) and s= ome > multiplication factor? If this is not common way then probably maxim > specific as suggested by Bjorn. How can we use a multiple of the advertised limit if we can't tell what the limit is going to be? --sGwo475CiIwWEjLI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXDEkhAAoJECTWi3JdVIfQFlEH+wa32fM4T0XZ8vRpBB1g4vJV +RcXXf1VwoDspeL8CKmELlL6GOfYknfIUVSSPkaJyYNBhxveEOduGBq/vDgVveFu hiTuIagXNq6orsEP6gp7blkbsN0b4HzozQwuefWeeBSQ8wSD5bByrlSflk0a1aNv DciUvDHtNFapKhtXQqaQLgXijcSRSVtZT6KhuahytVLTo3JxE+GR1bu+r/SjzuAS YeeiLwnOgTI85I7EKR/jUhSP4Vdm9gQ9gNNVH9SLOoUMg+uKbY4Euv8ooJ+SzVP6 Sy0/sYMpQlyCVIBR4l+dL8vjDfa5wb49Cqh08Q/bdTfML2Cn2c0b7E33oof4cK4= =jYeE -----END PGP SIGNATURE----- --sGwo475CiIwWEjLI--