]> git.baikalelectronics.ru Git - 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)
commitb373d073a325e3a8c4d7fae26e562ab868350104
tree15afe47ef4d5421daf2da5ace173762cb391920c
parent022a5ebe6c8edb5e5e6a95ee93e816c21624640d
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