From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757006AbcCaRXo (ORCPT ); Thu, 31 Mar 2016 13:23:44 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:3326 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752251AbcCaRXm (ORCPT ); Thu, 31 Mar 2016 13:23:42 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Thu, 31 Mar 2016 10:21:54 -0700 Message-ID: <56FD5A9F.5050001@nvidia.com> Date: Thu, 31 Mar 2016 22:43:03 +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 , Bjorn Andersson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Liam Girdwood , "Bjorn Andersson" , Stephen Warren , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Gandhar Dighe , "Stuart Yates" Subject: Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior References: <56D5111E.6090606@nvidia.com> <20160302033833.GV18327@sirena.org.uk> <56D65F7E.3090907@nvidia.com> <20160302043506.GC18327@sirena.org.uk> <56E81103.8010903@nvidia.com> <56ED0F58.7060005@nvidia.com> <56FBD4A3.7080208@nvidia.com> <20160330181623.GQ2350@sirena.org.uk> <56FCCC60.3080303@nvidia.com> <20160331165145.GF2350@sirena.org.uk> In-Reply-To: <20160331165145.GF2350@sirena.org.uk> X-Originating-IP: [10.19.65.30] X-ClientProxiedBy: DRUKMAIL102.nvidia.com (10.25.59.20) To bgmail102.nvidia.com (10.25.59.11) Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 31 March 2016 10:21 PM, Mark Brown wrote: > * PGP Signed by an unknown key > > On Thu, Mar 31, 2016 at 12:36:08PM +0530, Laxman Dewangan wrote: >> On Wednesday 30 March 2016 11:46 PM, Mark Brown wrote: >>>> Like to add property as "regulator-device-ramp-delay" which will be used for >>>> PMIC configuration and regulator-ramp-delay will be used for delay >>>> calculation. This is case when advertised ramp delay does not match with the >>>> platform measured ramp delay. >>> Why -device? >> This is device specific and just to differentiate with regulator-ramp-delay >> which is the platform specific. >> May be there is some other good name. I can think of other name as >> regulator-typical-ramp-delay, regulator-advertised-ramp-delay etc. > So there's already a property you want to set, why are you not trying to > set that property? We need two properties, one what we measured in platform and second one for what we want to program PMIC. This is for the case where vendor advertised ramp delay is not same as measured due to platform design. Based on discussion, regulator-ramp-delay is for measured ramp delay in platform. So we will need another property for configuring PMIC.