summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2014-10-27 17:16:49 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2014-10-28 14:35:30 +0100
commit82cf64948ddab0360fab876ee321b6191ed7258a (patch)
treea9c21fa48e0126778c7097ec8a3f5323ee4aa84c /COPYING
parenta5f7907bd0a0c58522aa76d5cb3a7fa736884a1c (diff)
serial/imx.c add RS485 handling
Use the RTS(CTS) output to control a RS485 transmitter. The UART obviously needs RTS/CTS enabled for this to work, e.g. fsl,uart-has-rtscts must be present in the device tree. Enable RS485 by either using ioctrl TIOCSRS485 or enable it in the device tree by setting linux,rs485-enabled-at-boot-time. e.g. &uart2 { status = "okay"; linux,rs485-enabled-at-boot-time; }; Largely taken from Bobby Wu's patch https://community.freescale.com/message/354499#354499
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions