Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756752AbcJGSDe convert rfc822-to-8bit (ORCPT ); Fri, 7 Oct 2016 14:03:34 -0400 Received: from mail1.bemta5.messagelabs.com ([195.245.231.150]:59437 "EHLO mail1.bemta5.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757029AbcJGSBc (ORCPT ); Fri, 7 Oct 2016 14:01:32 -0400 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHKsWRWlGSWpSXmKPExsUSt3Opse63R9/ DDSb8krWY+vAJm8X8I+dYLQ4vesFoMf/KNVaL+1+PMlp8u9LBZHHz0zdWi8u75rBZfO49wmhx Y90+dosnC88wWSy9fpHJonXvESD3YR+bxa0ZL1gd+D3WzFvD6LFz1l12j2ubxTwW73nJ5LFpV Sebx51re9g8dn5vYPf4vEkugCOKNTMvKb8igTXj3KQzbAXvuCqev2xgbWB8ytHFyMUhJLCUUW Lj7T/sXYycHGwChhLz3rxnBLFFBNQkmk+1sIEUMQs8YJGYcPQ9G0hCWMBVYtbh38wQRW4SD6a fY4Gxt97tZwKxWQRUJLatPAYW5xUIkFgy4TQzxLYnjBKvr54DG8QpYCSx9vsusEGMArISXxpX g9nMAuISt57MBxskISAgsWTPeWYIW1Ti5eN/rBC2vMTaX0+g4vYSr++9A1rGAWTrS/Q1FkOED SVWTTvAAmGbSxy9BzNeR2LB7k9sELa2xLKFr5kh7hSUODnzCcsERvFZSK6YhaRlFpKWWUhaFj CyrGLUKE4tKkst0jUy00sqykzPKMlNzMzRNTQw1ctNLS5OTE/NSUwq1kvOz93ECEwX9QwMjDs Yb0/2O8QoycGkJMr7svJ7uBBfUn5KZUZicUZ8UWlOavEhRhkODiUJ3r0PgXKCRanpqRVpmTnA xAWTluDgURLhvQGS5i0uSMwtzkyHSJ1iVJQS590IkhAASWSU5sG1wZLlJUZZKWFeRgYGBiGeg tSi3MwSVPlXjOIcjErCvB9ApvBk5pXATX8FtJgJaHH+0i8gi0sSEVJSDYxtod9Crsg4vT7wcX fT8mCh7mCxeTV3J4p+1WZ3WM/U9lJJPGq9mpSUqFKfj4b32dOZLed/Nsn82lc3XXbzQf5/gQv 5G765rClavYGnTcQmWPLKj2MnygPPcjo/kFbqjxDxrrzpXBSZrbhBUfVBnvtpR+17Bz7H3Lp0 8w37+3IX9ikTngrqLlBiKc5INNRiLipOBAC9TkIkkQMAAA== X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-3.tower-179.messagelabs.com!1475863285!59561936!1 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 8.84; banners=-,-,- X-VirusChecked: Checked From: Steve Twiss To: Guenter Roeck CC: Wim Van Sebroeck , Lee Jones , "Dmitry Torokhov" , Eduardo Valentin , Zhang Rui , DEVICETREE , LINUX-INPUT , LINUX-PM , Liam Girdwood , Mark Brown , Mark Rutland , Rob Herring , Support Opensource , LINUX-KERNEL , LINUX-WATCHDOG Subject: RE: [PATCH V1 04/10] watchdog: da9061: watchdog driver (RFC) Thread-Topic: [PATCH V1 04/10] watchdog: da9061: watchdog driver (RFC) Thread-Index: AdIf7G3rx3dSmMT2SJSSLbYW3V4nogADY1aAABxkNkAAEifNAAAD2Yww Date: Fri, 7 Oct 2016 18:01:23 +0000 Message-ID: <6ED8E3B22081A4459DAC7699F3695FB7018CCE282C@SW-EX-MBX02.diasemi.com> References: <6ED8E3B22081A4459DAC7699F3695FB7018CCE242C@SW-EX-MBX02.diasemi.com> <20161006184927.GB11915@roeck-us.net> <6ED8E3B22081A4459DAC7699F3695FB7018CCE2732@SW-EX-MBX02.diasemi.com> <20161007170214.GA21349@roeck-us.net> In-Reply-To: <20161007170214.GA21349@roeck-us.net> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.20.26.77] x-kse-attachmentfiltering-interceptor-info: protection disabled x-kse-serverinfo: sw-ex-cashub01.diasemi.com, 9 x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: Clean, bases: 07/10/2016 17:02:00 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1355 Lines: 29 On 07 October 2016 18:02, Guenter Roeck wrote: > > On 06 October 2016 19:49, Guenter Roeck wrote: > > > On Thu, Oct 06, 2016 at 04:28:14PM +0000, Steve Twiss wrote: > > > > I am using the compatible string to pick a different configuration .data block: > > > > { .compatible = "dlg,da9062-watchdog", .data = &da9062_watchdog_info }, > > > > { .compatible = "dlg,da9061-watchdog", .data = &da9061_watchdog_info }, > > > > > > > > But, it is just my opinion to keep the "name" different. > > > > This will not be my decision if accepted into the Linux kernel, but I would like to > > > > at least be consistent for DA9061 and DA9062 so ... is this an issue? > > > > > > FWIW the driver doesn't really need to be updated in the first place. > > > A compatible statement listing both da9061 and da9062 would do it. > > > > I will make the changes you requested: deprecate the existing compatibility > > for da9062-watchdog and make a new compatibility string which combines both > > da9061 and da9062. > > > That is not what I asked for. Ok. Did you mean separate compatible statements with data sections pointing at the same structure? Like this: { .compatible = "dlg,da9062-watchdog", .data = &da9062_watchdog_info }, { .compatible = "dlg,da9061-watchdog", .data = &da9062_watchdog_info }, So this would be the only change needed in the device driver.