Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753040Ab3H1Oi7 (ORCPT ); Wed, 28 Aug 2013 10:38:59 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:51182 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752349Ab3H1Oi5 (ORCPT ); Wed, 28 Aug 2013 10:38:57 -0400 Message-ID: <521E0B80.6040302@wwwdotorg.org> Date: Wed, 28 Aug 2013 08:38:56 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Johannes Thumshirn CC: Rob Landley , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Wim Van Sebroeck , Guenter Roeck , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: Re: [RFC][PATCH v2] documentation/devicetree: Move DT bindigns from gpio to watchdog References: <521672A1.6010202@wwwdotorg.org> <1377601837-18989-1-git-send-email-johannes.thumshirn@men.de> <521D1D16.9080106@wwwdotorg.org> <20130828062232.GA10368@jtlinux> In-Reply-To: <20130828062232.GA10368@jtlinux> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1952 Lines: 43 On 08/28/2013 12:22 AM, Johannes Thumshirn wrote: > On Tue, Aug 27, 2013 at 03:41:42PM -0600, Stephen Warren wrote: >> On 08/27/2013 05:10 AM, Johannes Thumshirn wrote: >>> I accidently put the devicetree bindings for the MEN A21 watchdog driver in >>> Documentation/devicetree/bindings/gpio instead of >>> Documentation/devicetree/bindings/watchdog, this patch addresses this error. >> >>> Changes to v1: >>> - Use named gpios, as suggested by Stephen Warren >> >> The move and the change to the binding should probably be separate >> patches since they're logically separate things. I didn't intend you to >> update the rename patch to fix the binding issue I pointed out. >> > > Oops. Looks like I've misunderstood you there. I'll re-send the rename patch > then. > >> Is the driver updated for this binding change? Are there DTs in released >> kernels that won't work now, or is the driver very new; there may be a >> need for the driver to support the old binding and the binding doc to >> document the old gpios property, but mark it deprecated. > > The driver is not yet updated, this is why I've sent it as an RFC. Are the > bindings acceptable this way? If yes I'll update the driver and re-send the > bindings with the driver as a new patch series. Well, XXX says: > GPIO properties should be named "[-]gpios" whereas in this patch, some of the renamed properties were "-gpio" rather than "-gpios". Aside from that, the new binding looks reasonable. However, I see that the existing binding will be released as part of v3.11. That implies that we should continue to support the old binding for compatibility. As such, I'm not convinced whether it's worth changing this binding now. -- 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/