[PATCH v2] serial: pl011: honour serial aliases in device tree
Linus Walleij
linus.walleij at linaro.org
Wed Aug 22 08:04:23 EST 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 devicetree-discuss
mailing list