[PATCH v5] tty: serial: owl: Implement console driver

2017-07-09 Thread Andreas Färber
Implement serial console driver to complement earlycon. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v4 -> v5: * Don't clear HUPCL, IGNBRK or BRKINT (Alan) * Don't set CLOCAL (Alan) * Added tty_termios_encode_baud_rate() call (Alan) * Extended

[PATCH v5] tty: serial: owl: Implement console driver

2017-07-09 Thread Andreas Färber
Implement serial console driver to complement earlycon. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v4 -> v5: * Don't clear HUPCL, IGNBRK or BRKINT (Alan) * Don't set CLOCAL (Alan) * Added tty_termios_encode_baud_rate() call (Alan) * Extended get_mctrl with