dm: serial: Add setparity
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 17 May 2018 12:50:44 +0000 (14:50 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 26 May 2018 22:19:17 +0000 (18:19 -0400)
commiteae4764f1ac2f3968a5c87a17b2e894a5fe05d0b
treeac0a591564cdb0d1092f4327a56bfa1173c5ded8
parentbe1a6f775e7615f93b7d9ef3bdbcbb335dbfea6e
dm: serial: Add setparity

Implements serial setparity ops to allow uart parity change.
It allows to select ODD, EVEN or NONE parity.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
include/serial.h