]> 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)
commit4a2acc1faa3b1b6555874360c358d69165c7d09a
tree15afe47ef4d5421daf2da5ace173762cb391920c
parent006173dac6ac3b24507fe8f0405c5afec4594312
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