Re: [PATCH v2] serial: pl011: honour serial aliases in device tree
From: Linus Walleij <hidden>
Date: 2012-08-21 22:04:23
Also in:
linux-arm-kernel, linux-devicetree
From: Linus Walleij <hidden>
Date: 2012-08-21 22:04:23
Also in:
linux-arm-kernel, linux-devicetree
On Tue, Aug 21, 2012 at 5:48 PM, Matthew Leach [off-list ref] 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 <redacted> Signed-off-by: Matthew Leach <redacted> --- v2: use IS_ENABLED instead of ifdefs
Looks good to me. Acked-by: Linus Walleij <redacted> Yours, Linus Walleij