Re: [PATCH] earlycon: Allow specifying a uartclk in options

2018-03-01 Thread Andy Shevchenko
On Thu, Mar 1, 2018 at 8:20 PM, Daniel Kurtz wrote: > Currently when an earlycon is registered, the uartclk is assumed to be > BASE_BAUD * 16 = 1843200. If a baud rate is specified in the earlycon > options, then 8250_early's init_port will program the UART clock divider > registers based on this

Re: [PATCH] earlycon: Allow specifying a uartclk in options

2018-03-01 Thread Greg Kroah-Hartman
On Thu, Mar 01, 2018 at 10:30:45AM -0800, Randy Dunlap wrote: > On 03/01/2018 10:20 AM, Daniel Kurtz wrote: > > Currently when an earlycon is registered, the uartclk is assumed to be > > BASE_BAUD * 16 = 1843200. If a baud rate is specified in the earlycon > > options, then 8250_early's init_port

Re: [PATCH] earlycon: Allow specifying a uartclk in options

2018-03-01 Thread Randy Dunlap
On 03/01/2018 10:20 AM, Daniel Kurtz wrote: > Currently when an earlycon is registered, the uartclk is assumed to be > BASE_BAUD * 16 = 1843200. If a baud rate is specified in the earlycon > options, then 8250_early's init_port will program the UART clock divider > registers based on this assumed

[PATCH] earlycon: Allow specifying a uartclk in options

2018-03-01 Thread Daniel Kurtz
Currently when an earlycon is registered, the uartclk is assumed to be BASE_BAUD * 16 = 1843200. If a baud rate is specified in the earlycon options, then 8250_early's init_port will program the UART clock divider registers based on this assumed uartclk. However, not all uarts have a UART clock o