Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752553AbaDOJwA (ORCPT ); Tue, 15 Apr 2014 05:52:00 -0400 Received: from mail-oa0-f47.google.com ([209.85.219.47]:46674 "EHLO mail-oa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750972AbaDOJv4 (ORCPT ); Tue, 15 Apr 2014 05:51:56 -0400 MIME-Version: 1.0 In-Reply-To: <1397552145.29169.17.camel@AMDC1943> References: <1397462949-22379-1-git-send-email-k.kozlowski@samsung.com> <1397462949-22379-5-git-send-email-k.kozlowski@samsung.com> <20140414211106.GC12304@sirena.org.uk> <1397549539.29169.2.camel@AMDC1943> <1397552145.29169.17.camel@AMDC1943> Date: Tue, 15 Apr 2014 15:21:55 +0530 Message-ID: Subject: Re: [PATCH 4/4] regulator: s5m8767: Use same binding for external control as in s2mps11 From: Sachin Kamat To: Krzysztof Kozlowski Cc: Mark Brown , Sangbeom Kim , Liam Girdwood , Samuel Ortiz , Lee Jones , LKML , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "devicetree@vger.kernel.org" , linux-samsung-soc , Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Tomasz Figa Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15 April 2014 14:25, Krzysztof Kozlowski wrote: > On wto, 2014-04-15 at 14:02 +0530, Sachin Kamat wrote: >> On 15 April 2014 13:42, Krzysztof Kozlowski wrote: >> > On wto, 2014-04-15 at 13:26 +0530, Sachin Kamat wrote: >> >> On 15 April 2014 02:41, Mark Brown wrote: >> >> > On Mon, Apr 14, 2014 at 10:09:09AM +0200, Krzysztof Kozlowski wrote: >> >> > >> >> >> - - s5m8767,pmic-ext-control-gpios: (optional) GPIO specifier for one >> >> >> + - samsung,ext-control-gpios: (optional) GPIO specifier for one >> >> >> GPIO controlling this regulator (enable/disable); This is >> >> >> valid only for buck9. >> >> > >> >> > This is an incompatible change. It's OK to deprecate the old property >> >> > but it's bad form to just remove it. >> >> >> >> I agree with Mark. Also, there is no need to make it generic. >> > >> > I thought it would be good to make it consistent and to reduce the >> > number of bindings with same meaning on similar drivers. >> >> How about making the other one use "s5m8767,pmic-ext-control-gpios" >> compatible instead of introducing a new one? > > But then we would introduce semi-generic binding with a driver-specific > name. We can have a IP specific name (first IP to have this property) common across family of IPs. > > Anyway more drivers seem to use this kind of binding (tps65090, max8952, > da9055, arizona) so maybe there is a point in making this generic? In that case we could but probably not with samsung prefix. -- With warm regards, Sachin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/