[PATCH v2] serial: pl011: honour serial aliases in device tree

Linus Walleij linus.walleij at linaro.org
Tue Aug 21 18:04:23 EDT 2012


On Tue, Aug 21, 2012 at 5:48 PM, Matthew Leach <matthew.leach at arm.com> wrote:

> If the order of UART nodes is changed in the device tree, then tty dev
> devices are attached to different serial ports causing the console to
> be directed to a different physical serial port. The "serial" aliases
> in the device tree should prevent this.
>
> This patch ensures that the UART driver creates tty devices that
> honour these aliases if a device tree is present.
>
> Acked-by: Rob Herring <rob.herring at calxeda.com>
> Signed-off-by: Matthew Leach <matthew.leach at arm.com>
> ---
> v2: use IS_ENABLED instead of ifdefs

Looks good to me.
Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list