tty: serial: 8250_mtk: Add support for bus clock
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 27 Apr 2015 06:49:57 +0000 (08:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:27:03 +0000 (22:27 +0200)
commitc1c325d703d347d967242efb8fef6a1c91a31aac
tree3e9d7d7b7d2fe2f1ff0b4a163c68a42c34766fec
parent68e5fc4a255a7f453b8d156b89d1e37a0ad61465
tty: serial: 8250_mtk: Add support for bus clock

The mtk 8250 needs two clocks, one for providing the baudrate and
one that needs to be enabled for register accesses. The latter has
not been supported, this patch adds support for it. It is optional
for now since not all SoCs provide a bus clock.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/mtk-uart.txt
drivers/tty/serial/8250/8250_mtk.c