Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751829AbdCCGw4 (ORCPT ); Fri, 3 Mar 2017 01:52:56 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:33550 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751463AbdCCGwB (ORCPT ); Fri, 3 Mar 2017 01:52:01 -0500 Date: Fri, 3 Mar 2017 00:21:19 -0600 From: Rob Herring To: Milo Kim Cc: Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] Documentation: dt-bindings: Use generic property for hardware enable pins Message-ID: <20170303062119.kdogozkkhsvwewwa@rob-hp-laptop> References: <20170228075041.7568-1-milo.kim@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170228075041.7568-1-milo.kim@ti.com> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1347 Lines: 28 On Tue, Feb 28, 2017 at 04:50:40PM +0900, Milo Kim wrote: > With index usages, device specific properties can be replaced with generic > one. Vpos is index 0 and Vneg is index 1. > DT examples are added as well. > > Signed-off-by: Milo Kim > --- > .../bindings/regulator/lm363x-regulator.txt | 78 +++++++++++++++++++++- > 1 file changed, 76 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/regulator/lm363x-regulator.txt b/Documentation/devicetree/bindings/regulator/lm363x-regulator.txt > index 8f14df9d1205..cc5a6151d85f 100644 > --- a/Documentation/devicetree/bindings/regulator/lm363x-regulator.txt > +++ b/Documentation/devicetree/bindings/regulator/lm363x-regulator.txt > @@ -8,8 +8,8 @@ Required property: > > Optional properties: > LM3632 has external enable pins for two LDOs. > - - ti,lcm-en1-gpio: A GPIO specifier for Vpos control pin. > - - ti,lcm-en2-gpio: A GPIO specifier for Vneg control pin. > + - enable-gpios: Two GPIO specifiers for Vpos and Vneg control pins. > + The first entry is Vpos, the second is Vneg enable pin. You're breaking compatibility with existing DTBs. You need to explain that and why it is okay in the commit message. In this case, I don't think it is okay as this chip could be used across vendors' platforms. Rob