aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-01-07 19:29:13 -0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-12 11:51:25 +0100
commit7b7e8e8e8fc6a9f1f0372d1ffb271ecfdaf0285a (patch)
tree0bd97ad3f037398146ddc49ff995669384e6eb42 /tools/perf/scripts/python/bin/stackcollapse-record
parentserial: 8250_lpss: avoid potential kernel crash when remove (diff)
downloadlinux-7b7e8e8e8fc6a9f1f0372d1ffb271ecfdaf0285a.tar.gz
linux-7b7e8e8e8fc6a9f1f0372d1ffb271ecfdaf0285a.zip
serial: imx: Allow passing 'rst-gpios' for rs485 mode
According to Documentation/devicetree/bindings/serial/serial.txt the generic 'rts-gpios' property can be used to specify the GPIO for RTS functionality. Currently it is not possible to use the imx UART port in rs485 mode when the 'rts-gpios' property is passed in the device tree. The imx uart driver only checks for the presence of the built-in RTS pin, via 'uart-has-rtscts' property and disable the rs485 flag if this property is absent. So fix this logic by also checking if RTS pin has been passed via GPIO. Tested on a imx6dl based board. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions