]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_em: Fix UART port type
authorBiju Das <biju.das.jz@bp.renesas.com>
Mon, 27 Feb 2023 11:41:46 +0000 (11:41 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:55 +0000 (13:33 +0100)
commit7a98312c42bf41d750d177f7733bfae978015306
treeb476b85ca93f15dbc478d8884f96fb892b3dc62e
parentd8aef680904f5cfc9fa5fb0b3dc586a1bdcc942c
serial: 8250_em: Fix UART port type

commit ab82b5074380ff2a5049fb04bf57ecabe96610f7 upstream.

As per HW manual for  EMEV2 "R19UH0040EJ0400 Rev.4.00", the UART
IP found on EMMA mobile SoC is Register-compatible with the
general-purpose 16750 UART chip. Fix UART port type as 16750 and
enable 64-bytes fifo support.

Fixes: 7c34afb62d03 ("serial8250-em: Emma Mobile UART driver V2")
Cc: stable@vger.kernel.org
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230227114152.22265-2-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_em.c