From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764675AbdEAQmd (ORCPT ); Mon, 1 May 2017 12:42:33 -0400 Received: from mail-pg0-f46.google.com ([74.125.83.46]:33301 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764307AbdEAQm3 (ORCPT ); Mon, 1 May 2017 12:42:29 -0400 Date: Mon, 1 May 2017 09:42:27 -0700 From: Matthias Kaehlcke To: Mark Brown Cc: Laxman Dewangan , Liam Girdwood , Rob Herring , Mark Rutland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Douglas Anderson , Brian Norris Subject: Re: [PATCH] regulator: Allow for asymmetric settling times Message-ID: <20170501164227.GU128305@google.com> References: <20170429000643.56407-1-mka@chromium.org> <59044881.7090901@nvidia.com> <20170430123001.iwauodtjkbnmjmsl@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170430123001.iwauodtjkbnmjmsl@sirena.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark and Laxman, thanks for your comments. El Sun, Apr 30, 2017 at 09:30:01PM +0900 Mark Brown ha dit: > On Sat, Apr 29, 2017 at 01:32:09PM +0530, Laxman Dewangan wrote: > > On Saturday 29 April 2017 05:36 AM, Matthias Kaehlcke wrote: > > > > -- regulator-settling-time-us: Settling time, in microseconds, for voltage > > > - change if regulator have the constant time for any level voltage change. > > > - This is useful when regulator have exponential voltage change. > > > +- regulator-settling-time-up-us: Settling time, in microseconds, for voltage > > > + increase if the regulator needs a constant time to settle after voltage > > > + increases of any level. This is useful for regulators with exponential > > > + voltage changes. > > > +- regulator-settling-time-down-us: Settling time, in microseconds, for voltage > > > + decrease if the regulator needs a constant time to settle after voltage > > > + decreases of any level. This is useful for regulators with exponential > > > + voltage changes. > > > Can we have regulator-settling-time-us also so if it is there then up/down > > same. > > If up/down different then separate properties can be used. > > Removing the existing binding would also break existing DTs using it > which we obviously don't want. I thought it might be ok in this case since the driver just landed. > I don't see any reason to even deprecate it, like Laxman says it's > nice and convenient for people with symmetric performance. Ok, I was 'concerned' about the redundancy, but if that is not seen as an issue I'm happy to just add the new properties. I'll send an updated patch soon. Thanks Matthias