]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
pch_uart: Add user_uartclk parameter
authorDarren Hart <dvhart@linux.intel.com>
Fri, 9 Mar 2012 17:51:50 +0000 (09:51 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2012 20:43:20 +0000 (12:43 -0800)
commit2a44feb20bbe3db3b86bc5d976c8647cfda48588
tree15afe47ef4d5421daf2da5ace173762cb391920c
parent077175f08e365629312ce32918e0c8047151763d
pch_uart: Add user_uartclk parameter

For cases where boards with non-default clocks are not yet added to the kernel
or when the clock varies across hardware revisions, it is useful to be
able to specify the UART clock on the kernel command line.

Add the user_uartclk parameter and prefer it, if set, to the default and
board specific UART clock settings. Specify user_uartclock on the command-line
with "pch_uart.user_uartclk=48000000".

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