On Tue, 26 Nov 2024 at 03:51, Gokul Praveen <g-prav...@ti.com> wrote: > > Move to OMAP specific implementation of certain ops functions as the UART > prints on the serial console fail for baudrates greater than 460800. > > The MDR1 register is responsible for determining the speed mode at which > the UART should operate for OMAP specific devices. The baud divisor is used > to set the UART_DLL register which is used for generation of the baud > clock in the baud rate generator. The implementation logic is similar to > how it is implemented in omap_8250_get_divisor function of 8250_omap UART > linux driver. > > Signed-off-by: Gokul Praveen <g-prav...@ti.com> > --- > drivers/serial/serial_omap.c | 56 +++++++++++++++++++++++++++++++++++- > 1 file changed, 55 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <s...@chromium.org>