[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130823164842.GC7015@e106331-lin.cambridge.arm.com>
Date: Fri, 23 Aug 2013 17:48:42 +0100
From: Mark Rutland <mark.rutland@....com>
To: Lars Poeschel <poeschel@...onage.de>
Cc: Lars Poeschel <larsi@....tu-dresden.de>,
"grant.likely@...aro.org" <grant.likely@...aro.org>,
"linus.walleij@...aro.org" <linus.walleij@...aro.org>,
"rob.herring@...xeda.com" <rob.herring@...xeda.com>,
Pawel Moll <Pawel.Moll@....com>,
"swarren@...dotorg.org" <swarren@...dotorg.org>,
"ian.campbell@...rix.com" <ian.campbell@...rix.com>,
"rob@...dley.net" <rob@...dley.net>,
"arnd@...db.de" <arnd@...db.de>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH 1/2] gpio: mcp23s08: rename the device tree property
On Fri, Aug 23, 2013 at 04:22:10PM +0100, Lars Poeschel wrote:
> On Friday 23 August 2013 at 16:24:21, Mark Rutland wrote:
> > On Thu, Aug 22, 2013 at 10:56:17AM +0100, Lars Poeschel wrote:
> > > From: Lars Poeschel <poeschel@...onage.de>
> > >
> > > The device tree property should be more descriptive.
> > > microchip seems more reasonable than mcp. As there are no
> > > in tree users of this property, so the rename can still be
> > > done without pain.
> >
> > Are there definitely no users? I see there are no dts with a
> > "mcp,mcp23***" compatible string, but are there any boards already out
> > there with this hardware that someone might be using and a currently
> > release kernel supports?
>
> What do you mean by "release"? The device tree support for the gpio-
> mcp23s08 driver and thus the "mcp" string came in with v3.9. This is stable
> but not longterm.
I meant a vX.Y non -rc kernel. v3.9 definitely counts.
>
> > With the bcm/broadcom => brcm change, we marked the old vendor prefix as
> > deprecated (but left the support code).
> >
> > If we can 100% guarantee no-one's using the compatible string, I'm happy
> > to change it. Otherwise we just have to mark the old string as
> > deprecated.
>
> I am the developer of the device tree support for that driver and I am not
> aware of any user, but surely I can not guarantee it.
>
> I never imagined how hard it would be. ;-)
> I presented both variants:
> 1.) simply add mcp to vendor-prefixes.txt
> 2.) change the driver to microchip and add microchip to vendor-prefixes.txt
I think "microchip" is definitely preferable to "mcp", and would prefer
that going forward.
>
> May one of the maintainers decide which one to take or even take none of
> the patches.
> Or do you need a third variant with both strings in the driver and
> microchip in vendor-prefixes?
If there are users, maintaining support for the old, deprecated string
in the driver (alongside the new one) is preferable, and simple to do.
That's how we've handled the other name changes in bindings. We should
probably do that here, documenting the "mcp,mcp23***" strings as
deprecated in the binding document.
Later, we may choose to drop unused deprecated bindings.
Thanks,
Mark.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists