commit | 46c1d9fb41d812ab2f173f716fff628a0cfd1ae0 | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@st.com> | Fri Aug 03 15:07:38 2018 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Sep 10 20:20:38 2018 -0400 |
tree | 88e228fb4e37b585a33b21ded149756fa143fc2c | |
parent | f0017d24a4e0649e7751da294f1d90c4efa8ba05 [diff] |
dm: serial: Replace setparity by setconfig Replace setparity by more generic setconfig ops to allow uart parity, bits word length and stop bits number change. Adds SERIAL_GET_PARITY/BITS/STOP macros. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>