serial: pch_uart: Add support for reading clock-frequency from DT
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Fri, 12 Aug 2016 11:48:54 +0000 (12:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 13:45:19 +0000 (15:45 +0200)
commit7789e5a2accdbc5d506405c11ef4e5469440e96b
treeab44f96a4c0ac701c222e0f236494a5b81d1f8a0
parentbed3d7babafda16cf2e095366dec3f64143b370a
serial: pch_uart: Add support for reading clock-frequency from DT

The MIPS based Boston platform provides a 25MHz clock to the UART.

Enable the driver for MIPS and add support in the driver to read
the frequency from device tree.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig
drivers/tty/serial/pch_uart.c