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

Linus Walleij linus.walleij at linaro.org
Thu Jul 16 07:03:18 PDT 2015


On Tue, Jul 14, 2015 at 10:53 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> On Monday 13 July 2015 10:21:51 Linus Walleij wrote:
>>
>> Since the original code just defined all three serial ports
>> for all boards by them including ste-dbx500.dtsi I first made
>> the patch to that file, and then as you said it had to be done
>> on a per-toplevel file, I did it in the individual DTS files instead.
>
> I'm not following here. If you have boards that want port 1 to be
> disabled, shouldn't you remove that alias?

No, that is done by not changing status = "disabled"; to
status = "okay"; on a per-board basis.

This is what the second patch is doing.

The aliases are set also to disabled ports to ensure enumeration
for the cases where a board file enabled a previously disabled
UART.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list