[PATCH][RFC] 8250_dw: unregister dw8250_set_termios for rk3188 chip
Ed Blake
ed.blake at sondrel.com
Tue Nov 21 09:33:47 PST 2017
On 21/11/17 17:17, Shuyu Wei wrote:
>
>> What baud rate is being set, and what rate does clk_round_rate() return
>> in dw8250_set_termios()?
> I'm using baud 115200, clk_round_rate() returns 1843200.
So dw8250_set_termios() requests a rate of 1843200 (baud * 16) from
clk_round_rate(), which returns the exact frequency requested. If it
really is capable of being set to that frequency, I can't see why this
wouldn't work. Or clk_round_rate() is incorrectly reporting that it's
capable of that rate, in which case the clock driver needs fixing.
Do you have any way of verifying the actual clock rate going into the UART?
More information about the Linux-rockchip
mailing list