[PATCH 1/2] ARM: ux500: define serial port aliases

Linus Walleij linus.walleij at linaro.org
Thu Jul 16 12:57:35 PDT 2015


On Thu, Jul 16, 2015 at 4:09 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> On Thursday 16 July 2015 16:03:18 Linus Walleij wrote:

>> The aliases are set also to disabled ports to ensure enumeration
>> for the cases where a board file enabled a previously disabled
>> UART.
>>
>
> Well, both really. The status property tells the kernel to not
> ever touch a device, while the alias is what traditionally gets
> used to assign an OS visible device name to a device in the tree.
> This is more true for MacOS and AIX than Linux, which sometimes
> does its own naming, but we really should not have an alias pointing
> at a disabled device node.

OK ... I will make a patch that remove the aliases for the disabled
nodes.

But this makes me think of whether the DT compiler should allow
it or at least warn about it?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list