From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755206AbcCPLoK (ORCPT ); Wed, 16 Mar 2016 07:44:10 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:4882 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101AbcCPLoI convert rfc822-to-8bit (ORCPT ); Wed, 16 Mar 2016 07:44:08 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Wed, 16 Mar 2016 04:42:38 -0700 Message-ID: <56E943E9.5020503@nvidia.com> Date: Wed, 16 Mar 2016 17:00:49 +0530 From: Laxman Dewangan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Mark Brown CC: Bjorn Andersson , , , , , , , , , , Gandhar Dighe , Stuart Yates Subject: Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior References: <1456756829-2277-1-git-send-email-ldewangan@nvidia.com> <20160229174751.GQ21240@tuxbot> <20160301022326.GC18327@sirena.org.uk> <56D5111E.6090606@nvidia.com> <20160302033833.GV18327@sirena.org.uk> <56D65F7E.3090907@nvidia.com> <20160302043506.GC18327@sirena.org.uk> <56E81103.8010903@nvidia.com> <20160315144822.GP2566@sirena.org.uk> In-Reply-To: <20160315144822.GP2566@sirena.org.uk> X-Originating-IP: [10.19.65.30] X-ClientProxiedBy: BGMAIL104.nvidia.com (10.25.59.13) To bgmail102.nvidia.com (10.25.59.11) Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 15 March 2016 08:18 PM, Mark Brown wrote: > * PGP Signed by an unknown key > > On Tue, Mar 15, 2016 at 07:11:23PM +0530, Laxman Dewangan wrote: > >> So here we will need two parameters: >> advertised-ramp-delay for PMIC configurations and >> ramp-delay which is measured one. >> Most of time, advertised-ramp-delay is same as ramp-delay and hence one >> value from DT will be sufficient. >> If there is difference then both value can be provided and >> advertised-ramp-delay will be used for PMIC configuration and rest of >> calculation about delay will be from ramp-delay. > This sounds more like the difference between typical and maximum spec > values than anything else, we are looking for maxima in Linux. > Maxim datasheet does not say about the typical/maximum. It has only one value and that is typical. However, it has note on the advertised values as: Note 20. During a soft-start event or 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 soft-start or DVS transition, reach the regulator’s current limit, the current limit will be enforced. When the current limit is enforced, the advertised transition rate (dV/dt) will not occur.