serial: zynq: Add support for serial parameters
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Fri, 25 Jun 2021 11:19:11 +0000 (20:19 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 28 Jun 2021 06:56:03 +0000 (08:56 +0200)
commitda1af52f751993cc34abf423497f48c713d633a2
tree24e5af8d802fbcb7fcd52ed1ebe43c5cd974e42b
parent5e9d2833ed7973722c5ece0bc07052f5d539c680
serial: zynq: Add support for serial parameters

This adds serial parameters that include stop bit mode, parity mode,
and character length. Mark parity and space parity modes are not
supported.

At the moment, the only path to call setconfig directly is DM testing,
however, this affects the size of SPL for DM testing, so it doesn't
apply to SPL.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/serial/serial_zynq.c