]> git.baikalelectronics.ru Git - kernel.git/commit
arm: mvebu: Use dw-apb-uart instead of ns16650 as UART driver
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 4 Dec 2012 17:04:59 +0000 (18:04 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sun, 6 Jan 2013 17:41:14 +0000 (17:41 +0000)
commit38a05c2bd91cf78653f531c4c276cb5aacfa2230
tree397100d27e14ebd59c30d29da93f4e76b1624aa3
parent3488c69bfc958da74cc1a2ebc3b69a93c80b12aa
arm: mvebu: Use dw-apb-uart instead of ns16650 as UART driver

The UART controller used in the Armada 370 and Armada XP SoCs is the
Synopsys DesignWare 8250 (aka Synopsys DesignWare ABP UART). The
improper use of the ns16550 can lead to a kernel oops during boot if
a character is sent to the UART before the initialization of the
driver. The DW APB has an extra interrupt that gets raised when
writing to the LCR when busy. This explains why we need to use
dw-apb-uart driver to handle this.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-xp.dtsi
arch/arm/configs/mvebu_defconfig