misc: pch_phub: Add UART_CLK quirk for Boston platform
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Fri, 12 Aug 2016 11:48:53 +0000 (12:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 13:45:18 +0000 (15:45 +0200)
commitbed3d7babafda16cf2e095366dec3f64143b370a
treef3819dda1a2acdd5367ba1426273aef169b9b1ce
parent549ce8f134bd95a1d4bf1a62215a62f1e9408a96
misc: pch_phub: Add UART_CLK quirk for Boston platform

The EG20T has 4 UART blocks. The clock source for the UART block is
configured to receive a clock from an external pin by default.

An internal 25MHz clock in the EG20T can also be used as a clock source
for the clock.

The MIPS based Boston platform ties the external clock pin down and relies
on the internal clock source for the UART to function.

Boston is based on device tree.

Add a quirk to allow Boston to be detected via device tree and set the
correct clock source for UART.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/pch_phub.c