On Tue, 26 Nov 2024 at 03:51, Gokul Praveen <[email protected]> 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 <[email protected]>
> ---
>  drivers/serial/serial_omap.c | 56 +++++++++++++++++++++++++++++++++++-
>  1 file changed, 55 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to