tty: serial: meson: retrieve port FIFO size from DT
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 18 May 2021 07:58:32 +0000 (09:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 May 2021 14:11:20 +0000 (16:11 +0200)
commit27d44e05d7b85d9d4cfe0a3c0663ea49752ece93
tree33ab3b543fac2ca32fcf80aad90534f8f235c719
parentf985b0b6e1db4d5301379c5207606de915f9c4d0
tty: serial: meson: retrieve port FIFO size from DT

Now the DT bindings has a property to get the FIFO size for a particular port,
retrieve it and use to setup the FIFO interrupts threshold.

Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20210518075833.3736038-3-narmstrong@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/meson_uart.c