tty: serial: uartps: Add support for uartps controller reset
authorManikanta Guntupalli <manikanta.guntupalli@amd.com>
Thu, 25 Apr 2024 06:23:58 +0000 (11:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 May 2024 16:11:05 +0000 (18:11 +0200)
commite3896be240780ccade65cc6cc8925c6f12e7f6c6
treeec38c9bebb175a336991c8fd7e331b0171a8142d
parentb4337685010990385901405cc317a5a46b147b5a
tty: serial: uartps: Add support for uartps controller reset

Add support for an optional reset for the uartps controller using
the reset driver. If the uartps node contains the "resets" property,
then cdns_uart_startup performs uartps controller non-pulse out of reset
and reset in exit path.

Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@amd.com>
Link: https://lore.kernel.org/r/20240425062358.1347684-4-manikanta.guntupalli@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c