]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
pch_uart: Add Fish River Island II uart clock quirks
authorDarren Hart <dvhart@linux.intel.com>
Fri, 9 Mar 2012 17:51:49 +0000 (09:51 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2012 20:43:20 +0000 (12:43 -0800)
commit077175f08e365629312ce32918e0c8047151763d
treeb38994be221672913d4f7391642975ee1d0bb626
parenta8a3ec9df2158d217494c9dd8db8a099ef4fb921
pch_uart: Add Fish River Island II uart clock quirks

Add support for the Fish River Island II (FRI2) UART clock following the CM-iTC
quirk handling mechanism. Depending on the firmware installed on the device, the
FRI2 uses a 48MHz or a 64MHz UART clock. This is detected with DMI strings.

Add similar UART clock quirk handling to the pch_console_setup() function to
enable kernel messages on boards with non-standard UART clocks.

Per Alan's suggestion, abstract out UART clock selection into
pch_uart_get_uartclk() to avoid code duplication.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tomoya MORINAGA <tomoya.rohm@gmail.com>
CC: Feng Tang <feng.tang@intel.com>
CC: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c