aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2021-08-26 15:21:54 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-14 10:05:32 +0200
commitea017f5853e9a6a11cfa9bdc61ba823a1ed54ee8 (patch)
treebed2ebea57836b31eddd4a655b54dea106e482cf /tools/perf/scripts/python
parentsh: j2: Update uartlite binding with data and parity properties (diff)
downloadlinux-ea017f5853e9a6a11cfa9bdc61ba823a1ed54ee8.tar.gz
linux-ea017f5853e9a6a11cfa9bdc61ba823a1ed54ee8.zip
tty: serial: uartlite: Prevent changing fixed parameters
This device does not support changing baud, parity, data bits, stop bits, or detecting breaks. Disable "changing" these settings to prevent their termios from diverging from the actual state of the uart. In order to determine the correct parameters to enforce, we read the various new devicetree parameters to discover how the uart was configured when it was synthesized. The defaults match ulite_console_setup. xlnx,use-parity, xlnx,odd-parity, and xlnx,data-bits are optional since there were in-tree users (and presumably out-of-tree users) who did not set them. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Link: https://lore.kernel.org/r/20210826192154.3202269-5-sean.anderson@seco.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions