Re: [PATCH] devicetree - document using aliases to set spi bus number.
From: Rob Herring
Date: Wed May 25 2016 - 21:44:52 EST
On Wed, May 25, 2016 at 8:10 PM, Christer Weinigel <christer@xxxxxxxxxxx> wrote:
> On 05/25/2016 08:44 PM, Mark Brown wrote:
>> On Wed, May 25, 2016 at 11:06:46AM -0700, Frank Rowand wrote:
>>> On 5/25/2016 10:49 AM, Rob Herring wrote:
>>
>>>> Things get undocumented all the time when we deprecate them.
>>
>>> If it is deprecated then it should be documented as deprecated
>>> so people do not attempt to use it.
>>
>> Or we could just remove the code, we don't appear to have any in
>> tree users anyway (the few in tree aliases for SPI buses I can see
>> are string based).
>
> Lovely. "Here's something that's simple and useful for users. Let's
> break it". What part of "we do not break userspace" do you not
> understand? Because that would be a user visible change.
The other saying is "if it is not upstream, it doesn't exist." That
said, I don't think we should remove it. Maybe some time later, but
first we need a suitable alternative.
Rob